@webref/idl 3.6.1 → 3.7.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.
@@ -9,7 +9,7 @@ partial interface CSSRule {
9
9
 
10
10
  [Exposed=Window]
11
11
  interface CSSConditionRule : CSSGroupingRule {
12
- attribute CSSOMString conditionText;
12
+ readonly attribute CSSOMString conditionText;
13
13
  };
14
14
 
15
15
  [Exposed=Window]
package/html.idl CHANGED
@@ -225,6 +225,7 @@ interface HTMLMetaElement : HTMLElement {
225
225
  interface HTMLStyleElement : HTMLElement {
226
226
  [HTMLConstructor] constructor();
227
227
 
228
+ attribute boolean disabled;
228
229
  [CEReactions] attribute DOMString media;
229
230
  [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
230
231
 
@@ -76,8 +76,6 @@ interface NavigationTransition {
76
76
  readonly attribute NavigationType navigationType;
77
77
  readonly attribute NavigationHistoryEntry from;
78
78
  readonly attribute Promise<undefined> finished;
79
-
80
- NavigationResult rollback(optional NavigationOptions options = {});
81
79
  };
82
80
 
83
81
  [Exposed=Window]
@@ -154,8 +152,5 @@ interface NavigationHistoryEntry : EventTarget {
154
152
 
155
153
  any getState();
156
154
 
157
- attribute EventHandler onnavigateto;
158
- attribute EventHandler onnavigatefrom;
159
- attribute EventHandler onfinish;
160
155
  attribute EventHandler ondispose;
161
156
  };
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.6.1",
4
+ "version": "3.7.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -7,9 +7,15 @@ partial interface MediaDevices {
7
7
  Promise<MediaStream> getDisplayMedia(optional DisplayMediaStreamConstraints constraints = {});
8
8
  };
9
9
 
10
+ enum SelfCapturePreferenceEnum {
11
+ "include",
12
+ "exclude"
13
+ };
14
+
10
15
  dictionary DisplayMediaStreamConstraints {
11
16
  (boolean or MediaTrackConstraints) video = true;
12
17
  (boolean or MediaTrackConstraints) audio = false;
18
+ SelfCapturePreferenceEnum selfBrowserSurface;
13
19
  };
14
20
 
15
21
  partial dictionary MediaTrackSupportedConstraints {
@@ -44,7 +50,6 @@ partial dictionary MediaTrackCapabilities {
44
50
  enum DisplayCaptureSurfaceType {
45
51
  "monitor",
46
52
  "window",
47
- "application",
48
53
  "browser"
49
54
  };
50
55
 
package/web-bluetooth.idl CHANGED
@@ -89,6 +89,7 @@ interface BluetoothDevice : EventTarget {
89
89
  readonly attribute DOMString? name;
90
90
  readonly attribute BluetoothRemoteGATTServer? gatt;
91
91
 
92
+ Promise<undefined> forget();
92
93
  Promise<undefined> watchAdvertisements(
93
94
  optional WatchAdvertisementsOptions options = {});
94
95
  readonly attribute boolean watchingAdvertisements;
@@ -0,0 +1,8 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Secure Curves in the Web Cryptography API (https://wicg.github.io/webcrypto-secure-curves/)
5
+
6
+ dictionary Ed448Params : Algorithm {
7
+ BufferSource context;
8
+ };
package/webgpu.idl CHANGED
@@ -96,6 +96,7 @@ enum GPUFeatureName {
96
96
  "texture-compression-astc",
97
97
  "timestamp-query",
98
98
  "indirect-first-instance",
99
+ "shader-f16",
99
100
  };
100
101
 
101
102
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -570,7 +571,7 @@ dictionary GPUProgrammableStage {
570
571
  record<USVString, GPUPipelineConstantValue> constants;
571
572
  };
572
573
 
573
- typedef double GPUPipelineConstantValue; // May represent WGSL’s bool, f32, i32, u32.
574
+ typedef double GPUPipelineConstantValue; // May represent WGSL’s bool, f32, i32, u32, and f16 if enabled.
574
575
 
575
576
  [Exposed=(Window, DedicatedWorker), SecureContext]
576
577
  interface GPUComputePipeline {
@@ -871,7 +872,7 @@ dictionary GPUImageCopyExternalImage {
871
872
  boolean flipY = false;
872
873
  };
873
874
 
874
- interface mixin GPUProgrammablePassEncoder {
875
+ interface mixin GPUBindingCommandsMixin {
875
876
  undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
876
877
  optional sequence<GPUBufferDynamicOffset> dynamicOffsets = []);
877
878
 
@@ -898,7 +899,7 @@ interface GPUComputePassEncoder {
898
899
  GPUComputePassEncoder includes GPUObjectBase;
899
900
  GPUComputePassEncoder includes GPUCommandsMixin;
900
901
  GPUComputePassEncoder includes GPUDebugCommandsMixin;
901
- GPUComputePassEncoder includes GPUProgrammablePassEncoder;
902
+ GPUComputePassEncoder includes GPUBindingCommandsMixin;
902
903
 
903
904
  enum GPUComputePassTimestampLocation {
904
905
  "beginning",
@@ -917,23 +918,6 @@ dictionary GPUComputePassDescriptor : GPUObjectDescriptorBase {
917
918
  GPUComputePassTimestampWrites timestampWrites = [];
918
919
  };
919
920
 
920
- interface mixin GPURenderEncoderBase {
921
- undefined setPipeline(GPURenderPipeline pipeline);
922
-
923
- undefined setIndexBuffer(GPUBuffer buffer, GPUIndexFormat indexFormat, optional GPUSize64 offset = 0, optional GPUSize64 size);
924
- undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
925
-
926
- undefined draw(GPUSize32 vertexCount, optional GPUSize32 instanceCount = 1,
927
- optional GPUSize32 firstVertex = 0, optional GPUSize32 firstInstance = 0);
928
- undefined drawIndexed(GPUSize32 indexCount, optional GPUSize32 instanceCount = 1,
929
- optional GPUSize32 firstIndex = 0,
930
- optional GPUSignedOffset32 baseVertex = 0,
931
- optional GPUSize32 firstInstance = 0);
932
-
933
- undefined drawIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
934
- undefined drawIndexedIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
935
- };
936
-
937
921
  [Exposed=(Window, DedicatedWorker), SecureContext]
938
922
  interface GPURenderPassEncoder {
939
923
  undefined setViewport(float x, float y,
@@ -955,8 +939,8 @@ interface GPURenderPassEncoder {
955
939
  GPURenderPassEncoder includes GPUObjectBase;
956
940
  GPURenderPassEncoder includes GPUCommandsMixin;
957
941
  GPURenderPassEncoder includes GPUDebugCommandsMixin;
958
- GPURenderPassEncoder includes GPUProgrammablePassEncoder;
959
- GPURenderPassEncoder includes GPURenderEncoderBase;
942
+ GPURenderPassEncoder includes GPUBindingCommandsMixin;
943
+ GPURenderPassEncoder includes GPURenderCommandsMixin;
960
944
 
961
945
  enum GPURenderPassTimestampLocation {
962
946
  "beginning",
@@ -1017,6 +1001,23 @@ dictionary GPURenderPassLayout: GPUObjectDescriptorBase {
1017
1001
  GPUSize32 sampleCount = 1;
1018
1002
  };
1019
1003
 
1004
+ interface mixin GPURenderCommandsMixin {
1005
+ undefined setPipeline(GPURenderPipeline pipeline);
1006
+
1007
+ undefined setIndexBuffer(GPUBuffer buffer, GPUIndexFormat indexFormat, optional GPUSize64 offset = 0, optional GPUSize64 size);
1008
+ undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
1009
+
1010
+ undefined draw(GPUSize32 vertexCount, optional GPUSize32 instanceCount = 1,
1011
+ optional GPUSize32 firstVertex = 0, optional GPUSize32 firstInstance = 0);
1012
+ undefined drawIndexed(GPUSize32 indexCount, optional GPUSize32 instanceCount = 1,
1013
+ optional GPUSize32 firstIndex = 0,
1014
+ optional GPUSignedOffset32 baseVertex = 0,
1015
+ optional GPUSize32 firstInstance = 0);
1016
+
1017
+ undefined drawIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
1018
+ undefined drawIndexedIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
1019
+ };
1020
+
1020
1021
  [Exposed=(Window, DedicatedWorker), SecureContext]
1021
1022
  interface GPURenderBundle {
1022
1023
  };
@@ -1032,8 +1033,8 @@ interface GPURenderBundleEncoder {
1032
1033
  GPURenderBundleEncoder includes GPUObjectBase;
1033
1034
  GPURenderBundleEncoder includes GPUCommandsMixin;
1034
1035
  GPURenderBundleEncoder includes GPUDebugCommandsMixin;
1035
- GPURenderBundleEncoder includes GPUProgrammablePassEncoder;
1036
- GPURenderBundleEncoder includes GPURenderEncoderBase;
1036
+ GPURenderBundleEncoder includes GPUBindingCommandsMixin;
1037
+ GPURenderBundleEncoder includes GPURenderCommandsMixin;
1037
1038
 
1038
1039
  dictionary GPURenderBundleEncoderDescriptor : GPURenderPassLayout {
1039
1040
  boolean depthReadOnly = false;