commit 5192aad2a7c7d8d356aa58b127a8caefff792f61 parent fa945ed9d81fdfec1a0ee62489ee091f519a5761 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Oct 2025 10:23:27 +0000 Bug 1994417 [wpt PR 55450] - Sync interfaces/ with @webref/idl 3.68.2, a=testonly Automatic update from web-platform-tests Sync interfaces/ with @webref/idl 3.68.2 (#55450) Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com> -- wpt-commits: 650d0619997a7d3b0d427c8e3c4ca819f43c93f2 wpt-pr: 55450 Diffstat:
18 files changed, 54 insertions(+), 38 deletions(-)
diff --git a/testing/web-platform/tests/interfaces/css-anchor-position.idl b/testing/web-platform/tests/interfaces/css-anchor-position.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSS Anchor Positioning (https://drafts.csswg.org/css-anchor-position-1/) +// Source: CSS Anchor Positioning Module Level 1 (https://drafts.csswg.org/css-anchor-position-1/) [Exposed=Window] interface CSSPositionTryRule : CSSRule { diff --git a/testing/web-platform/tests/interfaces/css-animations-2.idl b/testing/web-platform/tests/interfaces/css-animations-2.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSS Animations Level 2 (https://drafts.csswg.org/css-animations-2/) +// Source: CSS Animations Module Level 2 (https://drafts.csswg.org/css-animations-2/) [Exposed=Window] interface CSSAnimation : Animation { diff --git a/testing/web-platform/tests/interfaces/css-animations.idl b/testing/web-platform/tests/interfaces/css-animations.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSS Animations Level 1 (https://drafts.csswg.org/css-animations-1/) +// Source: CSS Animations Module Level 1 (https://drafts.csswg.org/css-animations-1/) [Exposed=Window] interface AnimationEvent : Event { diff --git a/testing/web-platform/tests/interfaces/css-counter-styles.idl b/testing/web-platform/tests/interfaces/css-counter-styles.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSS Counter Styles Level 3 (https://drafts.csswg.org/css-counter-styles-3/) +// Source: CSS Counter Styles Module Level 3 (https://drafts.csswg.org/css-counter-styles-3/) partial interface CSSRule { const unsigned short COUNTER_STYLE_RULE = 11; diff --git a/testing/web-platform/tests/interfaces/css-nav.idl b/testing/web-platform/tests/interfaces/css-nav.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSS Spatial Navigation Level 1 (https://drafts.csswg.org/css-nav-1/) +// Source: CSS Spatial Navigation Module Level 1 (https://drafts.csswg.org/css-nav-1/) enum SpatialNavigationDirection { "up", diff --git a/testing/web-platform/tests/interfaces/css-nesting.idl b/testing/web-platform/tests/interfaces/css-nesting.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSS Nesting Module (https://drafts.csswg.org/css-nesting-1/) +// Source: CSS Nesting Module Level 1 (https://drafts.csswg.org/css-nesting-1/) [Exposed=Window] interface CSSNestedDeclarations : CSSRule { diff --git a/testing/web-platform/tests/interfaces/css-shadow-parts.idl b/testing/web-platform/tests/interfaces/css-shadow-parts.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSS Shadow Parts (https://drafts.csswg.org/css-shadow-parts-1/) +// Source: CSS Shadow Parts Module Level 1 (https://drafts.csswg.org/css-shadow-parts-1/) partial interface Element { [SameObject, PutForwards=value] readonly attribute DOMTokenList part; diff --git a/testing/web-platform/tests/interfaces/css-transitions-2.idl b/testing/web-platform/tests/interfaces/css-transitions-2.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSS Transitions Level 2 (https://drafts.csswg.org/css-transitions-2/) +// Source: CSS Transitions Module Level 2 (https://drafts.csswg.org/css-transitions-2/) [Exposed=Window] interface CSSStartingStyleRule : CSSGroupingRule { diff --git a/testing/web-platform/tests/interfaces/css-transitions.idl b/testing/web-platform/tests/interfaces/css-transitions.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSS Transitions Level 1 (https://drafts.csswg.org/css-transitions-1/) +// Source: CSS Transitions Module Level 1 (https://drafts.csswg.org/css-transitions-1/) [Exposed=Window] interface TransitionEvent : Event { diff --git a/testing/web-platform/tests/interfaces/cssom-view.idl b/testing/web-platform/tests/interfaces/cssom-view.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSSOM View Module (https://drafts.csswg.org/cssom-view-1/) +// Source: CSSOM View Module Level 1 (https://drafts.csswg.org/cssom-view-1/) enum ScrollBehavior { "auto", "instant", "smooth" }; @@ -33,12 +33,12 @@ partial interface Window { [Replaceable] readonly attribute double pageXOffset; [Replaceable] readonly attribute double scrollY; [Replaceable] readonly attribute double pageYOffset; - undefined scroll(optional ScrollToOptions options = {}); - undefined scroll(unrestricted double x, unrestricted double y); - undefined scrollTo(optional ScrollToOptions options = {}); - undefined scrollTo(unrestricted double x, unrestricted double y); - undefined scrollBy(optional ScrollToOptions options = {}); - undefined scrollBy(unrestricted double x, unrestricted double y); + Promise<undefined> scroll(optional ScrollToOptions options = {}); + Promise<undefined> scroll(unrestricted double x, unrestricted double y); + Promise<undefined> scrollTo(optional ScrollToOptions options = {}); + Promise<undefined> scrollTo(unrestricted double x, unrestricted double y); + Promise<undefined> scrollBy(optional ScrollToOptions options = {}); + Promise<undefined> scrollBy(unrestricted double x, unrestricted double y); // client [Replaceable] readonly attribute long screenX; @@ -122,13 +122,13 @@ partial interface Element { boolean checkVisibility(optional CheckVisibilityOptions options = {}); - undefined scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {}); - undefined scroll(optional ScrollToOptions options = {}); - undefined scroll(unrestricted double x, unrestricted double y); - undefined scrollTo(optional ScrollToOptions options = {}); - undefined scrollTo(unrestricted double x, unrestricted double y); - undefined scrollBy(optional ScrollToOptions options = {}); - undefined scrollBy(unrestricted double x, unrestricted double y); + Promise<undefined> scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {}); + Promise<undefined> scroll(optional ScrollToOptions options = {}); + Promise<undefined> scroll(unrestricted double x, unrestricted double y); + Promise<undefined> scrollTo(optional ScrollToOptions options = {}); + Promise<undefined> scrollTo(unrestricted double x, unrestricted double y); + Promise<undefined> scrollBy(optional ScrollToOptions options = {}); + Promise<undefined> scrollBy(unrestricted double x, unrestricted double y); attribute unrestricted double scrollTop; attribute unrestricted double scrollLeft; readonly attribute long scrollWidth; diff --git a/testing/web-platform/tests/interfaces/cssom.idl b/testing/web-platform/tests/interfaces/cssom.idl @@ -9,7 +9,7 @@ typedef DOMString CSSOMString; // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: CSS Object Model (CSSOM) (https://drafts.csswg.org/cssom-1/) +// Source: CSS Object Model (CSSOM) Module Level 1 (https://drafts.csswg.org/cssom-1/) [Exposed=Window] interface MediaList { diff --git a/testing/web-platform/tests/interfaces/fedcm.idl b/testing/web-platform/tests/interfaces/fedcm.idl @@ -120,6 +120,7 @@ dictionary IdentityAssertionResponse { dictionary IdentityProviderClientMetadata { USVString privacy_policy_url; USVString terms_of_service_url; + boolean client_is_third_party_to_top_frame_origin = false; }; dictionary IdentityUserInfo { diff --git a/testing/web-platform/tests/interfaces/resize-observer.idl b/testing/web-platform/tests/interfaces/resize-observer.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: Resize Observer (https://drafts.csswg.org/resize-observer-1/) +// Source: Resize Observer Module Level 1 (https://drafts.csswg.org/resize-observer-1/) enum ResizeObserverBoxOptions { "border-box", "content-box", "device-pixel-content-box" diff --git a/testing/web-platform/tests/interfaces/scroll-animations.idl b/testing/web-platform/tests/interfaces/scroll-animations.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: Scroll-driven Animations (https://drafts.csswg.org/scroll-animations-1/) +// Source: Scroll-driven Animations Module Level 1 (https://drafts.csswg.org/scroll-animations-1/) enum ScrollAxis { "block", diff --git a/testing/web-platform/tests/interfaces/web-animations-2.idl b/testing/web-platform/tests/interfaces/web-animations-2.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: Web Animations Level 2 (https://drafts.csswg.org/web-animations-2/) +// Source: Web Animations Module Level 2 (https://drafts.csswg.org/web-animations-2/) [Exposed=Window] partial interface AnimationTimeline { diff --git a/testing/web-platform/tests/interfaces/web-animations.idl b/testing/web-platform/tests/interfaces/web-animations.idl @@ -1,7 +1,7 @@ // GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) -// Source: Web Animations (https://drafts.csswg.org/web-animations-1/) +// Source: Web Animations Module Level 1 (https://drafts.csswg.org/web-animations-1/) [Exposed=Window] interface AnimationTimeline { diff --git a/testing/web-platform/tests/interfaces/webgpu.idl b/testing/web-platform/tests/interfaces/webgpu.idl @@ -130,6 +130,7 @@ enum GPUFeatureName { "texture-formats-tier1", "texture-formats-tier2", "primitive-index", + "texture-component-swizzle", }; [Exposed=(Window, Worker), SecureContext] @@ -273,6 +274,9 @@ dictionary GPUTextureViewDescriptor GPUIntegerCoordinate mipLevelCount; GPUIntegerCoordinate baseArrayLayer = 0; GPUIntegerCoordinate arrayLayerCount; + + // Requires "texture-component-swizzle" feature. + DOMString swizzle = "rgba"; }; enum GPUTextureViewDimension { diff --git a/testing/web-platform/tests/interfaces/webrtc-encoded-transform.idl b/testing/web-platform/tests/interfaces/webrtc-encoded-transform.idl @@ -14,11 +14,6 @@ partial interface RTCRtpReceiver { attribute RTCRtpTransform? transform; }; -enum SFrameTransformRole { - "encrypt", - "decrypt" -}; - // List of supported cipher suites, as defined in [[RFC9605]] section 4.5. enum SFrameCipherSuite { "AES_128_CTR_HMAC_SHA256_80", @@ -29,20 +24,36 @@ enum SFrameCipherSuite { }; dictionary SFrameTransformOptions { - SFrameTransformRole role = "encrypt"; required SFrameCipherSuite cipherSuite; }; typedef [EnforceRange] unsigned long long SmallCryptoKeyID; typedef (SmallCryptoKeyID or bigint) CryptoKeyID; -[Exposed=(Window,DedicatedWorker)] -interface SFrameTransform : EventTarget { - constructor(optional SFrameTransformOptions options = {}); +interface mixin SFrameKeyManagement { Promise<undefined> setEncryptionKey(CryptoKey key, optional CryptoKeyID keyID); attribute EventHandler onerror; }; -SFrameTransform includes GenericTransformStream; + +[Exposed=Window] +interface SFrameTransform : EventTarget { + constructor(optional SFrameTransformOptions options = {}); +}; +SFrameTransform includes SFrameKeyManagement; + +[Exposed=(Window,DedicatedWorker)] +interface SFrameEncrypterStream : EventTarget { + constructor(optional SFrameTransformOptions options = {}); +}; +SFrameEncrypterStream includes GenericTransformStream; +SFrameEncrypterStream includes SFrameKeyManagement; + +[Exposed=(Window,DedicatedWorker)] +interface SFrameDecrypterStream : EventTarget { + constructor(optional SFrameTransformOptions options = {}); +}; +SFrameDecrypterStream includes GenericTransformStream; +SFrameDecrypterStream includes SFrameKeyManagement; enum SFrameTransformErrorEventType { "authentication",