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
feat(firefox): roll firefox to r1160 (#3468)
Andrey Lushnikovf98343253670
diff --git a/README.md b/README.mdindex 4674498edf..ebc7ca88a6 100644--- a/README.md+++ b/README.md@@ -1,6 +1,6 @@# 🎭 Playwright-[](https://www.npmjs.com/package/playwright) [](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> [](https://webkit.org/)+[](https://www.npmjs.com/package/playwright) [](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> [](https://webkit.org/)## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/#?path=docs/api.md)@@ -10,7 +10,7 @@ Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/| :--- | :---: | :---: | :---: || Chromium <!-- GEN:chromium-version -->86.0.4217.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: || WebKit 14.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: |-| Firefox <!-- GEN:firefox-version -->79.0a1<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |+| Firefox <!-- GEN:firefox-version -->80.0b8<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |Headless execution is supported for all the browsers on all platforms. Check out [system requirements](https://playwright.dev/#?path=docs/intro.md&q=system-requirements) for details.diff --git a/browsers.json b/browsers.jsonindex 6275958570..648c1dbb03 100644--- a/browsers.json+++ b/browsers.json@@ -8,7 +8,7 @@},{"name": "firefox",- "revision": "1157",+ "revision": "1160","download": true},{diff --git a/test/browsercontext-add-cookies.spec.ts b/test/browsercontext-add-cookies.spec.tsindex a8dae35607..27bf5fe8af 100644--- a/test/browsercontext-add-cookies.spec.ts+++ b/test/browsercontext-add-cookies.spec.ts@@ -325,7 +325,7 @@ it('should(not) block third party cookies', async({context, page, server}) => {}, server.CROSS_PROCESS_PREFIX + '/grid.html');await page.frames()[1].evaluate(`document.cookie = 'username=John Doe'`);await page.waitForTimeout(2000);- const allowsThirdParty = CHROMIUM;+ const allowsThirdParty = CHROMIUM || FFOX;const cookies = await context.cookies(server.CROSS_PROCESS_PREFIX + '/grid.html');if (allowsThirdParty) {expect(cookies).toEqual([diff --git a/test/browsercontext-cookies.spec.ts b/test/browsercontext-cookies.spec.tsindex 94308a0289..61d940a282 100644--- a/test/browsercontext-cookies.spec.ts+++ b/test/browsercontext-cookies.spec.ts@@ -35,7 +35,7 @@ it('should get a cookie', async({context, page, server}) => {expires: -1,httpOnly: false,secure: false,- sameSite: FFOX ? 'Lax' : 'None',+ sameSite: 'None',}]);});@@ -57,7 +57,7 @@ it('should get a non-session cookie', async({context, page, server}) => {expires: date / 1000,httpOnly: false,secure: false,- sameSite: FFOX ? 'Lax' : 'None',+ sameSite: 'None',}]);});@@ -113,7 +113,7 @@ it('should get multiple cookies', async({context, page, server}) => {expires: -1,httpOnly: false,secure: false,- sameSite: FFOX ? 'Lax' : 'None',+ sameSite: 'None',},{name: 'username',@@ -123,7 +123,7 @@ it('should get multiple cookies', async({context, page, server}) => {expires: -1,httpOnly: false,secure: false,- sameSite: FFOX ? 'Lax' : 'None',+ sameSite: 'None',},]);});diff --git a/test/defaultbrowsercontext.spec.ts b/test/defaultbrowsercontext.spec.tsindex 5a19f33e91..3ab31c5d90 100644--- a/test/defaultbrowsercontext.spec.ts+++ b/test/defaultbrowsercontext.spec.ts@@ -58,7 +58,7 @@ it('context.cookies() should work', async ({server, launchPersistent}) => {expires: -1,httpOnly: false,secure: false,- sameSite: FFOX ? 'Lax' : 'None',+ sameSite: 'None',}]);});@@ -119,7 +119,7 @@ it('should(not) block third party cookies', async ({server, launchPersistent}) =return document.cookie;});await page.waitForTimeout(2000);- const allowsThirdParty = CHROMIUM;+ const allowsThirdParty = CHROMIUM || FFOX;expect(documentCookie).toBe(allowsThirdParty ? 'username=John Doe' : '');const cookies = await context.cookies(server.CROSS_PROCESS_PREFIX + '/grid.html');if (allowsThirdParty) {diff --git a/test/headful.spec.ts b/test/headful.spec.tsindex cfe6b837b3..8b860af45d 100644--- a/test/headful.spec.ts+++ b/test/headful.spec.ts@@ -105,7 +105,7 @@ it('should(not) block third party cookies', async({browserType, defaultBrowserOpreturn document.cookie;});await page.waitForTimeout(2000);- const allowsThirdParty = CHROMIUM;+ const allowsThirdParty = CHROMIUM || FFOX;expect(documentCookie).toBe(allowsThirdParty ? 'username=John Doe' : '');const cookies = await page.context().cookies(server.CROSS_PROCESS_PREFIX + '/grid.html');if (allowsThirdParty) {