@webref/idl 3.68.3 → 3.68.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dom.idl CHANGED
@@ -375,8 +375,8 @@ interface Element : Node {
375
375
  sequence<DOMString> getAttributeNames();
376
376
  DOMString? getAttribute(DOMString qualifiedName);
377
377
  DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
378
- [CEReactions] undefined setAttribute(DOMString qualifiedName, DOMString value);
379
- [CEReactions] undefined setAttributeNS(DOMString? namespace, DOMString qualifiedName, DOMString value);
378
+ [CEReactions] undefined setAttribute(DOMString qualifiedName, (TrustedType or DOMString) value);
379
+ [CEReactions] undefined setAttributeNS(DOMString? namespace, DOMString qualifiedName, (TrustedType or DOMString) value);
380
380
  [CEReactions] undefined removeAttribute(DOMString qualifiedName);
381
381
  [CEReactions] undefined removeAttributeNS(DOMString? namespace, DOMString localName);
382
382
  [CEReactions] boolean toggleAttribute(DOMString qualifiedName, optional boolean force);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.68.3",
4
+ "version": "3.68.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/webcodecs.idl CHANGED
@@ -519,7 +519,7 @@ dictionary ImageDecodeResult {
519
519
  required boolean complete;
520
520
  };
521
521
 
522
- [Exposed=(Window,DedicatedWorker)]
522
+ [Exposed=(Window,DedicatedWorker), SecureContext]
523
523
  interface ImageTrackList {
524
524
  getter ImageTrack (unsigned long index);
525
525
 
@@ -529,7 +529,7 @@ interface ImageTrackList {
529
529
  readonly attribute ImageTrack? selectedTrack;
530
530
  };
531
531
 
532
- [Exposed=(Window,DedicatedWorker)]
532
+ [Exposed=(Window,DedicatedWorker), SecureContext]
533
533
  interface ImageTrack {
534
534
  readonly attribute boolean animated;
535
535
  readonly attribute unsigned long frameCount;
package/webnn.idl CHANGED
@@ -17,6 +17,7 @@ enum MLPowerPreference {
17
17
 
18
18
  dictionary MLContextOptions {
19
19
  MLPowerPreference powerPreference = "default";
20
+ boolean accelerated = true;
20
21
  };
21
22
 
22
23
  [SecureContext, Exposed=(Window, Worker)]
@@ -48,6 +49,7 @@ interface MLContext {
48
49
 
49
50
  undefined destroy();
50
51
 
52
+ readonly attribute boolean accelerated;
51
53
  readonly attribute Promise<MLContextLostInfo> lost;
52
54
  };
53
55