@webref/idl 3.38.2 → 3.39.1

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 WEBGL_clip_cull_distance Extension Draft Specification (https://registry.khronos.org/webgl/extensions/WEBGL_clip_cull_distance/)
4
+ // Source: WebGL WEBGL_clip_cull_distance Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_clip_cull_distance/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_clip_cull_distance {
@@ -7,26 +7,26 @@
7
7
  interface WEBGL_multi_draw {
8
8
  undefined multiDrawArraysWEBGL(
9
9
  GLenum mode,
10
- ([AllowShared] Int32Array or sequence<GLint>) firstsList, GLuint firstsOffset,
11
- ([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
10
+ ([AllowShared] Int32Array or sequence<GLint>) firstsList, unsigned long long firstsOffset,
11
+ ([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
12
12
  GLsizei drawcount);
13
13
  undefined multiDrawElementsWEBGL(
14
14
  GLenum mode,
15
- ([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
15
+ ([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
16
16
  GLenum type,
17
- ([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, GLuint offsetsOffset,
17
+ ([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, unsigned long long offsetsOffset,
18
18
  GLsizei drawcount);
19
19
  undefined multiDrawArraysInstancedWEBGL(
20
20
  GLenum mode,
21
- ([AllowShared] Int32Array or sequence<GLint>) firstsList, GLuint firstsOffset,
22
- ([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
23
- ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
21
+ ([AllowShared] Int32Array or sequence<GLint>) firstsList, unsigned long long firstsOffset,
22
+ ([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
23
+ ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, unsigned long long instanceCountsOffset,
24
24
  GLsizei drawcount);
25
25
  undefined multiDrawElementsInstancedWEBGL(
26
26
  GLenum mode,
27
- ([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
27
+ ([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
28
28
  GLenum type,
29
- ([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, GLuint offsetsOffset,
30
- ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
29
+ ([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, unsigned long long offsetsOffset,
30
+ ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, unsigned long long instanceCountsOffset,
31
31
  GLsizei drawcount);
32
32
  };
@@ -7,20 +7,20 @@
7
7
  interface WEBGL_multi_draw_instanced_base_vertex_base_instance {
8
8
  undefined multiDrawArraysInstancedBaseInstanceWEBGL(
9
9
  GLenum mode,
10
- ([AllowShared] Int32Array or sequence<GLint>) firstsList, GLuint firstsOffset,
11
- ([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
12
- ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
13
- ([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, GLuint baseInstancesOffset,
10
+ ([AllowShared] Int32Array or sequence<GLint>) firstsList, unsigned long long firstsOffset,
11
+ ([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
12
+ ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, unsigned long long instanceCountsOffset,
13
+ ([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, unsigned long long baseInstancesOffset,
14
14
  GLsizei drawcount
15
15
  );
16
16
  undefined multiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(
17
17
  GLenum mode,
18
- ([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
18
+ ([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
19
19
  GLenum type,
20
- ([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, GLuint offsetsOffset,
21
- ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
22
- ([AllowShared] Int32Array or sequence<GLint>) baseVerticesList, GLuint baseVerticesOffset,
23
- ([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, GLuint baseInstancesOffset,
20
+ ([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, unsigned long long offsetsOffset,
21
+ ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, unsigned long long instanceCountsOffset,
22
+ ([AllowShared] Int32Array or sequence<GLint>) baseVerticesList, unsigned long long baseVerticesOffset,
23
+ ([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, unsigned long long baseInstancesOffset,
24
24
  GLsizei drawcount
25
25
  );
26
26
  };
@@ -0,0 +1,33 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Audio Session (https://w3c.github.io/audio-session/)
5
+
6
+ enum AudioSessionState {
7
+ "inactive",
8
+ "active",
9
+ "interrupted"
10
+ };
11
+
12
+ enum AudioSessionType {
13
+ "auto",
14
+ "playback",
15
+ "transient",
16
+ "transient-solo",
17
+ "ambient",
18
+ "play-and-record"
19
+ };
20
+
21
+ [Exposed=Window]
22
+ partial interface Navigator {
23
+ // The default audio session that the user agent will use when media elements start/stop playing.
24
+ readonly attribute AudioSession audioSession;
25
+ };
26
+
27
+ [Exposed=Window]
28
+ interface AudioSession : EventTarget {
29
+ attribute AudioSessionType type;
30
+
31
+ readonly attribute AudioSessionState state;
32
+ attribute EventHandler onstatechange;
33
+ };
@@ -28,6 +28,8 @@ interface ClipboardItem {
28
28
  readonly attribute FrozenArray<DOMString> types;
29
29
 
30
30
  Promise<Blob> getType(DOMString type);
31
+
32
+ static boolean supports(DOMString type);
31
33
  };
32
34
 
33
35
  enum PresentationStyle { "unspecified", "inline", "attachment" };
@@ -10,7 +10,6 @@ dictionary FontFaceDescriptors {
10
10
  CSSOMString weight = "normal";
11
11
  CSSOMString stretch = "normal";
12
12
  CSSOMString unicodeRange = "U+0-10FFFF";
13
- CSSOMString variant = "normal";
14
13
  CSSOMString featureSettings = "normal";
15
14
  CSSOMString variationSettings = "normal";
16
15
  CSSOMString display = "auto";
@@ -30,7 +29,6 @@ interface FontFace {
30
29
  attribute CSSOMString weight;
31
30
  attribute CSSOMString stretch;
32
31
  attribute CSSOMString unicodeRange;
33
- attribute CSSOMString variant;
34
32
  attribute CSSOMString featureSettings;
35
33
  attribute CSSOMString variationSettings;
36
34
  attribute CSSOMString display;
@@ -0,0 +1,9 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
5
+
6
+ [Exposed=Window]
7
+ interface PageRevealEvent : Event {
8
+ readonly attribute ViewTransition? viewTransition;
9
+ };
package/edit-context.idl CHANGED
@@ -66,11 +66,14 @@ interface TextUpdateEvent : Event {
66
66
  readonly attribute unsigned long compositionEnd;
67
67
  };
68
68
 
69
+ enum UnderlineStyle { "none", "solid", "double", "dotted", "dashed", "wavy" };
70
+ enum UnderlineThickness { "none", "thin", "thick" };
71
+
69
72
  dictionary TextFormatInit {
70
73
  unsigned long rangeStart;
71
74
  unsigned long rangeEnd;
72
- DOMString underlineStyle;
73
- DOMString underlineThickness;
75
+ UnderlineStyle underlineStyle;
76
+ UnderlineThickness underlineThickness;
74
77
  };
75
78
 
76
79
  [Exposed=Window]
@@ -78,8 +81,8 @@ interface TextFormat {
78
81
  constructor(optional TextFormatInit options = {});
79
82
  readonly attribute unsigned long rangeStart;
80
83
  readonly attribute unsigned long rangeEnd;
81
- readonly attribute DOMString underlineStyle;
82
- readonly attribute DOMString underlineThickness;
84
+ readonly attribute UnderlineStyle underlineStyle;
85
+ readonly attribute UnderlineThickness underlineThickness;
83
86
  };
84
87
 
85
88
  dictionary TextFormatUpdateEventInit : EventInit {
package/fenced-frame.idl CHANGED
@@ -28,6 +28,13 @@ interface FencedFrameConfig {
28
28
  undefined setSharedStorageContext(DOMString contextString);
29
29
  };
30
30
 
31
+ typedef (USVString or FencedFrameConfig) UrnOrConfig;
32
+
33
+ partial interface Navigator {
34
+ Promise<undefined> deprecatedReplaceInURN(
35
+ UrnOrConfig urnOrConfig, record<USVString, USVString> replacements);
36
+ };
37
+
31
38
  enum FenceReportingDestination {
32
39
  "buyer",
33
40
  "seller",
@@ -37,18 +44,27 @@ enum FenceReportingDestination {
37
44
  };
38
45
 
39
46
  dictionary FenceEvent {
40
- required DOMString eventType;
41
- required DOMString eventData;
42
- required sequence<FenceReportingDestination> destination;
47
+ // This dictionary has two mutually exclusive modes that aren’t represented as
48
+ // distinct IDL types due to distinguishability issues:
49
+ //
50
+ // When reporting to a preregistered destination (specified by enum), the following
51
+ // properties are used:
52
+ DOMString eventType;
53
+ DOMString eventData;
54
+ sequence<FenceReportingDestination> destination;
43
55
  boolean once = false;
56
+
57
+ // When reporting to a custom destination URL (with substitution of macros defined by
58
+ // the Protected Audience buyer), the following property is used:
59
+ USVString destinationURL;
44
60
  };
45
61
 
46
62
  typedef (FenceEvent or DOMString) ReportEventType;
47
63
 
48
64
  [Exposed=Window]
49
65
  interface Fence {
50
- undefined reportEvent(ReportEventType event);
51
- undefined setReportEventDataForAutomaticBeacons(FenceEvent event);
66
+ undefined reportEvent(optional ReportEventType event = {});
67
+ undefined setReportEventDataForAutomaticBeacons(optional FenceEvent event = {});
52
68
  sequence<FencedFrameConfig> getNestedConfigs();
53
69
  };
54
70
 
package/html.idl CHANGED
@@ -1196,6 +1196,7 @@ dictionary FormDataEventInit : EventInit {
1196
1196
  interface HTMLDetailsElement : HTMLElement {
1197
1197
  [HTMLConstructor] constructor();
1198
1198
 
1199
+ [CEReactions] attribute DOMString name;
1199
1200
  [CEReactions] attribute boolean open;
1200
1201
  };
1201
1202
 
@@ -1783,7 +1784,7 @@ interface Window : EventTarget {
1783
1784
 
1784
1785
  // the user agent
1785
1786
  readonly attribute Navigator navigator;
1786
- readonly attribute Navigator clientInformation; // legacy alias of .navigator
1787
+ [Replaceable] readonly attribute Navigator clientInformation; // legacy alias of .navigator
1787
1788
  readonly attribute boolean originAgentCluster;
1788
1789
 
1789
1790
  // user prompts
@@ -10,6 +10,7 @@ interface IntersectionObserver {
10
10
  constructor(IntersectionObserverCallback callback, optional IntersectionObserverInit options = {});
11
11
  readonly attribute (Element or Document)? root;
12
12
  readonly attribute DOMString rootMargin;
13
+ readonly attribute DOMString scrollMargin;
13
14
  readonly attribute FrozenArray<double> thresholds;
14
15
  undefined observe(Element target);
15
16
  undefined unobserve(Element target);
@@ -42,5 +43,6 @@ dictionary IntersectionObserverEntryInit {
42
43
  dictionary IntersectionObserverInit {
43
44
  (Element or Document)? root = null;
44
45
  DOMString rootMargin = "0px";
46
+ DOMString scrollMargin = "0px";
45
47
  (double or sequence<double>) threshold = 0;
46
48
  };
package/mediasession.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: Media Session Standard (https://w3c.github.io/mediasession/)
4
+ // Source: Media Session (https://w3c.github.io/mediasession/)
5
5
 
6
6
  [Exposed=Window]
7
7
  partial interface Navigator {
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.38.2",
4
+ "version": "3.39.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -84,3 +84,14 @@ interface WorkletSharedStorage : SharedStorage {
84
84
 
85
85
  async iterable<DOMString, DOMString>;
86
86
  };
87
+
88
+ interface mixin HTMLSharedStorageWritableElementUtils {
89
+ [CEReactions, SecureContext] attribute boolean sharedStorageWritable;
90
+ };
91
+
92
+ HTMLIFrameElement includes HTMLSharedStorageWritableElementUtils;
93
+ HTMLImageElement includes HTMLSharedStorageWritableElementUtils;
94
+
95
+ partial dictionary RequestInit {
96
+ boolean sharedStorageWritable;
97
+ };
@@ -18,14 +18,8 @@ interface StorageBucketManager {
18
18
  Promise<undefined> delete(DOMString name);
19
19
  };
20
20
 
21
- enum StorageBucketDurability {
22
- "strict",
23
- "relaxed"
24
- };
25
-
26
21
  dictionary StorageBucketOptions {
27
- boolean? persisted = null;
28
- StorageBucketDurability? durability = null;
22
+ boolean persisted = false;
29
23
  unsigned long long? quota = null;
30
24
  DOMHighResTimeStamp? expires = null;
31
25
  };
@@ -40,8 +34,6 @@ interface StorageBucket {
40
34
 
41
35
  Promise<StorageEstimate> estimate();
42
36
 
43
- Promise<StorageBucketDurability> durability();
44
-
45
37
  Promise<undefined> setExpires(DOMHighResTimeStamp expires);
46
38
  Promise<DOMHighResTimeStamp?> expires();
47
39
 
package/streams.idl CHANGED
@@ -174,6 +174,7 @@ dictionary Transformer {
174
174
  TransformerStartCallback start;
175
175
  TransformerTransformCallback transform;
176
176
  TransformerFlushCallback flush;
177
+ TransformerCancelCallback cancel;
177
178
  any readableType;
178
179
  any writableType;
179
180
  };
@@ -181,6 +182,7 @@ dictionary Transformer {
181
182
  callback TransformerStartCallback = any (TransformStreamDefaultController controller);
182
183
  callback TransformerFlushCallback = Promise<undefined> (TransformStreamDefaultController controller);
183
184
  callback TransformerTransformCallback = Promise<undefined> (any chunk, TransformStreamDefaultController controller);
185
+ callback TransformerCancelCallback = Promise<undefined> (any reason);
184
186
 
185
187
  [Exposed=*]
186
188
  interface TransformStreamDefaultController {
package/turtledove.idl CHANGED
@@ -11,8 +11,10 @@ partial interface Navigator {
11
11
  dictionary AuctionAd {
12
12
  required USVString renderURL;
13
13
  any metadata;
14
+
14
15
  USVString buyerReportingId;
15
16
  USVString buyerAndSellerReportingId;
17
+ sequence<USVString> allowedReportingOrigins;
16
18
  };
17
19
 
18
20
  dictionary GenerateBidInterestGroup {
@@ -121,6 +123,7 @@ interface InterestGroupReportingScriptRunnerGlobalScope
121
123
  : InterestGroupScriptRunnerGlobalScope {
122
124
  undefined sendReportTo(DOMString url);
123
125
  undefined registerAdBeacon(record<DOMString, USVString> map);
126
+ undefined registerAdMacro(DOMString name, USVString value);
124
127
  };
125
128
 
126
129
  [SecureContext]
@@ -12,7 +12,7 @@ dictionary UADataValues {
12
12
  DOMString architecture;
13
13
  DOMString bitness;
14
14
  sequence<NavigatorUABrandVersion> brands;
15
- DOMString formFactor;
15
+ sequence<DOMString> formFactor;
16
16
  sequence<NavigatorUABrandVersion> fullVersionList;
17
17
  DOMString model;
18
18
  boolean mobile;
package/uievents.idl CHANGED
@@ -32,6 +32,8 @@ interface MouseEvent : UIEvent {
32
32
  readonly attribute long screenY;
33
33
  readonly attribute long clientX;
34
34
  readonly attribute long clientY;
35
+ readonly attribute long layerX;
36
+ readonly attribute long layerY;
35
37
 
36
38
  readonly attribute boolean ctrlKey;
37
39
  readonly attribute boolean shiftKey;
package/webaudio.idl CHANGED
@@ -9,6 +9,11 @@ enum AudioContextState {
9
9
  "closed"
10
10
  };
11
11
 
12
+ enum AudioContextRenderSizeCategory {
13
+ "default",
14
+ "hardware"
15
+ };
16
+
12
17
  callback DecodeErrorCallback = undefined (DOMException error);
13
18
 
14
19
  callback DecodeSuccessCallback = undefined (AudioBuffer decodedData);
@@ -20,6 +25,7 @@ interface BaseAudioContext : EventTarget {
20
25
  readonly attribute double currentTime;
21
26
  readonly attribute AudioListener listener;
22
27
  readonly attribute AudioContextState state;
28
+ readonly attribute unsigned long renderQuantumSize;
23
29
  [SameObject, SecureContext]
24
30
  readonly attribute AudioWorklet audioWorklet;
25
31
  attribute EventHandler onstatechange;
@@ -92,6 +98,7 @@ dictionary AudioContextOptions {
92
98
  (AudioContextLatencyCategory or double) latencyHint = "interactive";
93
99
  float sampleRate;
94
100
  (DOMString or AudioSinkOptions) sinkId;
101
+ (AudioContextRenderSizeCategory or unsigned long) renderSizeHint = "default";
95
102
  };
96
103
 
97
104
  dictionary AudioSinkOptions {
@@ -150,6 +157,7 @@ dictionary OfflineAudioContextOptions {
150
157
  unsigned long numberOfChannels = 1;
151
158
  required unsigned long length;
152
159
  required float sampleRate;
160
+ (AudioContextRenderSizeCategory or unsigned long) renderSizeHint = "default";
153
161
  };
154
162
 
155
163
  [Exposed=Window]
@@ -629,6 +637,7 @@ interface AudioWorkletGlobalScope : WorkletGlobalScope {
629
637
  readonly attribute unsigned long long currentFrame;
630
638
  readonly attribute double currentTime;
631
639
  readonly attribute float sampleRate;
640
+ readonly attribute unsigned long renderQuantumSize;
632
641
  readonly attribute MessagePort port;
633
642
  };
634
643
 
package/webauthn.idl CHANGED
@@ -7,14 +7,16 @@
7
7
  interface PublicKeyCredential : Credential {
8
8
  [SameObject] readonly attribute ArrayBuffer rawId;
9
9
  [SameObject] readonly attribute AuthenticatorResponse response;
10
- [SameObject] readonly attribute DOMString? authenticatorAttachment;
10
+ readonly attribute DOMString? authenticatorAttachment;
11
11
  AuthenticationExtensionsClientOutputs getClientExtensionResults();
12
12
  static Promise<boolean> isConditionalMediationAvailable();
13
13
  PublicKeyCredentialJSON toJSON();
14
14
  };
15
15
 
16
16
  typedef DOMString Base64URLString;
17
- typedef (RegistrationResponseJSON or AuthenticationResponseJSON) PublicKeyCredentialJSON;
17
+ // The structure of this object will be either
18
+ // RegistrationResponseJSON or AuthenticationResponseJSON
19
+ typedef object PublicKeyCredentialJSON;
18
20
 
19
21
  dictionary RegistrationResponseJSON {
20
22
  required Base64URLString id;
package/webgl2.idl CHANGED
@@ -304,7 +304,7 @@ interface mixin WebGL2RenderingContextBase
304
304
  // can not be exposed safely to JavaScript. GetBufferSubData
305
305
  // replaces it for the purpose of fetching data back from the GPU.
306
306
  undefined getBufferSubData(GLenum target, GLintptr srcByteOffset, [AllowShared] ArrayBufferView dstBuffer,
307
- optional GLuint dstOffset = 0, optional GLuint length = 0);
307
+ optional unsigned long long dstOffset = 0, optional GLuint length = 0);
308
308
 
309
309
  /* Framebuffer objects */
310
310
  undefined blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0,
@@ -336,7 +336,7 @@ interface mixin WebGL2RenderingContextBase
336
336
  GLsizei depth, GLint border, GLenum format, GLenum type, [AllowShared] ArrayBufferView? srcData);
337
337
  undefined texImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height,
338
338
  GLsizei depth, GLint border, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData,
339
- GLuint srcOffset);
339
+ unsigned long long srcOffset);
340
340
 
341
341
  undefined texSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset,
342
342
  GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type,
@@ -346,7 +346,7 @@ interface mixin WebGL2RenderingContextBase
346
346
  TexImageSource source); // May throw DOMException
347
347
  undefined texSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset,
348
348
  GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type,
349
- [AllowShared] ArrayBufferView? srcData, optional GLuint srcOffset = 0);
349
+ [AllowShared] ArrayBufferView? srcData, optional unsigned long long srcOffset = 0);
350
350
 
351
351
  undefined copyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset,
352
352
  GLint x, GLint y, GLsizei width, GLsizei height);
@@ -355,7 +355,7 @@ interface mixin WebGL2RenderingContextBase
355
355
  GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLintptr offset);
356
356
  undefined compressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width,
357
357
  GLsizei height, GLsizei depth, GLint border, [AllowShared] ArrayBufferView srcData,
358
- optional GLuint srcOffset = 0, optional GLuint srcLengthOverride = 0);
358
+ optional unsigned long long srcOffset = 0, optional GLuint srcLengthOverride = 0);
359
359
 
360
360
  undefined compressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
361
361
  GLint zoffset, GLsizei width, GLsizei height, GLsizei depth,
@@ -363,7 +363,7 @@ interface mixin WebGL2RenderingContextBase
363
363
  undefined compressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
364
364
  GLint zoffset, GLsizei width, GLsizei height, GLsizei depth,
365
365
  GLenum format, [AllowShared] ArrayBufferView srcData,
366
- optional GLuint srcOffset = 0,
366
+ optional unsigned long long srcOffset = 0,
367
367
  optional GLuint srcLengthOverride = 0);
368
368
 
369
369
  /* Programs and shaders */
@@ -375,28 +375,28 @@ interface mixin WebGL2RenderingContextBase
375
375
  undefined uniform3ui(WebGLUniformLocation? location, GLuint v0, GLuint v1, GLuint v2);
376
376
  undefined uniform4ui(WebGLUniformLocation? location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
377
377
 
378
- undefined uniform1uiv(WebGLUniformLocation? location, Uint32List data, optional GLuint srcOffset = 0,
378
+ undefined uniform1uiv(WebGLUniformLocation? location, Uint32List data, optional unsigned long long srcOffset = 0,
379
379
  optional GLuint srcLength = 0);
380
- undefined uniform2uiv(WebGLUniformLocation? location, Uint32List data, optional GLuint srcOffset = 0,
380
+ undefined uniform2uiv(WebGLUniformLocation? location, Uint32List data, optional unsigned long long srcOffset = 0,
381
381
  optional GLuint srcLength = 0);
382
- undefined uniform3uiv(WebGLUniformLocation? location, Uint32List data, optional GLuint srcOffset = 0,
382
+ undefined uniform3uiv(WebGLUniformLocation? location, Uint32List data, optional unsigned long long srcOffset = 0,
383
383
  optional GLuint srcLength = 0);
384
- undefined uniform4uiv(WebGLUniformLocation? location, Uint32List data, optional GLuint srcOffset = 0,
384
+ undefined uniform4uiv(WebGLUniformLocation? location, Uint32List data, optional unsigned long long srcOffset = 0,
385
385
  optional GLuint srcLength = 0);
386
386
  undefined uniformMatrix3x2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
387
- optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
387
+ optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
388
388
  undefined uniformMatrix4x2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
389
- optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
389
+ optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
390
390
 
391
391
  undefined uniformMatrix2x3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
392
- optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
392
+ optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
393
393
  undefined uniformMatrix4x3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
394
- optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
394
+ optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
395
395
 
396
396
  undefined uniformMatrix2x4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
397
- optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
397
+ optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
398
398
  undefined uniformMatrix3x4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
399
- optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
399
+ optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
400
400
 
401
401
  /* Vertex attribs */
402
402
  undefined vertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w);
@@ -415,11 +415,11 @@ interface mixin WebGL2RenderingContextBase
415
415
  undefined drawBuffers(sequence<GLenum> buffers);
416
416
 
417
417
  undefined clearBufferfv(GLenum buffer, GLint drawbuffer, Float32List values,
418
- optional GLuint srcOffset = 0);
418
+ optional unsigned long long srcOffset = 0);
419
419
  undefined clearBufferiv(GLenum buffer, GLint drawbuffer, Int32List values,
420
- optional GLuint srcOffset = 0);
420
+ optional unsigned long long srcOffset = 0);
421
421
  undefined clearBufferuiv(GLenum buffer, GLint drawbuffer, Uint32List values,
422
- optional GLuint srcOffset = 0);
422
+ optional unsigned long long srcOffset = 0);
423
423
 
424
424
  undefined clearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
425
425
 
@@ -486,10 +486,10 @@ interface mixin WebGL2RenderingContextOverloads
486
486
  undefined bufferData(GLenum target, AllowSharedBufferSource? srcData, GLenum usage);
487
487
  undefined bufferSubData(GLenum target, GLintptr dstByteOffset, AllowSharedBufferSource srcData);
488
488
  // WebGL2:
489
- undefined bufferData(GLenum target, [AllowShared] ArrayBufferView srcData, GLenum usage, GLuint srcOffset,
489
+ undefined bufferData(GLenum target, [AllowShared] ArrayBufferView srcData, GLenum usage, unsigned long long srcOffset,
490
490
  optional GLuint length = 0);
491
491
  undefined bufferSubData(GLenum target, GLintptr dstByteOffset, [AllowShared] ArrayBufferView srcData,
492
- GLuint srcOffset, optional GLuint length = 0);
492
+ unsigned long long srcOffset, optional GLuint length = 0);
493
493
 
494
494
  // WebGL1 legacy entrypoints:
495
495
  undefined texImage2D(GLenum target, GLint level, GLint internalformat,
@@ -512,7 +512,7 @@ interface mixin WebGL2RenderingContextOverloads
512
512
  TexImageSource source); // May throw DOMException
513
513
  undefined texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height,
514
514
  GLint border, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData,
515
- GLuint srcOffset);
515
+ unsigned long long srcOffset);
516
516
 
517
517
  undefined texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
518
518
  GLsizei height, GLenum format, GLenum type, GLintptr pboOffset);
@@ -521,46 +521,46 @@ interface mixin WebGL2RenderingContextOverloads
521
521
  TexImageSource source); // May throw DOMException
522
522
  undefined texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
523
523
  GLsizei height, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData,
524
- GLuint srcOffset);
524
+ unsigned long long srcOffset);
525
525
 
526
526
  undefined compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width,
527
527
  GLsizei height, GLint border, GLsizei imageSize, GLintptr offset);
528
528
  undefined compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width,
529
529
  GLsizei height, GLint border, [AllowShared] ArrayBufferView srcData,
530
- optional GLuint srcOffset = 0, optional GLuint srcLengthOverride = 0);
530
+ optional unsigned long long srcOffset = 0, optional GLuint srcLengthOverride = 0);
531
531
 
532
532
  undefined compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
533
533
  GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLintptr offset);
534
534
  undefined compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
535
535
  GLsizei width, GLsizei height, GLenum format,
536
536
  [AllowShared] ArrayBufferView srcData,
537
- optional GLuint srcOffset = 0,
537
+ optional unsigned long long srcOffset = 0,
538
538
  optional GLuint srcLengthOverride = 0);
539
539
 
540
- undefined uniform1fv(WebGLUniformLocation? location, Float32List data, optional GLuint srcOffset = 0,
540
+ undefined uniform1fv(WebGLUniformLocation? location, Float32List data, optional unsigned long long srcOffset = 0,
541
541
  optional GLuint srcLength = 0);
542
- undefined uniform2fv(WebGLUniformLocation? location, Float32List data, optional GLuint srcOffset = 0,
542
+ undefined uniform2fv(WebGLUniformLocation? location, Float32List data, optional unsigned long long srcOffset = 0,
543
543
  optional GLuint srcLength = 0);
544
- undefined uniform3fv(WebGLUniformLocation? location, Float32List data, optional GLuint srcOffset = 0,
544
+ undefined uniform3fv(WebGLUniformLocation? location, Float32List data, optional unsigned long long srcOffset = 0,
545
545
  optional GLuint srcLength = 0);
546
- undefined uniform4fv(WebGLUniformLocation? location, Float32List data, optional GLuint srcOffset = 0,
546
+ undefined uniform4fv(WebGLUniformLocation? location, Float32List data, optional unsigned long long srcOffset = 0,
547
547
  optional GLuint srcLength = 0);
548
548
 
549
- undefined uniform1iv(WebGLUniformLocation? location, Int32List data, optional GLuint srcOffset = 0,
549
+ undefined uniform1iv(WebGLUniformLocation? location, Int32List data, optional unsigned long long srcOffset = 0,
550
550
  optional GLuint srcLength = 0);
551
- undefined uniform2iv(WebGLUniformLocation? location, Int32List data, optional GLuint srcOffset = 0,
551
+ undefined uniform2iv(WebGLUniformLocation? location, Int32List data, optional unsigned long long srcOffset = 0,
552
552
  optional GLuint srcLength = 0);
553
- undefined uniform3iv(WebGLUniformLocation? location, Int32List data, optional GLuint srcOffset = 0,
553
+ undefined uniform3iv(WebGLUniformLocation? location, Int32List data, optional unsigned long long srcOffset = 0,
554
554
  optional GLuint srcLength = 0);
555
- undefined uniform4iv(WebGLUniformLocation? location, Int32List data, optional GLuint srcOffset = 0,
555
+ undefined uniform4iv(WebGLUniformLocation? location, Int32List data, optional unsigned long long srcOffset = 0,
556
556
  optional GLuint srcLength = 0);
557
557
 
558
558
  undefined uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
559
- optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
559
+ optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
560
560
  undefined uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
561
- optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
561
+ optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
562
562
  undefined uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
563
- optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
563
+ optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
564
564
 
565
565
  /* Reading back pixels */
566
566
  // WebGL1:
@@ -570,7 +570,7 @@ interface mixin WebGL2RenderingContextOverloads
570
570
  undefined readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type,
571
571
  GLintptr offset);
572
572
  undefined readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type,
573
- [AllowShared] ArrayBufferView dstData, GLuint dstOffset);
573
+ [AllowShared] ArrayBufferView dstData, unsigned long long dstOffset);
574
574
  };
575
575
 
576
576
  [Exposed=(Window,Worker)]
package/webgpu.idl CHANGED
@@ -828,6 +828,7 @@ enum GPUVertexFormat {
828
828
  "sint32x2",
829
829
  "sint32x3",
830
830
  "sint32x4",
831
+ "unorm10-10-10-2",
831
832
  };
832
833
 
833
834
  enum GPUVertexStepMode {
@@ -74,14 +74,14 @@ dictionary RTCEncodedVideoFrameMetadata {
74
74
  octet payloadType;
75
75
  sequence<unsigned long> contributingSources;
76
76
  long long timestamp; // microseconds
77
+ unsigned long rtpTimestamp;
77
78
  };
78
79
 
79
80
  // New interfaces to define encoded video and audio frames. Will eventually
80
81
  // re-use or extend the equivalent defined in WebCodecs.
81
- [Exposed=(Window,DedicatedWorker)]
82
+ [Exposed=(Window,DedicatedWorker), Serializable]
82
83
  interface RTCEncodedVideoFrame {
83
84
  readonly attribute RTCEncodedVideoFrameType type;
84
- readonly attribute unsigned long timestamp;
85
85
  attribute ArrayBuffer data;
86
86
  RTCEncodedVideoFrameMetadata getMetadata();
87
87
  };
@@ -91,11 +91,11 @@ dictionary RTCEncodedAudioFrameMetadata {
91
91
  octet payloadType;
92
92
  sequence<unsigned long> contributingSources;
93
93
  short sequenceNumber;
94
+ unsigned long rtpTimestamp;
94
95
  };
95
96
 
96
- [Exposed=(Window,DedicatedWorker)]
97
+ [Exposed=(Window,DedicatedWorker), Serializable]
97
98
  interface RTCEncodedAudioFrame {
98
- readonly attribute unsigned long timestamp;
99
99
  attribute ArrayBuffer data;
100
100
  RTCEncodedAudioFrameMetadata getMetadata();
101
101
  };
package/webtransport.idl CHANGED
@@ -19,7 +19,7 @@ interface WebTransportDatagramDuplexStream {
19
19
  interface WebTransport {
20
20
  constructor(USVString url, optional WebTransportOptions options = {});
21
21
 
22
- Promise<WebTransportStats> getStats();
22
+ Promise<WebTransportConnectionStats> getStats();
23
23
  readonly attribute Promise<undefined> ready;
24
24
  readonly attribute WebTransportReliabilityMode reliability;
25
25
  readonly attribute WebTransportCongestionControl congestionControl;
@@ -73,13 +73,12 @@ dictionary WebTransportSendStreamOptions {
73
73
  long long? sendOrder = null;
74
74
  };
75
75
 
76
- dictionary WebTransportStats {
76
+ dictionary WebTransportConnectionStats {
77
77
  DOMHighResTimeStamp timestamp;
78
78
  unsigned long long bytesSent;
79
79
  unsigned long long packetsSent;
80
+ unsigned long long bytesLost;
80
81
  unsigned long long packetsLost;
81
- unsigned long numOutgoingStreamsCreated;
82
- unsigned long numIncomingStreamsCreated;
83
82
  unsigned long long bytesReceived;
84
83
  unsigned long long packetsReceived;
85
84
  DOMHighResTimeStamp smoothedRtt;
package/webxr.idl CHANGED
@@ -167,7 +167,8 @@ enum XRHandedness {
167
167
  enum XRTargetRayMode {
168
168
  "gaze",
169
169
  "tracked-pointer",
170
- "screen"
170
+ "screen",
171
+ "transient-pointer"
171
172
  };
172
173
 
173
174
  [SecureContext, Exposed=Window]