diff --git a/devtools/client/inspector/markup/test/browser_markup_remove_xul_attributes.js b/devtools/client/inspector/markup/test/browser_markup_remove_xul_attributes.js index ee5b1185f9eb..7eca80eca22a 100644 --- a/devtools/client/inspector/markup/test/browser_markup_remove_xul_attributes.js +++ b/devtools/client/inspector/markup/test/browser_markup_remove_xul_attributes.js @@ -9,6 +9,10 @@ const TEST_URL = URL_ROOT + "doc_markup_xul.xhtml"; add_task(async function() { + await SpecialPowers.pushPermissions([ + { type: "allowXULXBL", allow: true, context: URL_ROOT }, + ]); + const { inspector } = await openInspectorForURL(TEST_URL); const panelFront = await getNodeFront("#test", inspector); diff --git a/devtools/client/inspector/rules/test/browser_rules_inactive_css_xul.js b/devtools/client/inspector/rules/test/browser_rules_inactive_css_xul.js index 17ec291419e9..13f813bfe214 100644 --- a/devtools/client/inspector/rules/test/browser_rules_inactive_css_xul.js +++ b/devtools/client/inspector/rules/test/browser_rules_inactive_css_xul.js @@ -3,7 +3,7 @@ "use strict"; -// Test inactive css properties in XUl documents. +// Test inactive css properties in XUL documents. const TEST_URI = URL_ROOT + "doc_inactive_css_xul.xhtml"; @@ -29,6 +29,10 @@ const TEST_DATA = [ ]; add_task(async () => { + await SpecialPowers.pushPermissions([ + { type: "allowXULXBL", allow: true, context: URL_ROOT }, + ]); + info("Open a url to a XUL document"); await addTab(TEST_URI); diff --git a/devtools/client/inspector/test/browser_inspector_highlighter-eyedropper-xul.js b/devtools/client/inspector/test/browser_inspector_highlighter-eyedropper-xul.js index eaf2ab754a65..b5b7661eab94 100644 --- a/devtools/client/inspector/test/browser_inspector_highlighter-eyedropper-xul.js +++ b/devtools/client/inspector/test/browser_inspector_highlighter-eyedropper-xul.js @@ -11,6 +11,10 @@ const TEST_URL_2 = "data:text/html;charset=utf-8,

HTML test page

"; add_task(async function() { + await SpecialPowers.pushPermissions([ + { type: "allowXULXBL", allow: true, context: URL_ROOT }, + ]); + const { inspector } = await openInspectorForURL(TEST_URL); info("Check the inspector toolbar"); diff --git a/devtools/server/tests/browser/browser_inspector-anonymous.js b/devtools/server/tests/browser/browser_inspector-anonymous.js index 9022fc64d942..372a279a0a42 100644 --- a/devtools/server/tests/browser/browser_inspector-anonymous.js +++ b/devtools/server/tests/browser/browser_inspector-anonymous.js @@ -6,6 +6,10 @@ // Test for Bug 777674 add_task(async function() { + await SpecialPowers.pushPermissions([ + { type: "allowXULXBL", allow: true, context: MAIN_DOMAIN }, + ]); + const { walker } = await initInspectorFront( MAIN_DOMAIN + "inspector-traversal-data.html" ); diff --git a/toolkit/components/tooltiptext/tests/browser_bug331772_xul_tooltiptext_in_html.js b/toolkit/components/tooltiptext/tests/browser_bug331772_xul_tooltiptext_in_html.js index 67ff7148fd76..6bb1c958b848 100644 --- a/toolkit/components/tooltiptext/tests/browser_bug331772_xul_tooltiptext_in_html.js +++ b/toolkit/components/tooltiptext/tests/browser_bug331772_xul_tooltiptext_in_html.js @@ -2,6 +2,10 @@ * Tests that the tooltiptext attribute is used for XUL elements in an HTML doc. */ add_task(async function() { + await SpecialPowers.pushPermissions([ + { type: "allowXULXBL", allow: true, context: "http://mochi.test:8888" }, + ]); + await BrowserTestUtils.withNewTab( { gBrowser,