diff --git a/source b/source index 09230c2df53..05745920a28 100644 --- a/source +++ b/source @@ -4576,6 +4576,18 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
This specification uses the following features defined in Trusted Types: + TRUSTED-TYPES
+ +HTMLString
ScriptURLString
Document
parseHTMLUnsafe(DOMString html);
+ static Document
parseHTMLUnsafe(HTMLString html);
// resource metadata management
[PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;
@@ -10655,8 +10667,8 @@ partial interface Document {
[CEReactions] Document open(optional DOMString unused1, optional DOMString unused2); // both arguments are ignored
WindowProxy? open(USVString url, DOMString name, DOMString features);
[CEReactions] undefined close();
- [CEReactions] undefined write(DOMString... text);
- [CEReactions] undefined writeln(DOMString... text);
+ [CEReactions] undefined write(HTMLString... text);
+ [CEReactions] undefined writeln(HTMLString... text);
// user interaction
readonly attribute WindowProxy? defaultView;
@@ -33014,7 +33026,7 @@ interface HTMLIFrameElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions] attribute USVString src;
- [CEReactions] attribute DOMString srcdoc;
+ [CEReactions] attribute HTMLString srcdoc;
[CEReactions] attribute DOMString name;
[SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
[CEReactions] attribute DOMString allow;
@@ -112188,7 +112200,7 @@ document.body.appendChild(frame)
interface DOMParser {
constructor();
- [NewObject] Document
parseFromString(DOMString string, DOMParserSupportedType type);
+ [NewObject] Document
parseFromString(HTMLString string, DOMParserSupportedType type);
};
enum DOMParserSupportedType {
@@ -112339,11 +112351,11 @@ enum DOMParserSupportedType {
and attributes like script
or event handler content attributes.
partial interface Element {
- [CEReactions] undefined setHTMLUnsafe(DOMString html);
+ [CEReactions] undefined setHTMLUnsafe(HTMLString html);
};
partial interface ShadowRoot {
- [CEReactions] undefined setHTMLUnsafe(DOMString html);
+ [CEReactions] undefined setHTMLUnsafe(HTMLString html);
};
[Exposed=(Window,DedicatedWorker,SharedWorker)]
interface Worker : EventTarget {
- constructor(USVString scriptURL, optional WorkerOptions options = {});
+ constructor(ScriptURLString scriptURL, optional WorkerOptions options = {});
undefined terminate();
@@ -118461,7 +118473,7 @@ enum WorkerType { "classic", "module" };
[Exposed=Window]
interface SharedWorker : EventTarget {
- constructor(USVString scriptURL, optional (DOMString or WorkerOptions) options = {});
+ constructor(ScriptURLString scriptURL, optional (DOMString or WorkerOptions) options = {});
readonly attribute MessagePort port;
};
@@ -142286,6 +142298,9 @@ INSERT INTERFACES HERE
[TOUCH]
Touch Events, D. Schepers, S. Moon, M. Brubeck, A. Barstow, R. Byers. W3C.
+ [TRUSTED-TYPES]
+ Trusted Types, K. Kotowicz, M. West. W3C.
+
[TZDATABASE]
(Non-normative) Time Zone Database. IANA.