Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
browser(firefox): disable cross-process navigations for about:blank (#15283)
Dmitry Gozman268bfec4b9f1
diff --git a/browser_patches/firefox-beta/BUILD_NUMBER b/browser_patches/firefox-beta/BUILD_NUMBERindex e8eaba0037..3acd579288 100644--- a/browser_patches/firefox-beta/BUILD_NUMBER+++ b/browser_patches/firefox-beta/BUILD_NUMBER@@ -1,2 +1,2 @@-1332-Changed: [email protected] Thu Jun 30 02:06:47 MSK 2022+1333+Changed: [email protected] Thu Jun 30 14:19:05 PDT 2022diff --git a/browser_patches/firefox-beta/preferences/playwright.cfg b/browser_patches/firefox-beta/preferences/playwright.cfgindex c5bc70e0ff..e55d07a4f4 100644--- a/browser_patches/firefox-beta/preferences/playwright.cfg+++ b/browser_patches/firefox-beta/preferences/playwright.cfg@@ -16,9 +16,12 @@ pref("browser.tabs.remote.separatePrivilegedMozillaWebContentProcess", false);pref("pdfjs.disabled", true);+// Disable all kinds of cross-process navigations until we are ready.pref("fission.autostart", false);pref("fission.webContentIsolationStrategy", 0);pref("fission.bfcacheInParent", false);+// Avoid about:blank loading cross-process until we are ready.+pref("browser.tabs.remote.systemTriggeredAboutBlankAnywhere", true);// =================================================================// =================================================================diff --git a/browser_patches/firefox/BUILD_NUMBER b/browser_patches/firefox/BUILD_NUMBERindex 76efacde24..fd88fdec5e 100644--- a/browser_patches/firefox/BUILD_NUMBER+++ b/browser_patches/firefox/BUILD_NUMBER@@ -1,2 +1,2 @@-1331-Changed: [email protected] Thu Jun 30 02:09:30 MSK 2022+1332+Changed: [email protected] Thu Jun 30 14:19:05 PDT 2022diff --git a/browser_patches/firefox/preferences/playwright.cfg b/browser_patches/firefox/preferences/playwright.cfgindex c5bc70e0ff..e55d07a4f4 100644--- a/browser_patches/firefox/preferences/playwright.cfg+++ b/browser_patches/firefox/preferences/playwright.cfg@@ -16,9 +16,12 @@ pref("browser.tabs.remote.separatePrivilegedMozillaWebContentProcess", false);pref("pdfjs.disabled", true);+// Disable all kinds of cross-process navigations until we are ready.pref("fission.autostart", false);pref("fission.webContentIsolationStrategy", 0);pref("fission.bfcacheInParent", false);+// Avoid about:blank loading cross-process until we are ready.+pref("browser.tabs.remote.systemTriggeredAboutBlankAnywhere", true);// =================================================================// =================================================================