gecko-dev/dom/tests
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
..
browser Bug 1866402 - Replace some nsIQuotaManagerService::ClearStoragesForPrincipal calls with nsIQuotaManagerService::ClearStoragesForClient; r=dom-storage-reviewers,jari 2024-10-09 05:34:36 +00:00
mochitest Bug 1905851 - Enable dom.block_multiple_popups by default for tests; r=smaug 2024-10-11 11:45:08 +00:00
reftest
unit
moz.build