@webref/idl 3.43.0 → 3.43.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.
@@ -37,7 +37,7 @@ dictionary ContactsSelectOptions {
37
37
  boolean multiple = false;
38
38
  };
39
39
 
40
- [Exposed=Window,SecureContext]
40
+ [Exposed=Window, SecureContext]
41
41
  interface ContactsManager {
42
42
  Promise<sequence<ContactProperty>> getProperties();
43
43
  Promise<sequence<ContactInfo>> select(sequence<ContactProperty> properties, optional ContactsSelectOptions options = {});
@@ -4,11 +4,7 @@
4
4
  // Source: CSS Anchor Positioning (https://drafts.csswg.org/css-anchor-position-1/)
5
5
 
6
6
  [Exposed=Window]
7
- interface CSSPositionFallbackRule : CSSGroupingRule {
7
+ interface CSSPositionTryRule : CSSRule {
8
8
  readonly attribute CSSOMString name;
9
- };
10
-
11
- [Exposed=Window]
12
- interface CSSTryRule : CSSRule {
13
9
  [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
14
10
  };
package/css-fonts.idl CHANGED
@@ -19,6 +19,7 @@ interface CSSFontFeatureValuesRule : CSSRule {
19
19
  readonly attribute CSSFontFeatureValuesMap swash;
20
20
  readonly attribute CSSFontFeatureValuesMap characterVariant;
21
21
  readonly attribute CSSFontFeatureValuesMap styleset;
22
+ readonly attribute CSSFontFeatureValuesMap historicalForms;
22
23
  };
23
24
 
24
25
  [Exposed=Window]
package/edit-context.idl CHANGED
@@ -59,7 +59,7 @@ interface TextUpdateEvent : Event {
59
59
  readonly attribute unsigned long selectionEnd;
60
60
  };
61
61
 
62
- enum UnderlineStyle { "none", "solid", "double", "dotted", "dashed", "wavy" };
62
+ enum UnderlineStyle { "none", "solid", "dotted", "dashed", "wavy" };
63
63
  enum UnderlineThickness { "none", "thin", "thick" };
64
64
 
65
65
  dictionary TextFormatInit {
package/html.idl CHANGED
@@ -1243,6 +1243,7 @@ interface HTMLTemplateElement : HTMLElement {
1243
1243
  readonly attribute DocumentFragment content;
1244
1244
  [CEReactions] attribute DOMString shadowRootMode;
1245
1245
  [CEReactions] attribute boolean shadowRootDelegatesFocus;
1246
+ [CEReactions] attribute boolean shadowRootClonable;
1246
1247
  };
1247
1248
 
1248
1249
  [Exposed=Window]
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.43.0",
4
+ "version": "3.43.2",
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;
@@ -98,11 +100,24 @@ partial interface Navigator {
98
100
  interface InterestGroupScriptRunnerGlobalScope {
99
101
  };
100
102
 
103
+ [Exposed=InterestGroupBiddingAndScoringScriptRunnerGlobalScope]
104
+ interface ForDebuggingOnly {
105
+ undefined reportAdAuctionWin(USVString url);
106
+ undefined reportAdAuctionLoss(USVString url);
107
+ };
108
+
109
+ [Exposed=InterestGroupBiddingAndScoringScriptRunnerGlobalScope,
110
+ Global=InterestGroupBiddingAndScoringScriptRunnerGlobalScope]
111
+ interface InterestGroupBiddingAndScoringScriptRunnerGlobalScope : InterestGroupScriptRunnerGlobalScope {
112
+
113
+ readonly attribute ForDebuggingOnly forDebuggingOnly;
114
+ };
115
+
101
116
  [Exposed=InterestGroupBiddingScriptRunnerGlobalScope,
102
117
  Global=(InterestGroupScriptRunnerGlobalScope,
103
118
  InterestGroupBiddingScriptRunnerGlobalScope)]
104
119
  interface InterestGroupBiddingScriptRunnerGlobalScope
105
- : InterestGroupScriptRunnerGlobalScope {
120
+ : InterestGroupBiddingAndScoringScriptRunnerGlobalScope {
106
121
  boolean setBid(optional GenerateBidOutput generateBidOutput = {});
107
122
  undefined setPriority(double priority);
108
123
  undefined setPrioritySignalsOverride(DOMString key, optional double? priority);
@@ -129,7 +144,7 @@ dictionary GenerateBidOutput {
129
144
  Global=(InterestGroupScriptRunnerGlobalScope,
130
145
  InterestGroupScoringScriptRunnerGlobalScope)]
131
146
  interface InterestGroupScoringScriptRunnerGlobalScope
132
- : InterestGroupScriptRunnerGlobalScope {
147
+ : InterestGroupBiddingAndScoringScriptRunnerGlobalScope {
133
148
  };
134
149
 
135
150
  [Exposed=InterestGroupReportingScriptRunnerGlobalScope,
@@ -147,6 +162,16 @@ partial interface Navigator {
147
162
  undefined updateAdInterestGroups();
148
163
  };
149
164
 
165
+ [SecureContext]
166
+ partial interface Navigator {
167
+ [SameObject] readonly attribute ProtectedAudience protectedAudience;
168
+ };
169
+
170
+ [SecureContext, Exposed=Window]
171
+ interface ProtectedAudience {
172
+ any queryFeatureSupport(DOMString feature);
173
+ };
174
+
150
175
  partial dictionary RequestInit {
151
176
  boolean adAuctionHeaders;
152
177
  };
@@ -166,6 +191,7 @@ dictionary BiddingBrowserSignals {
166
191
  required long joinCount;
167
192
  required long bidCount;
168
193
  required long recency;
194
+ required long adComponentsLimit;
169
195
 
170
196
  USVString topLevelSeller;
171
197
  sequence<PreviousWin> prevWinsMs;
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
@@ -40,25 +40,6 @@ interface ML {
40
40
  interface MLActivation {
41
41
  };
42
42
 
43
- typedef (GPUBuffer or GPUTexture) MLGPUResource;
44
-
45
- typedef record<DOMString, MLGPUResource> MLNamedGPUResources;
46
-
47
- [SecureContext, Exposed=(Window, DedicatedWorker)]
48
- interface MLCommandEncoder {};
49
-
50
- partial interface MLCommandEncoder {
51
- undefined initializeGraph(MLGraph graph);
52
- };
53
-
54
- partial interface MLCommandEncoder {
55
- undefined dispatch(MLGraph graph, MLNamedGPUResources inputs, MLNamedGPUResources outputs);
56
- };
57
-
58
- partial interface MLCommandEncoder {
59
- GPUCommandBuffer finish(optional GPUCommandBufferDescriptor descriptor = {});
60
- };
61
-
62
43
  typedef record<DOMString, ArrayBufferView> MLNamedArrayBufferViews;
63
44
 
64
45
  [SecureContext, Exposed=(Window, DedicatedWorker)]
@@ -80,10 +61,6 @@ partial interface MLContext {
80
61
  MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
81
62
  };
82
63
 
83
- partial interface MLContext {
84
- MLCommandEncoder createCommandEncoder();
85
- };
86
-
87
64
  [SecureContext, Exposed=(Window, DedicatedWorker)]
88
65
  interface MLGraph {};
89
66
 
@@ -120,7 +97,7 @@ interface MLGraphBuilder {
120
97
  };
121
98
 
122
99
  dictionary MLArgMinMaxOptions {
123
- sequence<unsigned long> axes = null;
100
+ sequence<unsigned long> axes;
124
101
  boolean keepDimensions = false;
125
102
  boolean selectLastIndex = false;
126
103
  };
@@ -469,7 +446,7 @@ partial interface MLGraphBuilder {
469
446
  };
470
447
 
471
448
  dictionary MLReduceOptions {
472
- sequence<unsigned long> axes = null;
449
+ sequence<unsigned long> axes;
473
450
  boolean keepDimensions = false;
474
451
  };
475
452
 
@@ -607,5 +584,5 @@ dictionary MLOperandDescriptor {
607
584
  required MLOperandDataType dataType;
608
585
 
609
586
  // The dimensions field is only required for tensor operands.
610
- sequence<unsigned long> dimensions;
587
+ sequence<unsigned long> dimensions = [];
611
588
  };
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 = {});