mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00

This makes sure to clear and set the value more consistently when replacing documents within a WindowGlobal, and makes sure to include the relevant flag in the initializer. In addition, the place where the flag is set is moved ahead to happen before the call to `Embed` so that the information is ready before the window is created. Differential Revision: https://phabricator.services.mozilla.com/D119815