Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

Revert "feat(firefox): roll Firefox to r1011 (#452)"

Pavel Feldmana738af46036c
diff --git a/package.json b/package.json
index 6cc55ca663..91dce8dcc8 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
"main": "index.js",
"playwright": {
"chromium_revision": "724623",
- "firefox_revision": "1011",
+ "firefox_revision": "1009",
"webkit_revision": "1080"
},
"scripts": {
diff --git a/src/server/ffPlaywright.ts b/src/server/ffPlaywright.ts
index 85d142ad3e..5ac8614d71 100644
--- a/src/server/ffPlaywright.ts
+++ b/src/server/ffPlaywright.ts
@@ -439,8 +439,6 @@ const DEFAULT_PREFERENCES = {
// Ensure blocklist updates do not hit the network
'services.settings.server': `http://${DUMMY_UMA_SERVER}/dummy/blocklist/`,
- 'browser.tabs.documentchannel': false,
-
// Do not automatically fill sign-in forms with known usernames and
// passwords
'signon.autofillForms': false,
diff --git a/test/page.spec.js b/test/page.spec.js
index 3a2fcb9be8..ecad154c40 100644
--- a/test/page.spec.js
+++ b/test/page.spec.js
@@ -243,7 +243,10 @@ module.exports.describe = function({testRunner, expect, headless, playwright, FF
page.evaluate(async url => fetch(url).catch(e => {}), server.EMPTY_PAGE)
]);
expect(message.text()).toContain('Access-Control-Allow-Origin');
- expect(message.type()).toEqual('error');
+ if (CHROME || WEBKIT)
+ expect(message.type()).toEqual('error');
+ else
+ expect(message.type()).toEqual('warn');
});
it('should have location for console API calls', async({page, server}) => {
await page.goto(server.EMPTY_PAGE);