diff --git a/README.md b/README.md index 4674498edf290..ebc7ca88a67bc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🎭 Playwright -[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) [![Chromium version](https://img.shields.io/badge/chromium-86.0.4217.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-79.0a1-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-14.0-blue.svg?logo=safari)](https://webkit.org/) +[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) [![Chromium version](https://img.shields.io/badge/chromium-86.0.4217.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-80.0b8-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-14.0-blue.svg?logo=safari)](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 86.0.4217.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | WebKit 14.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| Firefox 79.0a1 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Firefox 80.0b8 | :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.json index 62759585709b2..648c1dbb03551 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.ts index a8dae35607204..27bf5fe8afac0 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.ts index 94308a02897a0..61d940a2829cd 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.ts index 5a19f33e91094..3ab31c5d90a59 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.ts index cfe6b837b33d6..8b860af45d2ca 100644 --- a/test/headful.spec.ts +++ b/test/headful.spec.ts @@ -105,7 +105,7 @@ it('should(not) block third party cookies', async({browserType, defaultBrowserOp return 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) {