commit c8734640c733f75399934b3a911b296147da78fb
parent a79625c666d105a82c22220145c09f7de5533e35
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 6 Nov 2025 21:36:19 +0000
Bug 1997902 [wpt PR 55825] - Sync interfaces/ with @webref/idl 3.68.4, a=testonly
Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 3.68.4 (#55825)
Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
--
wpt-commits: 6a4953f001ee14d8bdbb7a57b9c8fd15e9ee428b
wpt-pr: 55825
Diffstat:
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/testing/web-platform/tests/interfaces/dom.idl b/testing/web-platform/tests/interfaces/dom.idl
@@ -375,8 +375,8 @@ interface Element : Node {
sequence<DOMString> getAttributeNames();
DOMString? getAttribute(DOMString qualifiedName);
DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
- [CEReactions] undefined setAttribute(DOMString qualifiedName, DOMString value);
- [CEReactions] undefined setAttributeNS(DOMString? namespace, DOMString qualifiedName, DOMString value);
+ [CEReactions] undefined setAttribute(DOMString qualifiedName, (TrustedType or DOMString) value);
+ [CEReactions] undefined setAttributeNS(DOMString? namespace, DOMString qualifiedName, (TrustedType or DOMString) value);
[CEReactions] undefined removeAttribute(DOMString qualifiedName);
[CEReactions] undefined removeAttributeNS(DOMString? namespace, DOMString localName);
[CEReactions] boolean toggleAttribute(DOMString qualifiedName, optional boolean force);
diff --git a/testing/web-platform/tests/interfaces/webcodecs.idl b/testing/web-platform/tests/interfaces/webcodecs.idl
@@ -519,7 +519,7 @@ dictionary ImageDecodeResult {
required boolean complete;
};
-[Exposed=(Window,DedicatedWorker)]
+[Exposed=(Window,DedicatedWorker), SecureContext]
interface ImageTrackList {
getter ImageTrack (unsigned long index);
@@ -529,7 +529,7 @@ interface ImageTrackList {
readonly attribute ImageTrack? selectedTrack;
};
-[Exposed=(Window,DedicatedWorker)]
+[Exposed=(Window,DedicatedWorker), SecureContext]
interface ImageTrack {
readonly attribute boolean animated;
readonly attribute unsigned long frameCount;
diff --git a/testing/web-platform/tests/interfaces/webnn.idl b/testing/web-platform/tests/interfaces/webnn.idl
@@ -17,6 +17,7 @@ enum MLPowerPreference {
dictionary MLContextOptions {
MLPowerPreference powerPreference = "default";
+ boolean accelerated = true;
};
[SecureContext, Exposed=(Window, Worker)]
@@ -48,6 +49,7 @@ interface MLContext {
undefined destroy();
+ readonly attribute boolean accelerated;
readonly attribute Promise<MLContextLostInfo> lost;
};