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 r2171 (#35948)

microsoft-playwright-automation[bot]1907bd4f367b
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index ff84405c13..7b893a073b 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -39,7 +39,7 @@
},
{
"name": "webkit",
- "revision": "2170",
+ "revision": "2171",
"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 67ce6cd066..105b2fe275 100644
--- a/packages/playwright-core/src/server/webkit/protocol.d.ts
+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts
@@ -2171,6 +2171,8 @@ export module Protocol {
* The native width of the video track in CSS pixels
*/
width: number;
+ spatialVideoMetadata?: SpatialVideoMetadata;
+ videoProjectionMetadata?: VideoProjectionMetadata;
}
/**
* WebCodecs VideoColorSpace
@@ -2210,6 +2212,38 @@ export module Protocol {
*/
totalVideoFrames: number;
}
+ /**
+ * A structure containing metadata describing spatial video properties.
+ */
+ export interface SpatialVideoMetadata {
+ width: number;
+ height: number;
+ /**
+ * The horizontal field-of-view measurement, in degrees
+ */
+ horizontalFOVDegrees: number;
+ /**
+ * The distance between the centers of the lenses in a camera system, in micrometers
+ */
+ baseline: number;
+ /**
+ * The relative shift of the left and right eye images, as a percentage.
+ */
+ disparityAdjustment: number;
+ }
+ /**
+ * Video Projection Metadata Kind.
+ */
+ export type VideoProjectionMetadataKind = "unknown"|"equirectangular"|"half-equirectangular"|"equi-angular-cubemap"|"parametric"|"pyramid"|"apple-immersive-video";
+ /**
+ * A structure containing metadata describing video projections.
+ */
+ export interface VideoProjectionMetadata {
+ /**
+ * The kind of video projection.
+ */
+ kind: VideoProjectionMetadataKind;
+ }
export interface ViewportSize {
width: number;
height: number;