@webref/idl 2.8.1 → 2.8.2

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.
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OES_draw_buffers_indexed Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/OES_draw_buffers_indexed/)
4
+ // Source: WebGL OES_draw_buffers_indexed Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_draw_buffers_indexed/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OES_draw_buffers_indexed {
package/app-history.idl CHANGED
@@ -121,7 +121,7 @@ interface AppHistoryDestination {
121
121
 
122
122
  [Exposed=Window]
123
123
  interface AppHistoryEntry : EventTarget {
124
- readonly attribute USVString url;
124
+ readonly attribute USVString? url;
125
125
  readonly attribute DOMString key;
126
126
  readonly attribute DOMString id;
127
127
  readonly attribute long long index;
@@ -3,11 +3,18 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS Custom Highlight API Module Level 1 (https://drafts.csswg.org/css-highlight-api-1/)
5
5
 
6
+ enum HighlightType {
7
+ "highlight",
8
+ "spelling-error",
9
+ "grammar-error"
10
+ };
11
+
6
12
  [Exposed=Window]
7
13
  interface Highlight {
8
14
  constructor(AbstractRange... initialRanges);
9
15
  setlike<AbstractRange>;
10
16
  attribute long priority;
17
+ attribute HighlightType type;
11
18
  };
12
19
 
13
20
  partial namespace CSS {
package/html.idl CHANGED
@@ -1993,9 +1993,9 @@ interface mixin WindowOrWorkerGlobalScope {
1993
1993
 
1994
1994
  // timers
1995
1995
  long setTimeout(TimerHandler handler, optional long timeout = 0, any... arguments);
1996
- undefined clearTimeout(optional long handle = 0);
1996
+ undefined clearTimeout(optional long id = 0);
1997
1997
  long setInterval(TimerHandler handler, optional long timeout = 0, any... arguments);
1998
- undefined clearInterval(optional long handle = 0);
1998
+ undefined clearInterval(optional long id = 0);
1999
1999
 
2000
2000
  // microtask queuing
2001
2001
  undefined queueMicrotask(VoidFunction callback);
@@ -238,3 +238,11 @@ typedef (boolean or ConstrainBooleanParameters) ConstrainBoolean;
238
238
  typedef (DOMString or
239
239
  sequence<DOMString> or
240
240
  ConstrainDOMStringParameters) ConstrainDOMString;
241
+
242
+ dictionary DevicePermissionDescriptor : PermissionDescriptor {
243
+ DOMString deviceId;
244
+ };
245
+
246
+ dictionary CameraDevicePermissionDescriptor : DevicePermissionDescriptor {
247
+ boolean panTiltZoom = false;
248
+ };
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": "2.8.1",
4
+ "version": "2.8.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/permissions.idl CHANGED
@@ -56,11 +56,3 @@ enum PermissionName {
56
56
  "speaker-selection",
57
57
  "xr-spatial-tracking",
58
58
  };
59
-
60
- dictionary DevicePermissionDescriptor : PermissionDescriptor {
61
- DOMString deviceId;
62
- };
63
-
64
- dictionary CameraDevicePermissionDescriptor : DevicePermissionDescriptor {
65
- boolean panTiltZoom = false;
66
- };
package/sanitizer-api.idl CHANGED
@@ -16,8 +16,11 @@
16
16
  static SanitizerConfig getDefaultConfiguration();
17
17
  };
18
18
 
19
+ dictionary SetHTMLOptions {
20
+ Sanitizer sanitizer;
21
+ };
19
22
  partial interface Element {
20
- undefined setHTML(DOMString input, Sanitizer sanitizer);
23
+ undefined setHTML(DOMString input, optional SetHTMLOptions options = {});
21
24
  };
22
25
 
23
26
  dictionary SanitizerConfig {
package/streams.idl CHANGED
@@ -74,8 +74,8 @@ interface ReadableStreamDefaultReader {
74
74
  ReadableStreamDefaultReader includes ReadableStreamGenericReader;
75
75
 
76
76
  dictionary ReadableStreamDefaultReadResult {
77
- any value;
78
- boolean done;
77
+ any value;
78
+ boolean done;
79
79
  };
80
80
 
81
81
  [Exposed=(Window,Worker,Worklet)]
@@ -88,8 +88,8 @@ interface ReadableStreamBYOBReader {
88
88
  ReadableStreamBYOBReader includes ReadableStreamGenericReader;
89
89
 
90
90
  dictionary ReadableStreamBYOBReadResult {
91
- ArrayBufferView value;
92
- boolean done;
91
+ ArrayBufferView value;
92
+ boolean done;
93
93
  };
94
94
 
95
95
  [Exposed=(Window,Worker,Worklet)]
package/wasm-js-api.idl CHANGED
@@ -92,6 +92,7 @@ enum ValueType {
92
92
  "i64",
93
93
  "f32",
94
94
  "f64",
95
+ "v128",
95
96
  "externref",
96
97
  "anyfunc",
97
98
  };
package/web-locks.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: Web Locks API (https://wicg.github.io/web-locks/)
4
+ // Source: Web Locks API (https://w3c.github.io/web-locks/)
5
5
 
6
6
  [SecureContext]
7
7
  interface mixin NavigatorLocks {
package/webgpu.idl CHANGED
@@ -277,13 +277,19 @@ enum GPUTextureFormat {
277
277
  "rgba32sint",
278
278
  "rgba32float",
279
279
 
280
- // Depth and stencil formats
280
+ // Depth/stencil formats
281
281
  "stencil8",
282
282
  "depth16unorm",
283
283
  "depth24plus",
284
284
  "depth24plus-stencil8",
285
285
  "depth32float",
286
286
 
287
+ // "depth24unorm-stencil8" feature
288
+ "depth24unorm-stencil8",
289
+
290
+ // "depth32float-stencil8" feature
291
+ "depth32float-stencil8",
292
+
287
293
  // BC compressed formats usable if "texture-compression-bc" is both
288
294
  // supported by the device/user agent and enabled in requestDevice.
289
295
  "bc1-rgba-unorm",
@@ -344,12 +350,6 @@ enum GPUTextureFormat {
344
350
  "astc-12x10-unorm-srgb",
345
351
  "astc-12x12-unorm",
346
352
  "astc-12x12-unorm-srgb",
347
-
348
- // "depth24unorm-stencil8" feature
349
- "depth24unorm-stencil8",
350
-
351
- // "depth32float-stencil8" feature
352
- "depth32float-stencil8",
353
353
  };
354
354
 
355
355
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -804,10 +804,10 @@ interface GPUCommandEncoder {
804
804
  GPUImageCopyTexture destination,
805
805
  GPUExtent3D copySize);
806
806
 
807
- undefined fillBuffer(
808
- GPUBuffer destination,
809
- GPUSize64 destinationOffset,
810
- GPUSize64 size);
807
+ undefined clearBuffer(
808
+ GPUBuffer buffer,
809
+ optional GPUSize64 offset = 0,
810
+ optional GPUSize64 size);
811
811
 
812
812
  undefined pushDebugGroup(USVString groupLabel);
813
813
  undefined popDebugGroup();
package/webrtc.idl CHANGED
@@ -4,11 +4,11 @@
4
4
  // Source: WebRTC 1.0: Real-Time Communication Between Browsers (https://w3c.github.io/webrtc-pc/)
5
5
 
6
6
  dictionary RTCConfiguration {
7
- sequence<RTCIceServer> iceServers;
8
- RTCIceTransportPolicy iceTransportPolicy;
9
- RTCBundlePolicy bundlePolicy;
10
- RTCRtcpMuxPolicy rtcpMuxPolicy;
11
- sequence<RTCCertificate> certificates;
7
+ sequence<RTCIceServer> iceServers = [];
8
+ RTCIceTransportPolicy iceTransportPolicy = "all";
9
+ RTCBundlePolicy bundlePolicy = "balanced";
10
+ RTCRtcpMuxPolicy rtcpMuxPolicy = "require";
11
+ sequence<RTCCertificate> certificates = [];
12
12
  [EnforceRange] octet iceCandidatePoolSize = 0;
13
13
  };
14
14
 
@@ -247,7 +247,7 @@ partial interface RTCPeerConnection {
247
247
  };
248
248
 
249
249
  dictionary RTCCertificateExpiration {
250
- [EnforceRange] EpochTimeStamp expires;
250
+ [EnforceRange] unsigned long long expires;
251
251
  };
252
252
 
253
253
  [Exposed=Window, Serializable]