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,