feat(webkit): roll to r2171 (#35948)

Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
This commit is contained in:
microsoft-playwright-automation[bot] 2025-05-14 15:39:00 +02:00 committed by GitHub
parent 7dc8f6bb1c
commit 1907bd4f36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 35 additions and 1 deletions

View File

@ -39,7 +39,7 @@
},
{
"name": "webkit",
"revision": "2170",
"revision": "2171",
"installByDefault": true,
"revisionOverrides": {
"debian11-x64": "2105",

View File

@ -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;