@webref/idl 3.48.0 → 3.48.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/fenced-frame.idl +2 -0
- package/html.idl +13 -13
- package/package.json +1 -1
- package/trusted-types.idl +0 -3
- package/turtledove.idl +1 -0
- package/webnn.idl +0 -2
- package/webxr-hit-test.idl +4 -4
package/fenced-frame.idl
CHANGED
|
@@ -35,6 +35,8 @@ typedef (USVString or FencedFrameConfig) UrnOrConfig;
|
|
|
35
35
|
partial interface Navigator {
|
|
36
36
|
Promise<undefined> deprecatedReplaceInURN(
|
|
37
37
|
UrnOrConfig urnOrConfig, record<USVString, USVString> replacements);
|
|
38
|
+
Promise<USVString> deprecatedURNtoURL(
|
|
39
|
+
UrnOrConfig urnOrConfig, optional boolean send_reports = false);
|
|
38
40
|
sequence<USVString> adAuctionComponents(unsigned short numAdComponents);
|
|
39
41
|
};
|
|
40
42
|
|
package/html.idl
CHANGED
|
@@ -48,7 +48,7 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
|
|
|
48
48
|
|
|
49
49
|
[LegacyOverrideBuiltIns]
|
|
50
50
|
partial interface Document {
|
|
51
|
-
static Document parseHTMLUnsafe(
|
|
51
|
+
static Document parseHTMLUnsafe((TrustedHTML or DOMString) html);
|
|
52
52
|
|
|
53
53
|
// resource metadata management
|
|
54
54
|
[PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;
|
|
@@ -452,7 +452,7 @@ interface HTMLIFrameElement : HTMLElement {
|
|
|
452
452
|
[HTMLConstructor] constructor();
|
|
453
453
|
|
|
454
454
|
[CEReactions] attribute USVString src;
|
|
455
|
-
[CEReactions] attribute
|
|
455
|
+
[CEReactions] attribute (TrustedHTML or DOMString) srcdoc;
|
|
456
456
|
[CEReactions] attribute DOMString name;
|
|
457
457
|
[SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
|
|
458
458
|
[CEReactions] attribute DOMString allow;
|
|
@@ -2293,19 +2293,19 @@ Window includes WindowOrWorkerGlobalScope;
|
|
|
2293
2293
|
WorkerGlobalScope includes WindowOrWorkerGlobalScope;
|
|
2294
2294
|
|
|
2295
2295
|
partial interface Element {
|
|
2296
|
-
[CEReactions] undefined setHTMLUnsafe(
|
|
2296
|
+
[CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html);
|
|
2297
2297
|
DOMString getHTML(optional GetHTMLOptions options = {});
|
|
2298
2298
|
|
|
2299
|
-
[CEReactions] attribute [LegacyNullToEmptyString]
|
|
2300
|
-
[CEReactions] attribute [LegacyNullToEmptyString]
|
|
2301
|
-
[CEReactions] undefined insertAdjacentHTML(DOMString position,
|
|
2299
|
+
[CEReactions] attribute (TrustedHTML or [LegacyNullToEmptyString] DOMString) innerHTML;
|
|
2300
|
+
[CEReactions] attribute (TrustedHTML or [LegacyNullToEmptyString] DOMString) outerHTML;
|
|
2301
|
+
[CEReactions] undefined insertAdjacentHTML(DOMString position, (TrustedHTML or DOMString) string);
|
|
2302
2302
|
};
|
|
2303
2303
|
|
|
2304
2304
|
partial interface ShadowRoot {
|
|
2305
|
-
[CEReactions] undefined setHTMLUnsafe(
|
|
2305
|
+
[CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html);
|
|
2306
2306
|
DOMString getHTML(optional GetHTMLOptions options = {});
|
|
2307
2307
|
|
|
2308
|
-
[CEReactions] attribute [LegacyNullToEmptyString]
|
|
2308
|
+
[CEReactions] attribute (TrustedHTML or [LegacyNullToEmptyString] DOMString) innerHTML;
|
|
2309
2309
|
};
|
|
2310
2310
|
|
|
2311
2311
|
dictionary GetHTMLOptions {
|
|
@@ -2317,7 +2317,7 @@ dictionary GetHTMLOptions {
|
|
|
2317
2317
|
interface DOMParser {
|
|
2318
2318
|
constructor();
|
|
2319
2319
|
|
|
2320
|
-
[NewObject] Document parseFromString(
|
|
2320
|
+
[NewObject] Document parseFromString((TrustedHTML or DOMString) string, DOMParserSupportedType type);
|
|
2321
2321
|
};
|
|
2322
2322
|
|
|
2323
2323
|
enum DOMParserSupportedType {
|
|
@@ -2329,7 +2329,7 @@ enum DOMParserSupportedType {
|
|
|
2329
2329
|
};
|
|
2330
2330
|
|
|
2331
2331
|
partial interface Range {
|
|
2332
|
-
[CEReactions, NewObject] DocumentFragment createContextualFragment(
|
|
2332
|
+
[CEReactions, NewObject] DocumentFragment createContextualFragment((TrustedHTML or DOMString) string);
|
|
2333
2333
|
};
|
|
2334
2334
|
|
|
2335
2335
|
[Exposed=Window]
|
|
@@ -2544,7 +2544,7 @@ interface WorkerGlobalScope : EventTarget {
|
|
|
2544
2544
|
readonly attribute WorkerGlobalScope self;
|
|
2545
2545
|
readonly attribute WorkerLocation location;
|
|
2546
2546
|
readonly attribute WorkerNavigator navigator;
|
|
2547
|
-
undefined importScripts(
|
|
2547
|
+
undefined importScripts((TrustedScriptURL or USVString)... urls);
|
|
2548
2548
|
|
|
2549
2549
|
attribute OnErrorEventHandler onerror;
|
|
2550
2550
|
attribute EventHandler onlanguagechange;
|
|
@@ -2582,7 +2582,7 @@ interface mixin AbstractWorker {
|
|
|
2582
2582
|
|
|
2583
2583
|
[Exposed=(Window,DedicatedWorker,SharedWorker)]
|
|
2584
2584
|
interface Worker : EventTarget {
|
|
2585
|
-
constructor(
|
|
2585
|
+
constructor((TrustedScriptURL or USVString) scriptURL, optional WorkerOptions options = {});
|
|
2586
2586
|
|
|
2587
2587
|
undefined terminate();
|
|
2588
2588
|
|
|
@@ -2604,7 +2604,7 @@ Worker includes AbstractWorker;
|
|
|
2604
2604
|
|
|
2605
2605
|
[Exposed=Window]
|
|
2606
2606
|
interface SharedWorker : EventTarget {
|
|
2607
|
-
constructor(
|
|
2607
|
+
constructor((TrustedScriptURL or USVString) scriptURL, optional (DOMString or WorkerOptions) options = {});
|
|
2608
2608
|
|
|
2609
2609
|
readonly attribute MessagePort port;
|
|
2610
2610
|
};
|
package/package.json
CHANGED
package/trusted-types.idl
CHANGED
|
@@ -58,9 +58,6 @@ callback CreateHTMLCallback = DOMString? (DOMString input, any... arguments);
|
|
|
58
58
|
callback CreateScriptCallback = DOMString? (DOMString input, any... arguments);
|
|
59
59
|
callback CreateScriptURLCallback = USVString? (DOMString input, any... arguments);
|
|
60
60
|
|
|
61
|
-
typedef [StringContext=TrustedHTML] DOMString HTMLString;
|
|
62
|
-
typedef [StringContext=TrustedScript] DOMString ScriptString;
|
|
63
|
-
typedef [StringContext=TrustedScriptURL] USVString ScriptURLString;
|
|
64
61
|
typedef (TrustedHTML or TrustedScript or TrustedScriptURL) TrustedType;
|
|
65
62
|
|
|
66
63
|
partial interface mixin WindowOrWorkerGlobalScope {
|
package/turtledove.idl
CHANGED
|
@@ -64,6 +64,7 @@ partial interface Navigator {
|
|
|
64
64
|
[SecureContext]
|
|
65
65
|
partial interface Navigator {
|
|
66
66
|
Promise<(USVString or FencedFrameConfig)?> runAdAuction(AuctionAdConfig config);
|
|
67
|
+
readonly attribute boolean deprecatedRunAdAuctionEnforcesKAnonymity;
|
|
67
68
|
};
|
|
68
69
|
|
|
69
70
|
dictionary AuctionAdConfig {
|
package/webnn.idl
CHANGED
|
@@ -131,7 +131,6 @@ dictionary MLClampOptions {
|
|
|
131
131
|
|
|
132
132
|
partial interface MLGraphBuilder {
|
|
133
133
|
MLOperand clamp(MLOperand input, optional MLClampOptions options = {});
|
|
134
|
-
MLActivation clamp(optional MLClampOptions options = {});
|
|
135
134
|
};
|
|
136
135
|
|
|
137
136
|
partial interface MLGraphBuilder {
|
|
@@ -513,7 +512,6 @@ partial interface MLGraphBuilder {
|
|
|
513
512
|
|
|
514
513
|
partial interface MLGraphBuilder {
|
|
515
514
|
MLOperand softmax(MLOperand input, unsigned long axis);
|
|
516
|
-
MLActivation softmax(unsigned long axis);
|
|
517
515
|
};
|
|
518
516
|
|
|
519
517
|
partial interface MLGraphBuilder {
|
package/webxr-hit-test.idl
CHANGED
|
@@ -11,13 +11,13 @@ enum XRHitTestTrackableType {
|
|
|
11
11
|
|
|
12
12
|
dictionary XRHitTestOptionsInit {
|
|
13
13
|
required XRSpace space;
|
|
14
|
-
|
|
14
|
+
sequence<XRHitTestTrackableType> entityTypes;
|
|
15
15
|
XRRay offsetRay;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
dictionary XRTransientInputHitTestOptionsInit {
|
|
19
19
|
required DOMString profile;
|
|
20
|
-
|
|
20
|
+
sequence<XRHitTestTrackableType> entityTypes;
|
|
21
21
|
XRRay offsetRay;
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -48,8 +48,8 @@ partial interface XRSession {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
partial interface XRFrame {
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
sequence<XRHitTestResult> getHitTestResults(XRHitTestSource hitTestSource);
|
|
52
|
+
sequence<XRTransientInputHitTestResult> getHitTestResultsForTransientInput(XRTransientInputHitTestSource hitTestSource);
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
dictionary XRRayDirectionInit {
|