mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 15:43:10 -10:00
If we happen to pass the current scope (`this`), the browser-loader codebase fails when passing it as sandboxPrototype. It only works when passing an xray wrapper. The document scope happen to not be an xray when using the addon, whereas `window` always is no matter if we are using the addon or not. MozReview-Commit-ID: GjYHkaCGBDd