browser_search_subdialogs_within_preferences_6.js (391B)
1 /* 2 * This file contains tests for the Preferences search bar. 3 */ 4 5 /** 6 * Test for searching for the "Allowed Sites - Pop-ups" subdialog. 7 */ 8 add_task(async function () { 9 await openPreferencesViaOpenPreferencesAPI("paneGeneral", { 10 leaveOpen: true, 11 }); 12 await evaluateSearchResults("open pop-up windows", "permissionsGroup"); 13 BrowserTestUtils.removeTab(gBrowser.selectedTab); 14 });