@webref/idl 3.57.0 → 3.58.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/dom.idl +2 -2
- package/element-timing.idl +2 -0
- package/login-status.idl +19 -0
- package/observable.idl +2 -2
- package/package.json +1 -1
- package/sanitizer-api.idl +6 -2
- package/shared-storage.idl +8 -0
- package/web-locks.idl +2 -2
package/dom.idl
CHANGED
|
@@ -237,7 +237,7 @@ interface Node : EventTarget {
|
|
|
237
237
|
[CEReactions] attribute DOMString? textContent;
|
|
238
238
|
[CEReactions] undefined normalize();
|
|
239
239
|
|
|
240
|
-
[CEReactions, NewObject] Node cloneNode(optional boolean
|
|
240
|
+
[CEReactions, NewObject] Node cloneNode(optional boolean subtree = false);
|
|
241
241
|
boolean isEqualNode(Node? otherNode);
|
|
242
242
|
boolean isSameNode(Node? otherNode); // legacy alias of ===
|
|
243
243
|
|
|
@@ -291,7 +291,7 @@ interface Document : Node {
|
|
|
291
291
|
[NewObject] Comment createComment(DOMString data);
|
|
292
292
|
[NewObject] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data);
|
|
293
293
|
|
|
294
|
-
[CEReactions, NewObject] Node importNode(Node node, optional boolean
|
|
294
|
+
[CEReactions, NewObject] Node importNode(Node node, optional boolean subtree = false);
|
|
295
295
|
[CEReactions] Node adoptNode(Node node);
|
|
296
296
|
|
|
297
297
|
[NewObject] Attr createAttribute(DOMString localName);
|
package/element-timing.idl
CHANGED
package/login-status.idl
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Login Status API (https://w3c-fedid.github.io/login-status/)
|
|
5
|
+
|
|
6
|
+
enum LoginStatus {
|
|
7
|
+
"logged-in",
|
|
8
|
+
"logged-out",
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed=Window, SecureContext]
|
|
12
|
+
|
|
13
|
+
interface NavigatorLogin {
|
|
14
|
+
Promise<undefined> setStatus(LoginStatus status);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
partial interface Navigator {
|
|
18
|
+
[SecureContext] readonly attribute NavigatorLogin login;
|
|
19
|
+
};
|
package/observable.idl
CHANGED
|
@@ -18,7 +18,7 @@ interface Subscriber {
|
|
|
18
18
|
readonly attribute AbortSignal signal;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
// SubscribeCallback is where the Observable "creator
|
|
21
|
+
// SubscribeCallback is where the Observable "creator's" code lives. It's
|
|
22
22
|
// called when subscribe() is called, to set up a new subscription.
|
|
23
23
|
callback SubscribeCallback = undefined (Subscriber subscriber);
|
|
24
24
|
callback ObservableSubscriptionCallback = undefined (any value);
|
|
@@ -63,7 +63,7 @@ interface Observable {
|
|
|
63
63
|
constructor(SubscribeCallback callback);
|
|
64
64
|
undefined subscribe(optional ObserverUnion observer = {}, optional SubscribeOptions options = {});
|
|
65
65
|
|
|
66
|
-
// Constructs a native Observable from value if it
|
|
66
|
+
// Constructs a native Observable from value if it's any of the following:
|
|
67
67
|
// - Observable
|
|
68
68
|
// - AsyncIterable
|
|
69
69
|
// - Iterable
|
package/package.json
CHANGED
package/sanitizer-api.idl
CHANGED
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: HTML Sanitizer API (https://wicg.github.io/sanitizer-api/)
|
|
5
5
|
|
|
6
|
+
enum SanitizerPresets { "default" };
|
|
6
7
|
dictionary SetHTMLOptions {
|
|
7
|
-
(Sanitizer or SanitizerConfig) sanitizer =
|
|
8
|
+
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = "default";
|
|
9
|
+
};
|
|
10
|
+
dictionary SetHTMLUnsafeOptions {
|
|
11
|
+
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
|
|
8
12
|
};
|
|
9
13
|
|
|
10
14
|
[Exposed=(Window,Worker)]
|
|
11
15
|
interface Sanitizer {
|
|
12
|
-
constructor(optional SanitizerConfig configuration =
|
|
16
|
+
constructor(optional (SanitizerConfig or SanitizerPresets) configuration = "default");
|
|
13
17
|
|
|
14
18
|
// Query configuration:
|
|
15
19
|
SanitizerConfig get();
|
package/shared-storage.idl
CHANGED
|
@@ -25,6 +25,8 @@ interface SharedStorageWorkletGlobalScope : WorkletGlobalScope {
|
|
|
25
25
|
readonly attribute PrivateAggregation privateAggregation;
|
|
26
26
|
|
|
27
27
|
Promise<sequence<StorageInterestGroup>> interestGroups();
|
|
28
|
+
|
|
29
|
+
readonly attribute SharedStorageWorkletNavigator navigator;
|
|
28
30
|
};
|
|
29
31
|
|
|
30
32
|
dictionary SharedStorageUrlWithMetadata {
|
|
@@ -106,3 +108,9 @@ HTMLImageElement includes HTMLSharedStorageWritableElementUtils;
|
|
|
106
108
|
partial dictionary RequestInit {
|
|
107
109
|
boolean sharedStorageWritable;
|
|
108
110
|
};
|
|
111
|
+
|
|
112
|
+
[
|
|
113
|
+
Exposed=SharedStorageWorklet
|
|
114
|
+
] interface SharedStorageWorkletNavigator {};
|
|
115
|
+
|
|
116
|
+
SharedStorageWorkletNavigator includes NavigatorLocks;
|
package/web-locks.idl
CHANGED
|
@@ -10,7 +10,7 @@ interface mixin NavigatorLocks {
|
|
|
10
10
|
Navigator includes NavigatorLocks;
|
|
11
11
|
WorkerNavigator includes NavigatorLocks;
|
|
12
12
|
|
|
13
|
-
[SecureContext, Exposed=(Window,Worker)]
|
|
13
|
+
[SecureContext, Exposed=(Window,Worker,SharedStorageWorklet)]
|
|
14
14
|
interface LockManager {
|
|
15
15
|
Promise<any> request(DOMString name,
|
|
16
16
|
LockGrantedCallback callback);
|
|
@@ -43,7 +43,7 @@ dictionary LockInfo {
|
|
|
43
43
|
DOMString clientId;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
[SecureContext, Exposed=(Window,Worker)]
|
|
46
|
+
[SecureContext, Exposed=(Window,Worker,SharedStorageWorklet)]
|
|
47
47
|
interface Lock {
|
|
48
48
|
readonly attribute DOMString name;
|
|
49
49
|
readonly attribute LockMode mode;
|