blob: a033c6738a371001d8e845fab475faf375d68a60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
"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();
});
|