From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- browser/base/content/test/about/browser.toml | 1 - browser/base/content/test/about/browser_aboutNetError_csp_iframe.js | 4 ++++ browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'browser/base/content/test/about') diff --git a/browser/base/content/test/about/browser.toml b/browser/base/content/test/about/browser.toml index 98961200a0..2c6dafb4dd 100644 --- a/browser/base/content/test/about/browser.toml +++ b/browser/base/content/test/about/browser.toml @@ -66,7 +66,6 @@ support-files = [ ["browser_aboutNewTab_bookmarksToolbar.js"] ["browser_aboutNewTab_bookmarksToolbarEmpty.js"] -fail-if = ["a11y_checks"] # Bug 1854233 text-link may not be focusable skip-if = ["tsan"] # Bug 1676326, highly frequent on TSan ["browser_aboutNewTab_bookmarksToolbarNewWindow.js"] diff --git a/browser/base/content/test/about/browser_aboutNetError_csp_iframe.js b/browser/base/content/test/about/browser_aboutNetError_csp_iframe.js index c8028a4cf4..d245d0cd3c 100644 --- a/browser/base/content/test/about/browser_aboutNetError_csp_iframe.js +++ b/browser/base/content/test/about/browser_aboutNetError_csp_iframe.js @@ -8,6 +8,10 @@ const BLOCKED_PAGE = "http://example.org:8000/browser/browser/base/content/test/about/csp_iframe.sjs"; add_task(async function test_csp() { + await SpecialPowers.pushPrefEnv({ + set: [["security.xfocsp.hideOpenInNewWindow", false]], + }); + let { iframePageTab, blockedPageTab } = await setupPage( "iframe_page_csp.html", BLOCKED_PAGE diff --git a/browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js b/browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js index f5fd240643..2373bd8b50 100644 --- a/browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js +++ b/browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js @@ -8,6 +8,10 @@ const BLOCKED_PAGE = "http://example.org:8000/browser/browser/base/content/test/about/xfo_iframe.sjs"; add_task(async function test_xfo_iframe() { + await SpecialPowers.pushPrefEnv({ + set: [["security.xfocsp.hideOpenInNewWindow", false]], + }); + let { iframePageTab, blockedPageTab } = await setupPage( "iframe_page_xfo.html", BLOCKED_PAGE -- cgit v1.2.3