gecko-dev/testing/profiles/unittest-required
Edgar Chen fab8d0936d Bug 1905851 - Enable dom.block_multiple_popups by default for tests; r=smaug
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
2024-10-11 11:45:08 +00:00
..
extensions
user.js Bug 1905851 - Enable dom.block_multiple_popups by default for tests; r=smaug 2024-10-11 11:45:08 +00:00