blob: 6f66124a1a02d12e494a49b222cee78564a3f579 (
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_window() {
// Non-popup is opened in a new window.
await SpecialPowers.pushPrefEnv({
set: [["browser.link.open_newwindow", 2]],
});
await testPopupPatterns("window");
await SpecialPowers.popPrefEnv();
});
|