@webref/idl 3.33.3 → 3.34.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.
package/fenced-frame.idl CHANGED
@@ -10,6 +10,7 @@ interface HTMLFencedFrameElement : HTMLElement {
10
10
  [CEReactions] attribute FencedFrameConfig? config;
11
11
  [CEReactions] attribute DOMString width;
12
12
  [CEReactions] attribute DOMString height;
13
+ [CEReactions] attribute DOMString allow;
13
14
  };
14
15
 
15
16
  enum OpaqueProperty {"opaque"};
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.33.3",
4
+ "version": "3.34.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -0,0 +1,21 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: WebXR Mesh Detection Module (https://immersive-web.github.io/real-world-meshing/)
5
+
6
+ [Exposed=Window] interface XRMesh {
7
+ [SameObject] readonly attribute XRSpace meshSpace;
8
+
9
+ readonly attribute FrozenArray<Float32Array> vertices;
10
+ readonly attribute Uint32Array indices;
11
+ readonly attribute DOMHighResTimeStamp lastChangedTime;
12
+ readonly attribute DOMString? semanticLabel;
13
+ };
14
+
15
+ [Exposed=Window] interface XRMeshSet {
16
+ readonly setlike<XRMesh>;
17
+ };
18
+
19
+ partial interface XRFrame {
20
+ readonly attribute XRMeshSet detectedMeshs;
21
+ };
@@ -18,6 +18,7 @@ interface PerformanceResourceTiming : PerformanceEntry {
18
18
  readonly attribute DOMHighResTimeStamp connectEnd;
19
19
  readonly attribute DOMHighResTimeStamp secureConnectionStart;
20
20
  readonly attribute DOMHighResTimeStamp requestStart;
21
+ readonly attribute DOMHighResTimeStamp firstInterimResponseStart;
21
22
  readonly attribute DOMHighResTimeStamp responseStart;
22
23
  readonly attribute DOMHighResTimeStamp responseEnd;
23
24
  readonly attribute unsigned long long transferSize;
@@ -0,0 +1,80 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Shared Storage API (https://wicg.github.io/shared-storage/)
5
+
6
+ [Exposed=(Window)]
7
+ interface SharedStorageWorklet : Worklet {
8
+ };
9
+
10
+ [Exposed=SharedStorageWorklet, Global=SharedStorageWorklet]
11
+ interface SharedStorageWorkletGlobalScope : WorkletGlobalScope {
12
+ undefined register(DOMString name,
13
+ SharedStorageOperationConstructor operationCtor);
14
+ };
15
+
16
+ callback SharedStorageOperationConstructor =
17
+ SharedStorageOperation(optional SharedStorageRunOperationMethodOptions options);
18
+
19
+ [Exposed=SharedStorageWorklet]
20
+ interface SharedStorageOperation {
21
+ };
22
+
23
+ dictionary SharedStorageRunOperationMethodOptions {
24
+ object data;
25
+ boolean resolveToConfig = false;
26
+ boolean keepAlive = false;
27
+ };
28
+
29
+ [Exposed=SharedStorageWorklet]
30
+ interface SharedStorageRunOperation : SharedStorageOperation {
31
+ Promise<undefined> run(object data);
32
+ };
33
+
34
+ [Exposed=SharedStorageWorklet]
35
+ interface SharedStorageSelectURLOperation : SharedStorageOperation {
36
+ Promise<long> run(object data,
37
+ FrozenArray<SharedStorageUrlWithMetadata> urls);
38
+ };
39
+
40
+ [Exposed=(Window,SharedStorageWorklet)]
41
+ interface SharedStorage {
42
+ Promise<any> set(DOMString key,
43
+ DOMString value,
44
+ optional SharedStorageSetMethodOptions options = {});
45
+ Promise<any> append(DOMString key,
46
+ DOMString value);
47
+ Promise<any> delete(DOMString key);
48
+ Promise<any> clear();
49
+ };
50
+
51
+ dictionary SharedStorageSetMethodOptions {
52
+ boolean ignoreIfPresent = false;
53
+ };
54
+
55
+ typedef (USVString or FencedFrameConfig) SharedStorageResponse;
56
+
57
+ [Exposed=(Window)]
58
+ interface WindowSharedStorage : SharedStorage {
59
+ Promise<any> run(DOMString name,
60
+ optional SharedStorageRunOperationMethodOptions options = {});
61
+ Promise<SharedStorageResponse> selectURL(DOMString name,
62
+ FrozenArray<SharedStorageUrlWithMetadata> urls,
63
+ optional SharedStorageRunOperationMethodOptions options = {});
64
+
65
+ readonly attribute SharedStorageWorklet worklet;
66
+ };
67
+
68
+ dictionary SharedStorageUrlWithMetadata {
69
+ required USVString url;
70
+ object reportingMetadata;
71
+ };
72
+
73
+ [Exposed=(SharedStorageWorklet)]
74
+ interface WorkletSharedStorage : SharedStorage {
75
+ Promise<DOMString> get(DOMString key);
76
+ Promise<unsigned long> length();
77
+ Promise<double> remainingBudget();
78
+
79
+ async iterable<DOMString, DOMString>;
80
+ };
@@ -0,0 +1,53 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Storage Buckets API (https://wicg.github.io/storage-buckets/)
5
+
6
+ [SecureContext]
7
+ interface mixin NavigatorStorageBuckets {
8
+ [SameObject] readonly attribute StorageBucketManager storageBuckets;
9
+ };
10
+ Navigator includes NavigatorStorageBuckets;
11
+ WorkerNavigator includes NavigatorStorageBuckets;
12
+
13
+ [Exposed=(Window,Worker),
14
+ SecureContext]
15
+ interface StorageBucketManager {
16
+ Promise<StorageBucket> open(DOMString name, optional StorageBucketOptions options = {});
17
+ Promise<sequence<DOMString>> keys();
18
+ Promise<undefined> delete(DOMString name);
19
+ };
20
+
21
+ enum StorageBucketDurability {
22
+ "strict",
23
+ "relaxed"
24
+ };
25
+
26
+ dictionary StorageBucketOptions {
27
+ boolean? persisted = null;
28
+ StorageBucketDurability? durability = null;
29
+ unsigned long long? quota = null;
30
+ DOMHighResTimeStamp? expires = null;
31
+ };
32
+
33
+ [Exposed=(Window,Worker),
34
+ SecureContext]
35
+ interface StorageBucket {
36
+ readonly attribute DOMString name;
37
+
38
+ [Exposed=Window] Promise<boolean> persist();
39
+ Promise<boolean> persisted();
40
+
41
+ Promise<StorageEstimate> estimate();
42
+
43
+ Promise<StorageBucketDurability> durability();
44
+
45
+ Promise<undefined> setExpires(DOMHighResTimeStamp expires);
46
+ Promise<DOMHighResTimeStamp?> expires();
47
+
48
+ [SameObject] readonly attribute IDBFactory indexedDB;
49
+
50
+ [SameObject] readonly attribute CacheStorage caches;
51
+
52
+ Promise<FileSystemDirectoryHandle> getDirectory();
53
+ };
@@ -5,14 +5,11 @@
5
5
 
6
6
  enum RefreshPolicy { "none", "refresh" };
7
7
 
8
- enum TokenType { "private-state-token" };
9
-
10
8
  enum TokenVersion { "1" };
11
9
 
12
10
  enum OperationType { "token-request", "send-redemption-record", "token-redemption" };
13
11
 
14
12
  dictionary PrivateToken {
15
- required TokenType type;
16
13
  required TokenVersion version;
17
14
  required OperationType operation;
18
15
  RefreshPolicy refreshPolicy = "none";
@@ -24,6 +21,6 @@ partial dictionary RequestInit {
24
21
  };
25
22
 
26
23
  partial interface Document {
27
- Promise<boolean> hasPrivateTokens(USVString issuer, USVString type);
28
- Promise<boolean> hasRedemptionRecord(USVString issuer, USVString type);
24
+ Promise<boolean> hasPrivateTokens(USVString issuer);
25
+ Promise<boolean> hasRedemptionRecord(USVString issuer);
29
26
  };
package/turtledove.idl CHANGED
@@ -25,7 +25,7 @@ dictionary AuctionAdInterestGroup {
25
25
  DOMString executionMode = "compatibility";
26
26
  USVString biddingLogicURL;
27
27
  USVString biddingWasmHelperURL;
28
- USVString dailyUpdateURL;
28
+ USVString updateURL;
29
29
  USVString trustedBiddingSignalsURL;
30
30
  sequence<USVString> trustedBiddingSignalsKeys;
31
31
  any userBiddingSignals;
package/url.idl CHANGED
@@ -33,10 +33,10 @@ interface URLSearchParams {
33
33
  readonly attribute unsigned long size;
34
34
 
35
35
  undefined append(USVString name, USVString value);
36
- undefined delete(USVString name);
36
+ undefined delete(USVString name, optional USVString value);
37
37
  USVString? get(USVString name);
38
38
  sequence<USVString> getAll(USVString name);
39
- boolean has(USVString name);
39
+ boolean has(USVString name, optional USVString value);
40
40
  undefined set(USVString name, USVString value);
41
41
 
42
42
  undefined sort();
package/webgpu.idl CHANGED
@@ -974,22 +974,15 @@ GPUComputePassEncoder includes GPUCommandsMixin;
974
974
  GPUComputePassEncoder includes GPUDebugCommandsMixin;
975
975
  GPUComputePassEncoder includes GPUBindingCommandsMixin;
976
976
 
977
- enum GPUComputePassTimestampLocation {
978
- "beginning",
979
- "end",
980
- };
981
-
982
- dictionary GPUComputePassTimestampWrite {
977
+ dictionary GPUComputePassTimestampWrites {
983
978
  required GPUQuerySet querySet;
984
- required GPUSize32 queryIndex;
985
- required GPUComputePassTimestampLocation location;
979
+ GPUSize32 beginningOfPassWriteIndex;
980
+ GPUSize32 endOfPassWriteIndex;
986
981
  };
987
982
 
988
- typedef sequence<GPUComputePassTimestampWrite> GPUComputePassTimestampWrites;
989
-
990
983
  dictionary GPUComputePassDescriptor
991
984
  : GPUObjectDescriptorBase {
992
- GPUComputePassTimestampWrites timestampWrites = [];
985
+ GPUComputePassTimestampWrites timestampWrites;
993
986
  };
994
987
 
995
988
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -1016,25 +1009,18 @@ GPURenderPassEncoder includes GPUDebugCommandsMixin;
1016
1009
  GPURenderPassEncoder includes GPUBindingCommandsMixin;
1017
1010
  GPURenderPassEncoder includes GPURenderCommandsMixin;
1018
1011
 
1019
- enum GPURenderPassTimestampLocation {
1020
- "beginning",
1021
- "end",
1022
- };
1023
-
1024
- dictionary GPURenderPassTimestampWrite {
1012
+ dictionary GPURenderPassTimestampWrites {
1025
1013
  required GPUQuerySet querySet;
1026
- required GPUSize32 queryIndex;
1027
- required GPURenderPassTimestampLocation location;
1014
+ GPUSize32 beginningOfPassWriteIndex;
1015
+ GPUSize32 endOfPassWriteIndex;
1028
1016
  };
1029
1017
 
1030
- typedef sequence<GPURenderPassTimestampWrite> GPURenderPassTimestampWrites;
1031
-
1032
1018
  dictionary GPURenderPassDescriptor
1033
1019
  : GPUObjectDescriptorBase {
1034
1020
  required sequence<GPURenderPassColorAttachment?> colorAttachments;
1035
1021
  GPURenderPassDepthStencilAttachment depthStencilAttachment;
1036
1022
  GPUQuerySet occlusionQuerySet;
1037
- GPURenderPassTimestampWrites timestampWrites = [];
1023
+ GPURenderPassTimestampWrites timestampWrites;
1038
1024
  GPUSize64 maxDrawCount = 50000000;
1039
1025
  };
1040
1026
 
package/webxrlayers.idl CHANGED
@@ -11,6 +11,12 @@ enum XRLayerLayout {
11
11
  "stereo-top-bottom"
12
12
  };
13
13
 
14
+ enum XRLayerQuality {
15
+ "default",
16
+ "text-optimized",
17
+ "graphics-optimized"
18
+ };
19
+
14
20
  [Exposed=Window] interface XRCompositionLayer : XRLayer {
15
21
  readonly attribute XRLayerLayout layout;
16
22
 
@@ -18,6 +24,7 @@ enum XRLayerLayout {
18
24
  attribute boolean forceMonoPresentation;
19
25
  attribute float opacity;
20
26
  readonly attribute unsigned long mipLevels;
27
+ attribute XRLayerQuality quality;
21
28
 
22
29
  readonly attribute boolean needsRedraw;
23
30
 
@@ -106,6 +113,7 @@ dictionary XRProjectionLayerInit {
106
113
  GLenum colorFormat = 0x1908; // RGBA
107
114
  GLenum depthFormat = 0x1902; // DEPTH_COMPONENT
108
115
  double scaleFactor = 1.0;
116
+ boolean clearOnAccess = true;
109
117
  };
110
118
 
111
119
  dictionary XRLayerInit {
@@ -117,6 +125,7 @@ dictionary XRLayerInit {
117
125
  required unsigned long viewPixelHeight;
118
126
  XRLayerLayout layout = "mono";
119
127
  boolean isStatic = false;
128
+ boolean clearOnAccess = true;
120
129
  };
121
130
 
122
131
  dictionary XRQuadLayerInit : XRLayerInit {