Skip to content

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

feat(webkit): roll to r2232 (#38384)

microsoft-playwright-automation[bot]b8f001e960b8
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index 3988e7396d..5467c35200 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -45,7 +45,7 @@
},
{
"name": "webkit",
- "revision": "2231",
+ "revision": "2232",
"installByDefault": true,
"revisionOverrides": {
"debian11-x64": "2105",
diff --git a/packages/playwright-core/src/server/webkit/protocol.d.ts b/packages/playwright-core/src/server/webkit/protocol.d.ts
index 5693649d1e..b63bbb4992 100644
--- a/packages/playwright-core/src/server/webkit/protocol.d.ts
+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts
@@ -2141,6 +2141,10 @@ export module Protocol {
* The sample rate of the primary audio track in hertz.
*/
sampleRate: number;
+ /**
+ * Whether the track contains protected contents
+ */
+ isProtected?: boolean;
}
/**
* A structure holding media element's audio-specific statistics and configurations.
@@ -2173,6 +2177,10 @@ export module Protocol {
width: number;
spatialVideoMetadata?: SpatialVideoMetadata;
videoProjectionMetadata?: VideoProjectionMetadata;
+ /**
+ * Whether the track contains protected contents
+ */
+ isProtected?: boolean;
}
/**
* WebCodecs VideoColorSpace
diff --git a/tests/library/modernizr.spec.ts b/tests/library/modernizr.spec.ts
index 445575af07..582aa5a651 100644
--- a/tests/library/modernizr.spec.ts
+++ b/tests/library/modernizr.spec.ts
@@ -126,7 +126,6 @@ it('Mobile Safari', async ({ playwright, browser, browserName, platform, httpsSe
expected.mediastream = false;
if (headless)
expected.todataurlwebp = true;
- expected.hairline = false;
// GHA
delete actual.variablefonts;
@@ -141,7 +140,6 @@ it('Mobile Safari', async ({ playwright, browser, browserName, platform, httpsSe
expected.todataurlwebp = true;
expected.webaudio = false;
expected.gamepads = false;
- expected.hairline = false;
delete expected.datalistelem;