tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 41d09f7612f997148f4b856abf16cb25d2b6cae9
parent 326b02025ec685428465a45cf71972225f9ebdea
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Mon,  1 Dec 2025 07:22:27 +0000

Bug 2002764 [wpt PR 56326] - Sync interfaces/ with @webref/idl 3.69.0, a=testonly

Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 3.69.0 (#56326)

Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
Stability results seem unrelated.
--

wpt-commits: 71154f49e6cdda82c43e11bb74cfe3ad7b3f9368
wpt-pr: 56326

Diffstat:
Mtesting/web-platform/tests/interfaces/clipboard-apis.idl | 12++++++++++++
Mtesting/web-platform/tests/interfaces/crash-reporting.idl | 2+-
Mtesting/web-platform/tests/interfaces/css-view-transitions.idl | 2+-
Mtesting/web-platform/tests/interfaces/dom.idl | 4++--
Mtesting/web-platform/tests/interfaces/html.idl | 2+-
Mtesting/web-platform/tests/interfaces/privacy-preserving-attribution.idl | 4++--
Atesting/web-platform/tests/interfaces/webextensions.idl | 15+++++++++++++++
Mtesting/web-platform/tests/interfaces/webgpu.idl | 6++++++
Mtesting/web-platform/tests/interfaces/webrtc-encoded-transform.idl | 13++-----------
Mtesting/web-platform/tests/interfaces/webxr-plane-detection.idl | 2+-
Mtesting/web-platform/tests/interfaces/webxrlayers.idl | 4+---
11 files changed, 44 insertions(+), 22 deletions(-)

diff --git a/testing/web-platform/tests/interfaces/clipboard-apis.idl b/testing/web-platform/tests/interfaces/clipboard-apis.idl @@ -13,6 +13,18 @@ interface ClipboardEvent : Event { readonly attribute DataTransfer? clipboardData; }; +dictionary ClipboardChangeEventInit : EventInit { + sequence<DOMString> types = []; + bigint changeId = 0; +}; + +[Exposed=Window] +interface ClipboardChangeEvent : Event { + constructor(DOMString type, optional ClipboardChangeEventInit eventInitDict = {}); + readonly attribute FrozenArray<DOMString> types; + readonly attribute bigint changeId; +}; + partial interface Navigator { [SecureContext, SameObject] readonly attribute Clipboard clipboard; }; diff --git a/testing/web-platform/tests/interfaces/crash-reporting.idl b/testing/web-platform/tests/interfaces/crash-reporting.idl @@ -7,5 +7,5 @@ dictionary CrashReportBody : ReportBody { DOMString reason; DOMString stack; boolean is_top_level; - DocumentVisibilityState page_visibility; + DocumentVisibilityState visibility_state; }; diff --git a/testing/web-platform/tests/interfaces/css-view-transitions.idl b/testing/web-platform/tests/interfaces/css-view-transitions.idl @@ -36,7 +36,7 @@ interface ViewTransition { readonly attribute Promise<undefined> ready; readonly attribute Promise<undefined> finished; undefined skipTransition(); - attribute ViewTransitionTypeSet types; + [SameObject] attribute ViewTransitionTypeSet types; readonly attribute Element transitionRoot; undefined waitUntil(Promise<any> promise); }; diff --git a/testing/web-platform/tests/interfaces/dom.idl b/testing/web-platform/tests/interfaces/dom.idl @@ -313,7 +313,7 @@ interface Document : Node { interface XMLDocument : Document {}; dictionary ElementCreationOptions { - CustomElementRegistry customElementRegistry; + CustomElementRegistry? customElementRegistry; DOMString is; }; @@ -412,7 +412,7 @@ dictionary ShadowRootInit { SlotAssignmentMode slotAssignment = "named"; boolean clonable = false; boolean serializable = false; - CustomElementRegistry? customElementRegistry = null; + CustomElementRegistry? customElementRegistry; }; [Exposed=Window, diff --git a/testing/web-platform/tests/interfaces/html.idl b/testing/web-platform/tests/interfaces/html.idl @@ -1613,7 +1613,7 @@ OffscreenCanvasRenderingContext2D includes CanvasPathDrawingStyles; OffscreenCanvasRenderingContext2D includes CanvasTextDrawingStyles; OffscreenCanvasRenderingContext2D includes CanvasPath; -enum PredefinedColorSpace { "srgb", "display-p3" }; +enum PredefinedColorSpace { "srgb", "srgb-linear", "display-p3", "display-p3-linear" }; [Exposed=Window] interface CustomElementRegistry { diff --git a/testing/web-platform/tests/interfaces/privacy-preserving-attribution.idl b/testing/web-platform/tests/interfaces/privacy-preserving-attribution.idl @@ -7,10 +7,10 @@ partial interface Navigator { [SecureContext, SameObject] readonly attribute Attribution attribution; }; -enum AttributionAggregationProtocol { "dap-15-histogram", "tee-00" }; +enum AttributionAggregationProtocol { "dap-15-histogram" }; dictionary AttributionAggregationService { - required DOMString protocol; + required AttributionAggregationProtocol protocol; }; [SecureContext, Exposed=Window] diff --git a/testing/web-platform/tests/interfaces/webextensions.idl b/testing/web-platform/tests/interfaces/webextensions.idl @@ -0,0 +1,15 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into webref +// (https://github.com/w3c/webref) +// Source: Web Extensions (https://w3c.github.io/webextensions/specification/) + +enum RunAt { + "document_start", + "document_end", + "document_idle" +}; + +enum ExecutionWorld { + "ISOLATED", + "MAIN" +}; diff --git a/testing/web-platform/tests/interfaces/webgpu.idl b/testing/web-platform/tests/interfaces/webgpu.idl @@ -25,7 +25,11 @@ interface GPUSupportedLimits { readonly attribute unsigned long maxSampledTexturesPerShaderStage; readonly attribute unsigned long maxSamplersPerShaderStage; readonly attribute unsigned long maxStorageBuffersPerShaderStage; + readonly attribute unsigned long maxStorageBuffersInVertexStage; + readonly attribute unsigned long maxStorageBuffersInFragmentStage; readonly attribute unsigned long maxStorageTexturesPerShaderStage; + readonly attribute unsigned long maxStorageTexturesInVertexStage; + readonly attribute unsigned long maxStorageTexturesInFragmentStage; readonly attribute unsigned long maxUniformBuffersPerShaderStage; readonly attribute unsigned long long maxUniformBufferBindingSize; readonly attribute unsigned long long maxStorageBufferBindingSize; @@ -229,6 +233,7 @@ interface GPUTexture { readonly attribute GPUTextureDimension dimension; readonly attribute GPUTextureFormat format; readonly attribute GPUFlagsConstant usage; + readonly attribute (GPUTextureViewDimension or undefined) textureBindingViewDimension; }; GPUTexture includes GPUObjectBase; @@ -241,6 +246,7 @@ dictionary GPUTextureDescriptor required GPUTextureFormat format; required GPUTextureUsageFlags usage; sequence<GPUTextureFormat> viewFormats = []; + GPUTextureViewDimension textureBindingViewDimension; }; enum GPUTextureDimension { diff --git a/testing/web-platform/tests/interfaces/webrtc-encoded-transform.idl b/testing/web-platform/tests/interfaces/webrtc-encoded-transform.idl @@ -87,14 +87,6 @@ dictionary RTCEncodedFrameMetadata { DOMString mimeType; }; -// New enum for video frame types. Will eventually re-use the equivalent defined -// by WebCodecs. -enum RTCEncodedVideoFrameType { - "empty", - "key", - "delta", -}; - dictionary RTCEncodedVideoFrameMetadata : RTCEncodedFrameMetadata { unsigned long long frameId; sequence<unsigned long long> dependencies; @@ -109,12 +101,11 @@ dictionary RTCEncodedVideoFrameOptions { RTCEncodedVideoFrameMetadata metadata; }; -// New interfaces to define encoded video and audio frames. Will eventually -// re-use or extend the equivalent defined in WebCodecs. +// New interfaces to define RTC specific encoded video and audio frames used by RTCRtpScriptTransform. [Exposed=(Window,DedicatedWorker), Serializable] interface RTCEncodedVideoFrame { constructor(RTCEncodedVideoFrame originalFrame, optional RTCEncodedVideoFrameOptions options = {}); - readonly attribute RTCEncodedVideoFrameType type; + readonly attribute EncodedVideoChunkType type; attribute ArrayBuffer data; RTCEncodedVideoFrameMetadata getMetadata(); }; diff --git a/testing/web-platform/tests/interfaces/webxr-plane-detection.idl b/testing/web-platform/tests/interfaces/webxr-plane-detection.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: WebXR Plane Detection Module (https://immersive-web.github.io/real-world-geometry/plane-detection.html) +// Source: WebXR Plane Detection Module (https://immersive-web.github.io/plane-detection/) enum XRPlaneOrientation { "horizontal", diff --git a/testing/web-platform/tests/interfaces/webxrlayers.idl b/testing/web-platform/tests/interfaces/webxrlayers.idl @@ -118,6 +118,7 @@ dictionary XRProjectionLayerInit { dictionary XRLayerInit { required XRSpace space; + XRTextureType textureType = "texture"; GLenum colorFormat = 0x1908; // RGBA GLenum? depthFormat; unsigned long mipLevels = 1; @@ -129,14 +130,12 @@ dictionary XRLayerInit { }; dictionary XRQuadLayerInit : XRLayerInit { - XRTextureType textureType = "texture"; XRRigidTransform? transform; float width = 1.0; float height = 1.0; }; dictionary XRCylinderLayerInit : XRLayerInit { - XRTextureType textureType = "texture"; XRRigidTransform? transform; float radius = 2.0; float centralAngle = 0.78539; @@ -144,7 +143,6 @@ dictionary XRCylinderLayerInit : XRLayerInit { }; dictionary XREquirectLayerInit : XRLayerInit { - XRTextureType textureType = "texture"; XRRigidTransform? transform; float radius = 0; float centralHorizontalAngle = 6.28318;