From bcf59ed721eac128b2dd93c858079670c86eef08 Mon Sep 17 00:00:00 2001 From: Playwright Service <89237858+playwrightmachine@users.noreply.github.com> Date: Wed, 6 Sep 2023 22:41:46 -0700 Subject: [PATCH] feat(webkit): roll to r1905 (#26909) --- packages/playwright-core/browsers.json | 2 +- packages/playwright-core/src/server/registry/nativeDeps.ts | 7 ------- tests/library/capabilities.spec.ts | 2 -- tests/library/har.spec.ts | 2 -- 4 files changed, 1 insertion(+), 12 deletions(-) diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index d938eaf88b..29abb03493 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -39,7 +39,7 @@ }, { "name": "webkit", - "revision": "1904", + "revision": "1905", "installByDefault": true, "revisionOverrides": { "mac10.14": "1446", diff --git a/packages/playwright-core/src/server/registry/nativeDeps.ts b/packages/playwright-core/src/server/registry/nativeDeps.ts index 7b246ec65e..741f397579 100644 --- a/packages/playwright-core/src/server/registry/nativeDeps.ts +++ b/packages/playwright-core/src/server/registry/nativeDeps.ts @@ -283,7 +283,6 @@ export const deps: any = { 'libpango-1.0-0', 'libpng16-16', 'libsecret-1-0', - 'libsoup2.4-1', 'libvpx6', 'libwayland-client0', 'libwayland-egl1', @@ -364,7 +363,6 @@ export const deps: any = { 'libpng16.so.16': 'libpng16-16', 'libsecret-1.so.0': 'libsecret-1-0', 'libsmime3.so': 'libnss3', - 'libsoup-2.4.so.1': 'libsoup2.4-1', 'libvpx.so.6': 'libvpx6', 'libwayland-client.so.0': 'libwayland-client0', 'libwayland-egl.so.1': 'libwayland-egl1', @@ -507,7 +505,6 @@ export const deps: any = { 'libpng16-16', 'libproxy1v5', 'libsecret-1-0', - 'libsoup2.4-1', 'libwayland-client0', 'libwayland-egl1', 'libwayland-server0', @@ -580,7 +577,6 @@ export const deps: any = { 'libproxy.so.1': 'libproxy1v5', 'libsecret-1.so.0': 'libsecret-1-0', 'libsmime3.so': 'libnss3', - 'libsoup-2.4.so.1': 'libsoup2.4-1', 'libwayland-client.so.0': 'libwayland-client0', 'libwayland-egl.so.1': 'libwayland-egl1', 'libwayland-server.so.0': 'libwayland-server0', @@ -722,7 +718,6 @@ export const deps: any = { 'libpng16-16', 'libproxy1v5', 'libsecret-1-0', - 'libsoup2.4-1', 'libwayland-client0', 'libwayland-egl1', 'libwayland-server0', @@ -797,7 +792,6 @@ export const deps: any = { 'libproxy.so.1': 'libproxy1v5', 'libsecret-1.so.0': 'libsecret-1-0', 'libsmime3.so': 'libnss3', - 'libsoup-2.4.so.1': 'libsoup2.4-1', 'libwayland-client.so.0': 'libwayland-client0', 'libwayland-egl.so.1': 'libwayland-egl1', 'libwayland-server.so.0': 'libwayland-server0', @@ -931,7 +925,6 @@ export const deps: any = { 'libpng16-16', 'libproxy1v5', 'libsecret-1-0', - 'libsoup2.4-1', 'libwayland-client0', 'libwayland-egl1', 'libwayland-server0', diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.ts index 6b8bd70d12..fa7d6a9ede 100644 --- a/tests/library/capabilities.spec.ts +++ b/tests/library/capabilities.spec.ts @@ -17,7 +17,6 @@ import os from 'os'; import url from 'url'; import { contextTest as it, expect } from '../config/browserTest'; -const { hostPlatform } = require('playwright-core/lib/utils'); it('SharedArrayBuffer should work @smoke', async function({ contextFactory, httpsServer, browserName }) { it.fail(browserName === 'webkit', 'no shared array buffer on webkit'); @@ -274,7 +273,6 @@ it('requestFullscreen', async ({ page, server, browserName, headless, isLinux }) it('should send no Content-Length header for GET requests with a Content-Type', async ({ page, server, browserName }) => { it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22569' }); - it.skip(browserName === 'webkit' && (hostPlatform.startsWith('ubuntu20.04') || hostPlatform.startsWith('debian11')), 'libsoup2.4 has a bug for this'); await page.goto(server.EMPTY_PAGE); const [request] = await Promise.all([ server.waitForRequest('/empty.html'), diff --git a/tests/library/har.spec.ts b/tests/library/har.spec.ts index fbbc7d38c1..58e8bf5f92 100644 --- a/tests/library/har.spec.ts +++ b/tests/library/har.spec.ts @@ -23,7 +23,6 @@ import type { BrowserContext, BrowserContextOptions } from 'playwright-core'; import type { AddressInfo } from 'net'; import type { Log } from '../../packages/trace/src/har'; import { parseHar } from '../config/utils'; -const { hostPlatform } = require('playwright-core/lib/utils'); async function pageWithHar(contextFactory: (options?: BrowserContextOptions) => Promise, testInfo: any, options: { outputPath?: string, content?: 'embed' | 'attach' | 'omit', omitContent?: boolean } = {}) { const harPath = testInfo.outputPath(options.outputPath || 'test.har'); @@ -673,7 +672,6 @@ it('should return security details directly from response', async ({ contextFact }); it('should contain http2 for http2 requests', async ({ contextFactory, browserName, platform }, testInfo) => { - it.skip(browserName === 'webkit' && platform === 'linux' && (hostPlatform.startsWith('ubuntu20.04') || hostPlatform.startsWith('debian11')), 'libsoup2.4 does not support http2'); it.fixme(browserName === 'webkit' && platform === 'win32'); const server = http2.createSecureServer({