@webref/idl 3.46.1 → 3.46.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/DOM-Parsing.idl +0 -7
- package/digital-identities.idl +2 -2
- package/html.idl +4 -0
- package/package.json +1 -1
- package/sanitizer-api.idl +11 -0
- package/service-workers.idl +1 -0
- package/trusted-types.idl +3 -3
- package/webxr.idl +1 -0
package/DOM-Parsing.idl
CHANGED
|
@@ -9,13 +9,6 @@ interface XMLSerializer {
|
|
|
9
9
|
DOMString serializeToString(Node root);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
interface mixin InnerHTML {
|
|
13
|
-
[CEReactions] attribute [LegacyNullToEmptyString] HTMLString innerHTML;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
Element includes InnerHTML;
|
|
17
|
-
ShadowRoot includes InnerHTML;
|
|
18
|
-
|
|
19
12
|
partial interface Element {
|
|
20
13
|
[CEReactions] attribute [LegacyNullToEmptyString] HTMLString outerHTML;
|
|
21
14
|
[CEReactions] undefined insertAdjacentHTML(DOMString position, HTMLString text);
|
package/digital-identities.idl
CHANGED
|
@@ -17,11 +17,11 @@ dictionary DigitalCredentialRequestOptions {
|
|
|
17
17
|
|
|
18
18
|
dictionary IdentityRequestProvider {
|
|
19
19
|
required DOMString protocol;
|
|
20
|
-
required
|
|
20
|
+
required object request;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
[Exposed=Window, SecureContext]
|
|
24
24
|
interface DigitalCredential : Credential {
|
|
25
25
|
readonly attribute DOMString protocol;
|
|
26
|
-
readonly attribute
|
|
26
|
+
[SameObject] readonly attribute Uint8Array data;
|
|
27
27
|
};
|
package/html.idl
CHANGED
|
@@ -2296,11 +2296,15 @@ WorkerGlobalScope includes WindowOrWorkerGlobalScope;
|
|
|
2296
2296
|
partial interface Element {
|
|
2297
2297
|
[CEReactions] undefined setHTMLUnsafe(HTMLString html);
|
|
2298
2298
|
DOMString getHTML(optional GetHTMLOptions options = {});
|
|
2299
|
+
|
|
2300
|
+
[CEReactions] attribute [LegacyNullToEmptyString] HTMLString innerHTML;
|
|
2299
2301
|
};
|
|
2300
2302
|
|
|
2301
2303
|
partial interface ShadowRoot {
|
|
2302
2304
|
[CEReactions] undefined setHTMLUnsafe(HTMLString html);
|
|
2303
2305
|
DOMString getHTML(optional GetHTMLOptions options = {});
|
|
2306
|
+
|
|
2307
|
+
[CEReactions] attribute [LegacyNullToEmptyString] HTMLString innerHTML;
|
|
2304
2308
|
};
|
|
2305
2309
|
|
|
2306
2310
|
dictionary GetHTMLOptions {
|
package/package.json
CHANGED
package/sanitizer-api.idl
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: HTML Sanitizer API (https://wicg.github.io/sanitizer-api/)
|
|
5
5
|
|
|
6
|
+
dictionary SetHTMLOptions {
|
|
7
|
+
(Sanitizer or SanitizerConfig) sanitizer = {};
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=(Window,Worker)]
|
|
11
|
+
interface Sanitizer {
|
|
12
|
+
constructor(optional SanitizerConfig config = {});
|
|
13
|
+
SanitizerConfig get();
|
|
14
|
+
SanitizerConfig getUnsafe();
|
|
15
|
+
};
|
|
16
|
+
|
|
6
17
|
dictionary SanitizerElementNamespace {
|
|
7
18
|
required DOMString name;
|
|
8
19
|
DOMString? _namespace = "http://www.w3.org/1999/xhtml";
|
package/service-workers.idl
CHANGED
package/trusted-types.idl
CHANGED
|
@@ -32,12 +32,12 @@ interface TrustedScriptURL {
|
|
|
32
32
|
DOMString? getAttributeType(
|
|
33
33
|
DOMString tagName,
|
|
34
34
|
DOMString attribute,
|
|
35
|
-
optional DOMString elementNs = "",
|
|
36
|
-
optional DOMString attrNs = "");
|
|
35
|
+
optional DOMString? elementNs = "",
|
|
36
|
+
optional DOMString? attrNs = "");
|
|
37
37
|
DOMString? getPropertyType(
|
|
38
38
|
DOMString tagName,
|
|
39
39
|
DOMString property,
|
|
40
|
-
optional DOMString elementNs = "");
|
|
40
|
+
optional DOMString? elementNs = "");
|
|
41
41
|
readonly attribute TrustedTypePolicy? defaultPolicy;
|
|
42
42
|
};
|
|
43
43
|
|
package/webxr.idl
CHANGED
|
@@ -178,6 +178,7 @@ interface XRInputSource {
|
|
|
178
178
|
[SameObject] readonly attribute XRSpace targetRaySpace;
|
|
179
179
|
[SameObject] readonly attribute XRSpace? gripSpace;
|
|
180
180
|
[SameObject] readonly attribute FrozenArray<DOMString> profiles;
|
|
181
|
+
[SameObject] readonly attribute boolean skipRendering;
|
|
181
182
|
};
|
|
182
183
|
|
|
183
184
|
[SecureContext, Exposed=Window]
|