Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'mac' && os_version == '15.30' && arch == 'aarch64' OR os == 'win' && os_version == '11.26100' && processor == 'x86_64' && opt
- Manifest: toolkit/components/windowwatcher/test/browser.toml
"use strict";
/**
* Opens windows from content using window.open with several features patterns.
*/
add_task(async function test_popup_conditions_current() {
// Non-popup is opened in a current tab.
await SpecialPowers.pushPrefEnv({
set: [["browser.link.open_newwindow", 1]],
});
await testPopupPatterns("current");
await SpecialPowers.popPrefEnv();
});