@webref/idl 3.65.5 → 3.66.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/IndexedDB.idl +19 -4
- package/{cookie-store.idl → cookiestore.idl} +1 -1
- package/fetch.idl +13 -0
- package/fs.idl +1 -1
- package/html.idl +331 -326
- package/mediaqueries-5.idl +8 -0
- package/notifications.idl +3 -0
- package/package.json +2 -2
- package/shared-storage.idl +1 -1
- package/streams.idl +1 -1
- package/webidl.idl +13 -0
- package/webnn.idl +2 -0
- package/webrtc-identity.idl +1 -1
- package/webrtc-stats.idl +1 -1
package/IndexedDB.idl
CHANGED
|
@@ -108,10 +108,11 @@ interface IDBObjectStore {
|
|
|
108
108
|
[NewObject] IDBRequest clear();
|
|
109
109
|
[NewObject] IDBRequest get(any query);
|
|
110
110
|
[NewObject] IDBRequest getKey(any query);
|
|
111
|
-
[NewObject] IDBRequest getAll(optional any
|
|
111
|
+
[NewObject] IDBRequest getAll(optional any queryOrOptions,
|
|
112
112
|
optional [EnforceRange] unsigned long count);
|
|
113
|
-
[NewObject] IDBRequest getAllKeys(optional any
|
|
113
|
+
[NewObject] IDBRequest getAllKeys(optional any queryOrOptions,
|
|
114
114
|
optional [EnforceRange] unsigned long count);
|
|
115
|
+
[NewObject] IDBRequest getAllRecords(optional IDBGetAllOptions options = {});
|
|
115
116
|
[NewObject] IDBRequest count(optional any query);
|
|
116
117
|
|
|
117
118
|
[NewObject] IDBRequest openCursor(optional any query,
|
|
@@ -132,6 +133,12 @@ dictionary IDBIndexParameters {
|
|
|
132
133
|
boolean multiEntry = false;
|
|
133
134
|
};
|
|
134
135
|
|
|
136
|
+
dictionary IDBGetAllOptions {
|
|
137
|
+
any query = null;
|
|
138
|
+
[EnforceRange] unsigned long count;
|
|
139
|
+
IDBCursorDirection direction = "next";
|
|
140
|
+
};
|
|
141
|
+
|
|
135
142
|
[Exposed=(Window,Worker)]
|
|
136
143
|
interface IDBIndex {
|
|
137
144
|
attribute DOMString name;
|
|
@@ -142,10 +149,11 @@ interface IDBIndex {
|
|
|
142
149
|
|
|
143
150
|
[NewObject] IDBRequest get(any query);
|
|
144
151
|
[NewObject] IDBRequest getKey(any query);
|
|
145
|
-
[NewObject] IDBRequest getAll(optional any
|
|
152
|
+
[NewObject] IDBRequest getAll(optional any queryOrOptions,
|
|
146
153
|
optional [EnforceRange] unsigned long count);
|
|
147
|
-
[NewObject] IDBRequest getAllKeys(optional any
|
|
154
|
+
[NewObject] IDBRequest getAllKeys(optional any queryOrOptions,
|
|
148
155
|
optional [EnforceRange] unsigned long count);
|
|
156
|
+
[NewObject] IDBRequest getAllRecords(optional IDBGetAllOptions options = {});
|
|
149
157
|
[NewObject] IDBRequest count(optional any query);
|
|
150
158
|
|
|
151
159
|
[NewObject] IDBRequest openCursor(optional any query,
|
|
@@ -173,6 +181,13 @@ interface IDBKeyRange {
|
|
|
173
181
|
boolean includes(any key);
|
|
174
182
|
};
|
|
175
183
|
|
|
184
|
+
[Exposed=(Window,Worker)]
|
|
185
|
+
interface IDBRecord {
|
|
186
|
+
readonly attribute any key;
|
|
187
|
+
readonly attribute any primaryKey;
|
|
188
|
+
readonly attribute any value;
|
|
189
|
+
};
|
|
190
|
+
|
|
176
191
|
[Exposed=(Window,Worker)]
|
|
177
192
|
interface IDBCursor {
|
|
178
193
|
readonly attribute (IDBObjectStore or IDBIndex) source;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED CONTENT - DO NOT EDIT
|
|
2
2
|
// Content was automatically extracted by Reffy into webref
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: Cookie Store API (https://
|
|
4
|
+
// Source: Cookie Store API Standard (https://cookiestore.spec.whatwg.org/)
|
|
5
5
|
|
|
6
6
|
[Exposed=(ServiceWorker,Window),
|
|
7
7
|
SecureContext]
|
package/fetch.idl
CHANGED
|
@@ -116,3 +116,16 @@ enum ResponseType { "basic", "cors", "default", "error", "opaque", "opaqueredire
|
|
|
116
116
|
partial interface mixin WindowOrWorkerGlobalScope {
|
|
117
117
|
[NewObject] Promise<Response> fetch(RequestInfo input, optional RequestInit init = {});
|
|
118
118
|
};
|
|
119
|
+
|
|
120
|
+
dictionary DeferredRequestInit : RequestInit {
|
|
121
|
+
DOMHighResTimeStamp activateAfter;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
[Exposed=Window]
|
|
125
|
+
interface FetchLaterResult {
|
|
126
|
+
readonly attribute boolean activated;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
partial interface Window {
|
|
130
|
+
[NewObject] FetchLaterResult fetchLater(RequestInfo input, optional DeferredRequestInit init = {});
|
|
131
|
+
};
|
package/fs.idl
CHANGED
|
@@ -42,7 +42,7 @@ dictionary FileSystemRemoveOptions {
|
|
|
42
42
|
|
|
43
43
|
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
44
44
|
interface FileSystemDirectoryHandle : FileSystemHandle {
|
|
45
|
-
|
|
45
|
+
async_iterable<USVString, FileSystemHandle>;
|
|
46
46
|
|
|
47
47
|
Promise<FileSystemFileHandle> getFileHandle(USVString name, optional FileSystemGetFileOptions options = {});
|
|
48
48
|
Promise<FileSystemDirectoryHandle> getDirectoryHandle(USVString name, optional FileSystemGetDirectoryOptions options = {});
|