diff --git a/ed/idl/trusted-types.idl b/ed/idl/trusted-types.idl index b789485dfe32..33f5c35377ad 100644 --- a/ed/idl/trusted-types.idl +++ b/ed/idl/trusted-types.idl @@ -60,31 +60,31 @@ typedef [StringContext=TrustedScript] DOMString ScriptString; typedef [StringContext=TrustedScriptURL] USVString ScriptURLString; typedef (TrustedHTML or TrustedScript or TrustedScriptURL) TrustedType; -partial interface mixin Window { +partial interface Window { [SecureContext] readonly attribute TrustedTypePolicyFactory trustedTypes; }; -partial interface mixin Document { +partial interface Document { [CEReactions] void write(HTMLString... text); [CEReactions] void writeln(HTMLString... text); }; -partial interface mixin HTMLScriptElement : HTMLElement { +partial interface HTMLScriptElement { [CEReactions] attribute [TreatNullAs=EmptyString] ScriptString innerText; [CEReactions] attribute ScriptString? textContent; [CEReactions] attribute ScriptURLString src; [CEReactions] attribute ScriptString text; }; -partial interface mixin HTMLIFrameElement : HTMLElement { +partial interface HTMLIFrameElement { [CEReactions] attribute HTMLString srcdoc; }; -partial interface HTMLEmbedElement : HTMLElement { +partial interface HTMLEmbedElement { [CEReactions] attribute ScriptURLString src; }; -partial interface HTMLObjectElement : HTMLElement { +partial interface HTMLObjectElement { [CEReactions] attribute ScriptURLString data; [CEReactions] attribute ScriptURLString codeBase; // obsolete }; @@ -97,27 +97,27 @@ partial interface mixin WindowOrWorkerGlobalScope { }; [Exposed=(Window,Worker)] -partial interface Worker : EventTarget { +partial interface Worker { constructor(ScriptURLString scriptURL, optional WorkerOptions options = {}); }; [Exposed=(Window,Worker)] -partial interface SharedWorker : EventTarget { +partial interface SharedWorker { constructor(ScriptURLString scriptURL, optional (DOMString or WorkerOptions) options = {}); }; [Exposed=Worker] -partial interface WorkerGlobalScope : EventTarget { +partial interface WorkerGlobalScope { void importScripts(ScriptURLString... urls); }; [SecureContext, Exposed=(Window,Worker)] -partial interface ServiceWorkerContainer : EventTarget { +partial interface ServiceWorkerContainer { [NewObject] Promise register(ScriptURLString scriptURL, optional RegistrationOptions options = {}); }; [Exposed=Window] -partial interface mixin SVGAnimatedString { +partial interface SVGAnimatedString { attribute (DOMString or TrustedScriptURL) baseVal; };