feat(webkit): roll to r1562 (#9476)
Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
1a69b26db1
commit
c054d19a5d
|
|
@ -23,7 +23,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "webkit",
|
"name": "webkit",
|
||||||
"revision": "1550",
|
"revision": "1562",
|
||||||
"installByDefault": true,
|
"installByDefault": true,
|
||||||
"revisionOverrides": {
|
"revisionOverrides": {
|
||||||
"mac10.14": "1446"
|
"mac10.14": "1446"
|
||||||
|
|
|
||||||
|
|
@ -251,7 +251,6 @@ it('should fetch original request and fulfill', async ({ page, server, isElectro
|
||||||
|
|
||||||
it('should fulfill with multiple set-cookie', async ({ page, server, browserName, isElectron }) => {
|
it('should fulfill with multiple set-cookie', async ({ page, server, browserName, isElectron }) => {
|
||||||
it.fixme(isElectron, 'Electron 14+ is required');
|
it.fixme(isElectron, 'Electron 14+ is required');
|
||||||
it.fail(browserName === 'webkit', 'Response contained invalid HTTP headers');
|
|
||||||
const cookies = ['a=b', 'c=d'];
|
const cookies = ['a=b', 'c=d'];
|
||||||
await page.route('**/empty.html', async route => {
|
await page.route('**/empty.html', async route => {
|
||||||
route.fulfill({
|
route.fulfill({
|
||||||
|
|
@ -271,7 +270,6 @@ it('should fulfill with multiple set-cookie', async ({ page, server, browserName
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should fulfill with fetch response that has multiple set-cookie', async ({ playwright, page, server, browserName }) => {
|
it('should fulfill with fetch response that has multiple set-cookie', async ({ playwright, page, server, browserName }) => {
|
||||||
it.fail(browserName === 'webkit', 'Response contained invalid HTTP headers');
|
|
||||||
server.setRoute('/empty.html', (req, res) => {
|
server.setRoute('/empty.html', (req, res) => {
|
||||||
res.setHeader('Set-Cookie', ['a=b', 'c=d']);
|
res.setHeader('Set-Cookie', ['a=b', 'c=d']);
|
||||||
res.setHeader('Content-Type', 'text/html');
|
res.setHeader('Content-Type', 'text/html');
|
||||||
|
|
@ -289,6 +287,7 @@ it('should fulfill with fetch response that has multiple set-cookie', async ({ p
|
||||||
|
|
||||||
it('headerValue should return set-cookie from intercepted response', async ({ page, server, browserName }) => {
|
it('headerValue should return set-cookie from intercepted response', async ({ page, server, browserName }) => {
|
||||||
it.fail(browserName === 'chromium', 'Set-Cookie is missing in response after interception');
|
it.fail(browserName === 'chromium', 'Set-Cookie is missing in response after interception');
|
||||||
|
it.fixme(browserName === 'webkit', 'Set-Cookie with \n in intercepted response does not pass validation in WebCore, see also https://github.com/microsoft/playwright/pull/9273');
|
||||||
await page.route('**/empty.html', async route => {
|
await page.route('**/empty.html', async route => {
|
||||||
route.fulfill({
|
route.fulfill({
|
||||||
status: 200,
|
status: 200,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue