mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
fab8d0936d
Some tests only set `dom.disable_open_during_load` to `true` and expect the popup blocker to be enabled, e.g. https://searchfox.org/mozilla-central/rev/b368ed8b48c0ea8ed2f1948e4776a6fbb5976dff/browser/base/content/test/popups/browser_popup_blocker.js#21, but it might not have complete popup blocker behavior as we also check `dom.block_multiple_popups` in https://searchfox.org/mozilla-central/rev/b368ed8b48c0ea8ed2f1948e4776a6fbb5976dff/docshell/base/BrowsingContext.cpp#2246. I think it would be nice if we could simplify this by having `dom.block_multiple_popups` enabled on test profile by default as well, so we could use only `dom.disable_open_during_load` to control whether popup blocker is enabled and also test the popup blocker properly. Differential Revision: https://phabricator.services.mozilla.com/D216007 |
||
---|---|---|
.. | ||
browser | ||
mochitest | ||
reftest | ||
unit | ||
moz.build |