mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-20 18:08:19 +00:00
cb1ee1e34d
DocShells are associated with outer DOM Windows, rather than Documents, so having the getter on the document is a bit odd to begin with. But it's also considerably less convenient, since most of the times when we want a docShell from JS, we're dealing most directly with a window, and have to detour through the document to get it. MozReview-Commit-ID: LUj1H9nG3QL --HG-- extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6