@webref/idl 3.42.5 → 3.43.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.
package/FedCM.idl CHANGED
@@ -26,6 +26,7 @@ dictionary IdentityCredentialDisconnectOptions : IdentityProviderConfig {
26
26
  interface IdentityCredential : Credential {
27
27
  static Promise<undefined> disconnect(optional IdentityCredentialDisconnectOptions options = {});
28
28
  readonly attribute USVString? token;
29
+ readonly attribute boolean isAutoSelected;
29
30
  };
30
31
 
31
32
  dictionary DisconnectedAccount {
@@ -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: CSS Scroll Snap Module Level 2 (https://drafts.csswg.org/css-scroll-snap-2/)
5
+
6
+ [Exposed=Window]
7
+ interface SnapEvent : Event {
8
+ constructor(DOMString type, optional SnapEventInit eventInitDict = {});
9
+ readonly attribute EventTarget? target;
10
+ readonly attribute SnapTargetList snappedTargets;
11
+ readonly attribute SnapTargetList snapTargets;
12
+ readonly attribute boolean invokedProgrammatically;
13
+ readonly attribute boolean smoothlyScrolled;
14
+ };
15
+
16
+ [Exposed=Window]
17
+ interface SnapTargetList {
18
+ readonly attribute SnapTargetArray x;
19
+ readonly attribute SnapTargetArray y;
20
+ };
21
+
22
+ [Exposed=Window]
23
+ interface SnapTargetArray {
24
+ readonly attribute unsigned long length;
25
+ getter EventTarget? item (unsigned long index);
26
+ };
27
+
28
+ dictionary SnapEventInit : EventModifierInit {
29
+ sequence<EventTarget> snappedTargetsX = [];
30
+ sequence<EventTarget> snappedTargetsY = [];
31
+ sequence<EventTarget> snapTargetsListX = [];
32
+ sequence<EventTarget> snapTargetsListY = [];
33
+ };
package/cssom-view.idl CHANGED
@@ -104,6 +104,9 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
104
104
  dictionary CheckVisibilityOptions {
105
105
  boolean checkOpacity = false;
106
106
  boolean checkVisibilityCSS = false;
107
+ boolean contentVisibilityAuto = false;
108
+ boolean opacityProperty = false;
109
+ boolean visibilityProperty = false;
107
110
  };
108
111
 
109
112
  partial interface Element {
@@ -9,38 +9,6 @@ enum GamepadHand {
9
9
  "right"
10
10
  };
11
11
 
12
- [Exposed=Window]
13
- interface GamepadHapticActuator {
14
- readonly attribute GamepadHapticActuatorType type;
15
- boolean canPlayEffectType(GamepadHapticEffectType type);
16
- Promise<GamepadHapticsResult> playEffect(
17
- GamepadHapticEffectType type,
18
- optional GamepadEffectParameters params = {});
19
- Promise<boolean> pulse(double value, double duration);
20
- Promise<GamepadHapticsResult> reset();
21
- };
22
-
23
- enum GamepadHapticsResult {
24
- "complete",
25
- "preempted"
26
- };
27
-
28
- enum GamepadHapticActuatorType {
29
- "vibration",
30
- "dual-rumble"
31
- };
32
-
33
- enum GamepadHapticEffectType {
34
- "dual-rumble"
35
- };
36
-
37
- dictionary GamepadEffectParameters {
38
- double duration = 0.0;
39
- double startDelay = 0.0;
40
- double strongMagnitude = 0.0;
41
- double weakMagnitude = 0.0;
42
- };
43
-
44
12
  [Exposed=Window]
45
13
  interface GamepadPose {
46
14
  readonly attribute boolean hasOrientation;
@@ -67,5 +35,9 @@ partial interface Gamepad {
67
35
  readonly attribute FrozenArray<GamepadHapticActuator> hapticActuators;
68
36
  readonly attribute GamepadPose? pose;
69
37
  readonly attribute FrozenArray<GamepadTouch>? touchEvents;
70
- [SameObject] readonly attribute GamepadHapticActuator? vibrationActuator;
38
+ };
39
+
40
+ [Exposed=Window]
41
+ partial interface GamepadHapticActuator {
42
+ Promise<boolean> pulse(double value, double duration);
71
43
  };
package/gamepad.idl CHANGED
@@ -12,6 +12,7 @@ interface Gamepad {
12
12
  readonly attribute GamepadMappingType mapping;
13
13
  readonly attribute FrozenArray<double> axes;
14
14
  readonly attribute FrozenArray<GamepadButton> buttons;
15
+ [SameObject] readonly attribute GamepadHapticActuator vibrationActuator;
15
16
  };
16
17
 
17
18
  [Exposed=Window, SecureContext]
@@ -27,6 +28,32 @@ enum GamepadMappingType {
27
28
  "xr-standard",
28
29
  };
29
30
 
31
+ [Exposed=Window]
32
+ interface GamepadHapticActuator {
33
+ [SameObject] readonly attribute FrozenArray<GamepadHapticEffectType> effects;
34
+ Promise<GamepadHapticsResult> playEffect(
35
+ GamepadHapticEffectType type,
36
+ optional GamepadEffectParameters params = {}
37
+ );
38
+ Promise<GamepadHapticsResult> reset();
39
+ };
40
+
41
+ enum GamepadHapticsResult {
42
+ "complete",
43
+ "preempted"
44
+ };
45
+
46
+ enum GamepadHapticEffectType {
47
+ "dual-rumble"
48
+ };
49
+
50
+ dictionary GamepadEffectParameters {
51
+ unsigned long long duration = 0;
52
+ unsigned long long startDelay = 0;
53
+ double strongMagnitude = 0.0;
54
+ double weakMagnitude = 0.0;
55
+ };
56
+
30
57
  [Exposed=Window]
31
58
  partial interface Navigator {
32
59
  sequence<Gamepad?> getGamepads();
package/mediasession.idl CHANGED
@@ -72,7 +72,7 @@ dictionary MediaImage {
72
72
  };
73
73
 
74
74
  dictionary MediaPositionState {
75
- double duration;
75
+ unrestricted double duration;
76
76
  double playbackRate;
77
77
  double position;
78
78
  };
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.42.5",
4
+ "version": "3.43.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/turtledove.idl CHANGED
@@ -31,6 +31,7 @@ dictionary GenerateBidInterestGroup {
31
31
  USVString updateURL;
32
32
  USVString trustedBiddingSignalsURL;
33
33
  sequence<USVString> trustedBiddingSignalsKeys;
34
+ DOMString trustedBiddingSignalsSlotSizeMode = "none";
34
35
  any userBiddingSignals;
35
36
  sequence<AuctionAd> ads;
36
37
  sequence<AuctionAd> adComponents;
@@ -70,6 +71,7 @@ dictionary AuctionAdConfig {
70
71
  sequence<USVString> interestGroupBuyers;
71
72
  Promise<any> auctionSignals;
72
73
  record<DOMString, DOMString> requestedSize;
74
+ sequence<record<DOMString, DOMString>> allSlotsRequestedSizes;
73
75
  Promise<any> sellerSignals;
74
76
  Promise<DOMString> directFromSellerSignalsHeaderAdSlot;
75
77
  unsigned long long sellerTimeout;
package/webgpu.idl CHANGED
@@ -11,7 +11,7 @@ dictionary GPUObjectDescriptorBase {
11
11
  USVString label = "";
12
12
  };
13
13
 
14
- [Exposed=(Window, DedicatedWorker), SecureContext]
14
+ [Exposed=(Window, Worker), SecureContext]
15
15
  interface GPUSupportedLimits {
16
16
  readonly attribute unsigned long maxTextureDimension1D;
17
17
  readonly attribute unsigned long maxTextureDimension2D;
@@ -47,17 +47,17 @@ interface GPUSupportedLimits {
47
47
  readonly attribute unsigned long maxComputeWorkgroupsPerDimension;
48
48
  };
49
49
 
50
- [Exposed=(Window, DedicatedWorker), SecureContext]
50
+ [Exposed=(Window, Worker), SecureContext]
51
51
  interface GPUSupportedFeatures {
52
52
  readonly setlike<DOMString>;
53
53
  };
54
54
 
55
- [Exposed=(Window, DedicatedWorker), SecureContext]
55
+ [Exposed=(Window, Worker), SecureContext]
56
56
  interface WGSLLanguageFeatures {
57
57
  readonly setlike<DOMString>;
58
58
  };
59
59
 
60
- [Exposed=(Window, DedicatedWorker), SecureContext]
60
+ [Exposed=(Window, Worker), SecureContext]
61
61
  interface GPUAdapterInfo {
62
62
  readonly attribute DOMString vendor;
63
63
  readonly attribute DOMString architecture;
@@ -71,7 +71,7 @@ interface mixin NavigatorGPU {
71
71
  Navigator includes NavigatorGPU;
72
72
  WorkerNavigator includes NavigatorGPU;
73
73
 
74
- [Exposed=(Window, DedicatedWorker), SecureContext]
74
+ [Exposed=(Window, Worker), SecureContext]
75
75
  interface GPU {
76
76
  Promise<GPUAdapter?> requestAdapter(optional GPURequestAdapterOptions options = {});
77
77
  GPUTextureFormat getPreferredCanvasFormat();
@@ -88,7 +88,7 @@ enum GPUPowerPreference {
88
88
  "high-performance",
89
89
  };
90
90
 
91
- [Exposed=(Window, DedicatedWorker), SecureContext]
91
+ [Exposed=(Window, Worker), SecureContext]
92
92
  interface GPUAdapter {
93
93
  [SameObject] readonly attribute GPUSupportedFeatures features;
94
94
  [SameObject] readonly attribute GPUSupportedLimits limits;
@@ -119,7 +119,7 @@ enum GPUFeatureName {
119
119
  "float32-filterable",
120
120
  };
121
121
 
122
- [Exposed=(Window, DedicatedWorker), SecureContext]
122
+ [Exposed=(Window, Worker), SecureContext]
123
123
  interface GPUDevice : EventTarget {
124
124
  [SameObject] readonly attribute GPUSupportedFeatures features;
125
125
  [SameObject] readonly attribute GPUSupportedLimits limits;
@@ -150,7 +150,7 @@ interface GPUDevice : EventTarget {
150
150
  };
151
151
  GPUDevice includes GPUObjectBase;
152
152
 
153
- [Exposed=(Window, DedicatedWorker), SecureContext]
153
+ [Exposed=(Window, Worker), SecureContext]
154
154
  interface GPUBuffer {
155
155
  readonly attribute GPUSize64Out size;
156
156
  readonly attribute GPUFlagsConstant usage;
@@ -179,7 +179,7 @@ dictionary GPUBufferDescriptor
179
179
  };
180
180
 
181
181
  typedef [EnforceRange] unsigned long GPUBufferUsageFlags;
182
- [Exposed=(Window, DedicatedWorker), SecureContext]
182
+ [Exposed=(Window, Worker), SecureContext]
183
183
  namespace GPUBufferUsage {
184
184
  const GPUFlagsConstant MAP_READ = 0x0001;
185
185
  const GPUFlagsConstant MAP_WRITE = 0x0002;
@@ -194,13 +194,13 @@ namespace GPUBufferUsage {
194
194
  };
195
195
 
196
196
  typedef [EnforceRange] unsigned long GPUMapModeFlags;
197
- [Exposed=(Window, DedicatedWorker), SecureContext]
197
+ [Exposed=(Window, Worker), SecureContext]
198
198
  namespace GPUMapMode {
199
199
  const GPUFlagsConstant READ = 0x0001;
200
200
  const GPUFlagsConstant WRITE = 0x0002;
201
201
  };
202
202
 
203
- [Exposed=(Window, DedicatedWorker), SecureContext]
203
+ [Exposed=(Window, Worker), SecureContext]
204
204
  interface GPUTexture {
205
205
  GPUTextureView createView(optional GPUTextureViewDescriptor descriptor = {});
206
206
 
@@ -235,7 +235,7 @@ enum GPUTextureDimension {
235
235
  };
236
236
 
237
237
  typedef [EnforceRange] unsigned long GPUTextureUsageFlags;
238
- [Exposed=(Window, DedicatedWorker), SecureContext]
238
+ [Exposed=(Window, Worker), SecureContext]
239
239
  namespace GPUTextureUsage {
240
240
  const GPUFlagsConstant COPY_SRC = 0x01;
241
241
  const GPUFlagsConstant COPY_DST = 0x02;
@@ -244,7 +244,7 @@ namespace GPUTextureUsage {
244
244
  const GPUFlagsConstant RENDER_ATTACHMENT = 0x10;
245
245
  };
246
246
 
247
- [Exposed=(Window, DedicatedWorker), SecureContext]
247
+ [Exposed=(Window, Worker), SecureContext]
248
248
  interface GPUTextureView {
249
249
  };
250
250
  GPUTextureView includes GPUObjectBase;
@@ -396,7 +396,7 @@ enum GPUTextureFormat {
396
396
  "astc-12x12-unorm-srgb",
397
397
  };
398
398
 
399
- [Exposed=(Window, DedicatedWorker), SecureContext]
399
+ [Exposed=(Window, Worker), SecureContext]
400
400
  interface GPUExternalTexture {
401
401
  };
402
402
  GPUExternalTexture includes GPUObjectBase;
@@ -407,7 +407,7 @@ dictionary GPUExternalTextureDescriptor
407
407
  PredefinedColorSpace colorSpace = "srgb";
408
408
  };
409
409
 
410
- [Exposed=(Window, DedicatedWorker), SecureContext]
410
+ [Exposed=(Window, Worker), SecureContext]
411
411
  interface GPUSampler {
412
412
  };
413
413
  GPUSampler includes GPUObjectBase;
@@ -453,7 +453,7 @@ enum GPUCompareFunction {
453
453
  "always",
454
454
  };
455
455
 
456
- [Exposed=(Window, DedicatedWorker), SecureContext]
456
+ [Exposed=(Window, Worker), SecureContext]
457
457
  interface GPUBindGroupLayout {
458
458
  };
459
459
  GPUBindGroupLayout includes GPUObjectBase;
@@ -475,7 +475,7 @@ dictionary GPUBindGroupLayoutEntry {
475
475
  };
476
476
 
477
477
  typedef [EnforceRange] unsigned long GPUShaderStageFlags;
478
- [Exposed=(Window, DedicatedWorker), SecureContext]
478
+ [Exposed=(Window, Worker), SecureContext]
479
479
  namespace GPUShaderStage {
480
480
  const GPUFlagsConstant VERTEX = 0x1;
481
481
  const GPUFlagsConstant FRAGMENT = 0x2;
@@ -533,7 +533,7 @@ dictionary GPUStorageTextureBindingLayout {
533
533
  dictionary GPUExternalTextureBindingLayout {
534
534
  };
535
535
 
536
- [Exposed=(Window, DedicatedWorker), SecureContext]
536
+ [Exposed=(Window, Worker), SecureContext]
537
537
  interface GPUBindGroup {
538
538
  };
539
539
  GPUBindGroup includes GPUObjectBase;
@@ -557,7 +557,7 @@ dictionary GPUBufferBinding {
557
557
  GPUSize64 size;
558
558
  };
559
559
 
560
- [Exposed=(Window, DedicatedWorker), SecureContext]
560
+ [Exposed=(Window, Worker), SecureContext]
561
561
  interface GPUPipelineLayout {
562
562
  };
563
563
  GPUPipelineLayout includes GPUObjectBase;
@@ -567,7 +567,7 @@ dictionary GPUPipelineLayoutDescriptor
567
567
  required sequence<GPUBindGroupLayout> bindGroupLayouts;
568
568
  };
569
569
 
570
- [Exposed=(Window, DedicatedWorker), SecureContext]
570
+ [Exposed=(Window, Worker), SecureContext]
571
571
  interface GPUShaderModule {
572
572
  Promise<GPUCompilationInfo> getCompilationInfo();
573
573
  };
@@ -591,7 +591,7 @@ enum GPUCompilationMessageType {
591
591
  "info",
592
592
  };
593
593
 
594
- [Exposed=(Window, DedicatedWorker), Serializable, SecureContext]
594
+ [Exposed=(Window, Worker), Serializable, SecureContext]
595
595
  interface GPUCompilationMessage {
596
596
  readonly attribute DOMString message;
597
597
  readonly attribute GPUCompilationMessageType type;
@@ -601,12 +601,12 @@ interface GPUCompilationMessage {
601
601
  readonly attribute unsigned long long length;
602
602
  };
603
603
 
604
- [Exposed=(Window, DedicatedWorker), Serializable, SecureContext]
604
+ [Exposed=(Window, Worker), Serializable, SecureContext]
605
605
  interface GPUCompilationInfo {
606
606
  readonly attribute FrozenArray<GPUCompilationMessage> messages;
607
607
  };
608
608
 
609
- [Exposed=(Window, DedicatedWorker), SecureContext, Serializable]
609
+ [Exposed=(Window, Worker), SecureContext, Serializable]
610
610
  interface GPUPipelineError : DOMException {
611
611
  constructor(optional DOMString message = "", GPUPipelineErrorInit options);
612
612
  readonly attribute GPUPipelineErrorReason reason;
@@ -642,7 +642,7 @@ dictionary GPUProgrammableStage {
642
642
 
643
643
  typedef double GPUPipelineConstantValue; // May represent WGSL's bool, f32, i32, u32, and f16 if enabled.
644
644
 
645
- [Exposed=(Window, DedicatedWorker), SecureContext]
645
+ [Exposed=(Window, Worker), SecureContext]
646
646
  interface GPUComputePipeline {
647
647
  };
648
648
  GPUComputePipeline includes GPUObjectBase;
@@ -653,7 +653,7 @@ dictionary GPUComputePipelineDescriptor
653
653
  required GPUProgrammableStage compute;
654
654
  };
655
655
 
656
- [Exposed=(Window, DedicatedWorker), SecureContext]
656
+ [Exposed=(Window, Worker), SecureContext]
657
657
  interface GPURenderPipeline {
658
658
  };
659
659
  GPURenderPipeline includes GPUObjectBase;
@@ -721,7 +721,7 @@ dictionary GPUBlendState {
721
721
  };
722
722
 
723
723
  typedef [EnforceRange] unsigned long GPUColorWriteFlags;
724
- [Exposed=(Window, DedicatedWorker), SecureContext]
724
+ [Exposed=(Window, Worker), SecureContext]
725
725
  namespace GPUColorWrite {
726
726
  const GPUFlagsConstant RED = 0x1;
727
727
  const GPUFlagsConstant GREEN = 0x2;
@@ -895,7 +895,7 @@ dictionary GPUImageCopyExternalImage {
895
895
  boolean flipY = false;
896
896
  };
897
897
 
898
- [Exposed=(Window, DedicatedWorker), SecureContext]
898
+ [Exposed=(Window, Worker), SecureContext]
899
899
  interface GPUCommandBuffer {
900
900
  };
901
901
  GPUCommandBuffer includes GPUObjectBase;
@@ -907,7 +907,7 @@ dictionary GPUCommandBufferDescriptor
907
907
  interface mixin GPUCommandsMixin {
908
908
  };
909
909
 
910
- [Exposed=(Window, DedicatedWorker), SecureContext]
910
+ [Exposed=(Window, Worker), SecureContext]
911
911
  interface GPUCommandEncoder {
912
912
  GPURenderPassEncoder beginRenderPass(GPURenderPassDescriptor descriptor);
913
913
  GPUComputePassEncoder beginComputePass(optional GPUComputePassDescriptor descriptor = {});
@@ -972,7 +972,7 @@ interface mixin GPUDebugCommandsMixin {
972
972
  undefined insertDebugMarker(USVString markerLabel);
973
973
  };
974
974
 
975
- [Exposed=(Window, DedicatedWorker), SecureContext]
975
+ [Exposed=(Window, Worker), SecureContext]
976
976
  interface GPUComputePassEncoder {
977
977
  undefined setPipeline(GPUComputePipeline pipeline);
978
978
  undefined dispatchWorkgroups(GPUSize32 workgroupCountX, optional GPUSize32 workgroupCountY = 1, optional GPUSize32 workgroupCountZ = 1);
@@ -996,7 +996,7 @@ dictionary GPUComputePassDescriptor
996
996
  GPUComputePassTimestampWrites timestampWrites;
997
997
  };
998
998
 
999
- [Exposed=(Window, DedicatedWorker), SecureContext]
999
+ [Exposed=(Window, Worker), SecureContext]
1000
1000
  interface GPURenderPassEncoder {
1001
1001
  undefined setViewport(float x, float y,
1002
1002
  float width, float height,
@@ -1093,7 +1093,7 @@ interface mixin GPURenderCommandsMixin {
1093
1093
  undefined drawIndexedIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
1094
1094
  };
1095
1095
 
1096
- [Exposed=(Window, DedicatedWorker), SecureContext]
1096
+ [Exposed=(Window, Worker), SecureContext]
1097
1097
  interface GPURenderBundle {
1098
1098
  };
1099
1099
  GPURenderBundle includes GPUObjectBase;
@@ -1102,7 +1102,7 @@ dictionary GPURenderBundleDescriptor
1102
1102
  : GPUObjectDescriptorBase {
1103
1103
  };
1104
1104
 
1105
- [Exposed=(Window, DedicatedWorker), SecureContext]
1105
+ [Exposed=(Window, Worker), SecureContext]
1106
1106
  interface GPURenderBundleEncoder {
1107
1107
  GPURenderBundle finish(optional GPURenderBundleDescriptor descriptor = {});
1108
1108
  };
@@ -1122,7 +1122,7 @@ dictionary GPUQueueDescriptor
1122
1122
  : GPUObjectDescriptorBase {
1123
1123
  };
1124
1124
 
1125
- [Exposed=(Window, DedicatedWorker), SecureContext]
1125
+ [Exposed=(Window, Worker), SecureContext]
1126
1126
  interface GPUQueue {
1127
1127
  undefined submit(sequence<GPUCommandBuffer> commandBuffers);
1128
1128
 
@@ -1148,7 +1148,7 @@ interface GPUQueue {
1148
1148
  };
1149
1149
  GPUQueue includes GPUObjectBase;
1150
1150
 
1151
- [Exposed=(Window, DedicatedWorker), SecureContext]
1151
+ [Exposed=(Window, Worker), SecureContext]
1152
1152
  interface GPUQuerySet {
1153
1153
  undefined destroy();
1154
1154
 
@@ -1168,7 +1168,7 @@ enum GPUQueryType {
1168
1168
  "timestamp",
1169
1169
  };
1170
1170
 
1171
- [Exposed=(Window, DedicatedWorker), SecureContext]
1171
+ [Exposed=(Window, Worker), SecureContext]
1172
1172
  interface GPUCanvasContext {
1173
1173
  readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
1174
1174
 
@@ -1197,7 +1197,7 @@ enum GPUDeviceLostReason {
1197
1197
  "destroyed",
1198
1198
  };
1199
1199
 
1200
- [Exposed=(Window, DedicatedWorker), SecureContext]
1200
+ [Exposed=(Window, Worker), SecureContext]
1201
1201
  interface GPUDeviceLostInfo {
1202
1202
  readonly attribute GPUDeviceLostReason reason;
1203
1203
  readonly attribute DOMString message;
@@ -1207,24 +1207,24 @@ partial interface GPUDevice {
1207
1207
  readonly attribute Promise<GPUDeviceLostInfo> lost;
1208
1208
  };
1209
1209
 
1210
- [Exposed=(Window, DedicatedWorker), SecureContext]
1210
+ [Exposed=(Window, Worker), SecureContext]
1211
1211
  interface GPUError {
1212
1212
  readonly attribute DOMString message;
1213
1213
  };
1214
1214
 
1215
- [Exposed=(Window, DedicatedWorker), SecureContext]
1215
+ [Exposed=(Window, Worker), SecureContext]
1216
1216
  interface GPUValidationError
1217
1217
  : GPUError {
1218
1218
  constructor(DOMString message);
1219
1219
  };
1220
1220
 
1221
- [Exposed=(Window, DedicatedWorker), SecureContext]
1221
+ [Exposed=(Window, Worker), SecureContext]
1222
1222
  interface GPUOutOfMemoryError
1223
1223
  : GPUError {
1224
1224
  constructor(DOMString message);
1225
1225
  };
1226
1226
 
1227
- [Exposed=(Window, DedicatedWorker), SecureContext]
1227
+ [Exposed=(Window, Worker), SecureContext]
1228
1228
  interface GPUInternalError
1229
1229
  : GPUError {
1230
1230
  constructor(DOMString message);
@@ -1241,7 +1241,7 @@ partial interface GPUDevice {
1241
1241
  Promise<GPUError?> popErrorScope();
1242
1242
  };
1243
1243
 
1244
- [Exposed=(Window, DedicatedWorker), SecureContext]
1244
+ [Exposed=(Window, Worker), SecureContext]
1245
1245
  interface GPUUncapturedErrorEvent : Event {
1246
1246
  constructor(
1247
1247
  DOMString type,
@@ -1255,7 +1255,7 @@ dictionary GPUUncapturedErrorEventInit : EventInit {
1255
1255
  };
1256
1256
 
1257
1257
  partial interface GPUDevice {
1258
- [Exposed=(Window, DedicatedWorker)]
1258
+ [Exposed=(Window, Worker)]
1259
1259
  attribute EventHandler onuncapturederror;
1260
1260
  };
1261
1261
 
package/webnn.idl CHANGED
@@ -508,7 +508,7 @@ partial interface MLGraphBuilder {
508
508
  };
509
509
 
510
510
  partial interface MLGraphBuilder {
511
- MLOperand reshape(MLOperand input, sequence<unsigned long?> newShape);
511
+ MLOperand reshape(MLOperand input, sequence<unsigned long> newShape);
512
512
  };
513
513
 
514
514
  partial interface MLGraphBuilder {
package/webtransport.idl CHANGED
@@ -93,8 +93,9 @@ dictionary WebTransportConnectionStats {
93
93
  };
94
94
 
95
95
  dictionary WebTransportDatagramStats {
96
- unsigned long long expiredOutgoing;
97
96
  unsigned long long droppedIncoming;
97
+ unsigned long long expiredIncoming;
98
+ unsigned long long expiredOutgoing;
98
99
  unsigned long long lostOutgoing;
99
100
  };
100
101
 
@@ -103,6 +104,7 @@ interface WebTransportSendStream : WritableStream {
103
104
  attribute WebTransportSendGroup? sendGroup;
104
105
  attribute long long sendOrder;
105
106
  Promise<WebTransportSendStreamStats> getStats();
107
+ WebTransportWriter getWriter();
106
108
  };
107
109
 
108
110
  dictionary WebTransportSendStreamStats {
@@ -132,6 +134,11 @@ interface WebTransportBidirectionalStream {
132
134
  readonly attribute WebTransportSendStream writable;
133
135
  };
134
136
 
137
+ [Exposed=*, SecureContext]
138
+ interface WebTransportWriter : WritableStreamDefaultWriter {
139
+ Promise<undefined> atomicWrite(optional any chunk);
140
+ };
141
+
135
142
  [Exposed=(Window,Worker), Serializable, SecureContext]
136
143
  interface WebTransportError : DOMException {
137
144
  constructor(optional DOMString message = "", optional WebTransportErrorOptions options = {});