@webref/idl 3.33.4 → 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/package.json +1 -1
- package/real-world-meshing.idl +21 -0
- package/resource-timing.idl +1 -0
- package/shared-storage.idl +80 -0
- package/storage-buckets.idl +53 -0
- package/url.idl +2 -2
package/package.json
CHANGED
|
@@ -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
|
+
};
|
package/resource-timing.idl
CHANGED
|
@@ -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
|
+
};
|
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();
|