@webref/idl 3.13.2 → 3.14.0

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.
@@ -0,0 +1,13 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: CSS Containment Module Level 2 (https://drafts.csswg.org/css-contain-2/)
5
+
6
+ [Exposed=Window]
7
+ interface ContentVisibilityAutoStateChangedEvent : Event {
8
+ constructor(DOMString type, optional ContentVisibilityAutoStateChangedEventInit eventInitDict = {});
9
+ readonly attribute boolean skipped;
10
+ };
11
+ dictionary ContentVisibilityAutoStateChangedEventInit : EventInit {
12
+ boolean skipped = false;
13
+ };
@@ -69,19 +69,19 @@ dictionary AudioConfiguration {
69
69
  };
70
70
 
71
71
  dictionary MediaCapabilitiesKeySystemConfiguration {
72
- required DOMString keySystem;
73
- DOMString initDataType = "";
74
- MediaKeysRequirement distinctiveIdentifier = "optional";
75
- MediaKeysRequirement persistentState = "optional";
76
- sequence<DOMString> sessionTypes;
77
- KeySystemTrackConfiguration audio;
78
- KeySystemTrackConfiguration video;
79
- };
72
+ required DOMString keySystem;
73
+ DOMString initDataType = "";
74
+ MediaKeysRequirement distinctiveIdentifier = "optional";
75
+ MediaKeysRequirement persistentState = "optional";
76
+ sequence<DOMString> sessionTypes;
77
+ KeySystemTrackConfiguration audio;
78
+ KeySystemTrackConfiguration video;
79
+ };
80
80
 
81
81
  dictionary KeySystemTrackConfiguration {
82
- DOMString robustness = "";
83
- DOMString? encryptionScheme = null;
84
- };
82
+ DOMString robustness = "";
83
+ DOMString? encryptionScheme = null;
84
+ };
85
85
 
86
86
  dictionary MediaCapabilitiesInfo {
87
87
  required boolean supported;
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.13.2",
4
+ "version": "3.14.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -6,7 +6,7 @@
6
6
  dictionary SecurePaymentConfirmationRequest {
7
7
  required BufferSource challenge;
8
8
  required USVString rpId;
9
- required FrozenArray<BufferSource> credentialIds;
9
+ required sequence<BufferSource> credentialIds;
10
10
  required PaymentCredentialInstrument instrument;
11
11
  unsigned long timeout;
12
12
  DOMString payeeName;
package/webcodecs.idl CHANGED
@@ -473,10 +473,9 @@ interface ImageTrackList {
473
473
  };
474
474
 
475
475
  [Exposed=(Window,DedicatedWorker)]
476
- interface ImageTrack : EventTarget {
476
+ interface ImageTrack {
477
477
  readonly attribute boolean animated;
478
478
  readonly attribute unsigned long frameCount;
479
479
  readonly attribute unrestricted float repetitionCount;
480
- attribute EventHandler onchange;
481
480
  attribute boolean selected;
482
481
  };
package/webgpu.idl CHANGED
@@ -140,17 +140,25 @@ GPUDevice includes GPUObjectBase;
140
140
 
141
141
  [Exposed=(Window, DedicatedWorker), SecureContext]
142
142
  interface GPUBuffer {
143
+ readonly attribute GPUSize64 size;
144
+ readonly attribute GPUBufferUsageFlags usage;
145
+
146
+ readonly attribute GPUBufferMapState mapState;
147
+
143
148
  Promise<undefined> mapAsync(GPUMapModeFlags mode, optional GPUSize64 offset = 0, optional GPUSize64 size);
144
149
  ArrayBuffer getMappedRange(optional GPUSize64 offset = 0, optional GPUSize64 size);
145
150
  undefined unmap();
146
151
 
147
152
  undefined destroy();
148
-
149
- readonly attribute GPUSize64 size;
150
- readonly attribute GPUBufferUsageFlags usage;
151
153
  };
152
154
  GPUBuffer includes GPUObjectBase;
153
155
 
156
+ enum GPUBufferMapState {
157
+ "unmapped",
158
+ "pending",
159
+ "mapped"
160
+ };
161
+
154
162
  dictionary GPUBufferDescriptor : GPUObjectDescriptorBase {
155
163
  required GPUSize64 size;
156
164
  required GPUBufferUsageFlags usage;