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 r2227 (#38093)

microsoft-playwright-automation[bot]ed38b53625b8
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index 4e2386ef24..002c32fbbc 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -39,7 +39,7 @@
},
{
"name": "webkit",
- "revision": "2226",
+ "revision": "2227",
"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 52b7393007..06607f8293 100644
--- a/packages/playwright-core/src/server/webkit/protocol.d.ts
+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts
@@ -8901,7 +8901,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
/**
* Timeline record type.
*/
- export type EventType = "EventDispatch"|"ScheduleStyleRecalculation"|"RecalculateStyles"|"InvalidateLayout"|"Layout"|"Paint"|"Composite"|"RenderingFrame"|"TimerInstall"|"TimerRemove"|"TimerFire"|"EvaluateScript"|"TimeStamp"|"Time"|"TimeEnd"|"FunctionCall"|"ProbeSample"|"ConsoleProfile"|"RequestAnimationFrame"|"CancelAnimationFrame"|"FireAnimationFrame"|"ObserverCallback"|"Screenshot";
+ export type EventType = "EventDispatch"|"ScheduleStyleRecalculation"|"RecalculateStyles"|"InvalidateLayout"|"Layout"|"Paint"|"Composite"|"RenderingFrame"|"TimerInstall"|"TimerRemove"|"TimerFire"|"EvaluateScript"|"TimeStamp"|"Time"|"TimeEnd"|"FunctionCall"|"ProbeSample"|"ConsoleProfile"|"RequestAnimationFrame"|"CancelAnimationFrame"|"FireAnimationFrame"|"ObserverCallback"|"FirstContentfulPaint"|"LargestContentfulPaint"|"Screenshot";
/**
* Instrument types.
*/
diff --git a/tests/library/modernizr.spec.ts b/tests/library/modernizr.spec.ts
index 8b86e9c42d..445575af07 100644
--- a/tests/library/modernizr.spec.ts
+++ b/tests/library/modernizr.spec.ts
@@ -112,7 +112,6 @@ it('Mobile Safari', async ({ playwright, browser, browserName, platform, httpsSe
expected.overflowscrolling = false;
expected.mediasource = true;
expected.scrolltooptions = false;
- expected.hairline = false;
delete expected.webglextensions;
delete actual.webglextensions;
@@ -127,6 +126,7 @@ 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,6 +141,7 @@ it('Mobile Safari', async ({ playwright, browser, browserName, platform, httpsSe
expected.todataurlwebp = true;
expected.webaudio = false;
expected.gamepads = false;
+ expected.hairline = false;
delete expected.datalistelem;