@webref/idl 3.66.0 → 3.66.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.
- package/IndexedDB.idl +19 -4
- package/cookiestore.idl +0 -6
- package/crash-reporting.idl +4 -4
- package/css-typed-om.idl +2 -2
- package/element-timing.idl +1 -1
- package/fedcm.idl +3 -4
- package/fetch.idl +13 -0
- package/html.idl +329 -329
- package/largest-contentful-paint.idl +1 -0
- package/notifications.idl +3 -0
- package/package.json +1 -1
- package/privacy-preserving-attribution.idl +1 -1
- package/push-api.idl +5 -3
- package/webnn.idl +4 -0
- 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;
|
package/cookiestore.idl
CHANGED
|
@@ -53,12 +53,6 @@ dictionary CookieStoreDeleteOptions {
|
|
|
53
53
|
dictionary CookieListItem {
|
|
54
54
|
USVString name;
|
|
55
55
|
USVString value;
|
|
56
|
-
USVString? domain;
|
|
57
|
-
USVString path;
|
|
58
|
-
DOMHighResTimeStamp? expires;
|
|
59
|
-
boolean secure;
|
|
60
|
-
CookieSameSite sameSite;
|
|
61
|
-
boolean partitioned;
|
|
62
56
|
};
|
|
63
57
|
|
|
64
58
|
typedef sequence<CookieListItem> CookieList;
|
package/crash-reporting.idl
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
// Source: Crash Reporting (https://wicg.github.io/crash-reporting/)
|
|
5
5
|
|
|
6
6
|
dictionary CrashReportBody : ReportBody {
|
|
7
|
-
DOMString
|
|
8
|
-
DOMString
|
|
9
|
-
boolean
|
|
10
|
-
DocumentVisibilityState
|
|
7
|
+
DOMString reason;
|
|
8
|
+
DOMString stack;
|
|
9
|
+
boolean is_top_level;
|
|
10
|
+
DocumentVisibilityState page_visibility;
|
|
11
11
|
};
|
package/css-typed-om.idl
CHANGED
|
@@ -45,7 +45,7 @@ interface CSSUnparsedValue : CSSStyleValue {
|
|
|
45
45
|
iterable<CSSUnparsedSegment>;
|
|
46
46
|
readonly attribute unsigned long length;
|
|
47
47
|
getter CSSUnparsedSegment (unsigned long index);
|
|
48
|
-
setter
|
|
48
|
+
setter undefined (unsigned long index, CSSUnparsedSegment val);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
typedef (USVString or CSSVariableReferenceValue) CSSUnparsedSegment;
|
|
@@ -263,7 +263,7 @@ interface CSSTransformValue : CSSStyleValue {
|
|
|
263
263
|
iterable<CSSTransformComponent>;
|
|
264
264
|
readonly attribute unsigned long length;
|
|
265
265
|
getter CSSTransformComponent (unsigned long index);
|
|
266
|
-
setter
|
|
266
|
+
setter undefined (unsigned long index, CSSTransformComponent val);
|
|
267
267
|
|
|
268
268
|
readonly attribute boolean is2D;
|
|
269
269
|
DOMMatrix toMatrix();
|
package/element-timing.idl
CHANGED
package/fedcm.idl
CHANGED
|
@@ -10,7 +10,7 @@ dictionary IdentityCredentialDisconnectOptions : IdentityProviderConfig {
|
|
|
10
10
|
[Exposed=Window, SecureContext]
|
|
11
11
|
interface IdentityCredential : Credential {
|
|
12
12
|
static Promise<undefined> disconnect(IdentityCredentialDisconnectOptions options);
|
|
13
|
-
readonly attribute
|
|
13
|
+
readonly attribute any token;
|
|
14
14
|
readonly attribute boolean isAutoSelected;
|
|
15
15
|
readonly attribute USVString configURL;
|
|
16
16
|
};
|
|
@@ -59,7 +59,6 @@ dictionary IdentityProviderConfig {
|
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
dictionary IdentityProviderRequestOptions : IdentityProviderConfig {
|
|
62
|
-
USVString nonce;
|
|
63
62
|
DOMString loginHint;
|
|
64
63
|
DOMString domainHint;
|
|
65
64
|
sequence<USVString> fields;
|
|
@@ -113,7 +112,7 @@ dictionary IdentityProviderAccountList {
|
|
|
113
112
|
};
|
|
114
113
|
|
|
115
114
|
dictionary IdentityAssertionResponse {
|
|
116
|
-
|
|
115
|
+
any token;
|
|
117
116
|
USVString continue_on;
|
|
118
117
|
IdentityCredentialErrorInit error;
|
|
119
118
|
};
|
|
@@ -136,6 +135,6 @@ dictionary IdentityResolveOptions {
|
|
|
136
135
|
|
|
137
136
|
[Exposed=Window, SecureContext] interface IdentityProvider {
|
|
138
137
|
static undefined close();
|
|
139
|
-
static Promise<undefined> resolve(
|
|
138
|
+
static Promise<undefined> resolve(any token, optional IdentityResolveOptions options = {});
|
|
140
139
|
static Promise<sequence<IdentityUserInfo>> getUserInfo(IdentityProviderConfig config);
|
|
141
140
|
};
|
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
|
+
};
|