Skip to content

Commit

Permalink
Swap union ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Apr 29, 2024
1 parent 71c1d64 commit 4196e61
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -10666,7 +10666,7 @@ typedef (<span>HTMLScriptElement</span> or <span>SVGScriptElement</span>) <dfn t

[<span>LegacyOverrideBuiltIns</span>]
partial interface <dfn id="document" data-lt="">Document</dfn> {
static <code>Document</code> <span data-x="dom-parseHTMLUnsafe">parseHTMLUnsafe</span>((DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>) html);
static <code>Document</code> <span data-x="dom-parseHTMLUnsafe">parseHTMLUnsafe</span>((<code data-x="tt-trustedhtml">TrustedHTML</code> or DOMString) html);

// <span>resource metadata management</span>
[PutForwards=<span data-x="dom-location-href">href</span>, <span>LegacyUnforgeable</span>] readonly attribute <span>Location</span>? <span data-x="dom-document-location">location</span>;
Expand Down Expand Up @@ -10695,8 +10695,8 @@ partial interface <dfn id="document" data-lt="">Document</dfn> {
[<span>CEReactions</span>] <span>Document</span> <span data-x="dom-document-open">open</span>(optional DOMString unused1, optional DOMString unused2); // both arguments are <a href="#dom-document-open-unused-arguments">ignored</a>
<span>WindowProxy</span>? <span data-x="dom-document-open-window">open</span>(USVString url, DOMString name, DOMString features);
[<span>CEReactions</span>] undefined <span data-x="dom-document-close">close</span>();
[<span>CEReactions</span>] undefined <span data-x="dom-document-write">write</span>((DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>)... text);
[<span>CEReactions</span>] undefined <span data-x="dom-document-writeln">writeln</span>((DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>)... text);
[<span>CEReactions</span>] undefined <span data-x="dom-document-write">write</span>((<code data-x="tt-trustedhtml">TrustedHTML</code> or DOMString)... text);
[<span>CEReactions</span>] undefined <span data-x="dom-document-writeln">writeln</span>((<code data-x="tt-trustedhtml">TrustedHTML</code> or DOMString)... text);

// <span>user interaction</span>
readonly attribute <span>WindowProxy</span>? <span data-x="dom-document-defaultView">defaultView</span>;
Expand Down Expand Up @@ -33071,7 +33071,7 @@ interface <dfn interface>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
[<span>HTMLConstructor</span>] constructor();

[<span>CEReactions</span>] attribute USVString <span data-x="dom-iframe-src">src</span>;
[<span>CEReactions</span>] attribute (DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>) <span data-x="dom-iframe-srcdoc">srcdoc</span>;
[<span>CEReactions</span>] attribute (<code data-x="tt-trustedhtml">TrustedHTML</code> or DOMString) <span data-x="dom-iframe-srcdoc">srcdoc</span>;
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-iframe-name">name</span>;
[SameObject, PutForwards=<span data-x="dom-DOMTokenList-value">value</span>] readonly attribute <span>DOMTokenList</span> <span data-x="dom-iframe-sandbox">sandbox</span>;
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-iframe-allow">allow</span>;
Expand Down Expand Up @@ -112402,19 +112402,19 @@ document.body.appendChild(frame)</code></pre>
<h3 id="dom-parsing-and-serialization">DOM parsing and serialization APIs</h3>

<pre><code class="idl">partial interface <span id="Element-partial">Element</span> {
[<span>CEReactions</span>] undefined <span data-x="dom-Element-setHTMLUnsafe">setHTMLUnsafe</span>((DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>) html);
[<span>CEReactions</span>] undefined <span data-x="dom-Element-setHTMLUnsafe">setHTMLUnsafe</span>((<code data-x="tt-trustedhtml">TrustedHTML</code> or DOMString) html);
DOMString <span data-x="dom-Element-getHTML">getHTML</span>(optional <span>GetHTMLOptions</span> options = {});

[<span>CEReactions</span>] attribute ([<span>LegacyNullToEmptyString</span>] DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>) <span data-x="dom-Element-innerHTML">innerHTML</span>;
[<span>CEReactions</span>] attribute ([<span>LegacyNullToEmptyString</span>] DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>) <span data-x="dom-Element-outerHTML">outerHTML</span>;
[<span>CEReactions</span>] undefined <span data-x="dom-Element-insertAdjacentHTML">insertAdjacentHTML</span>(DOMString position, (DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>) string);
[<span>CEReactions</span>] attribute (<code data-x="tt-trustedhtml">TrustedHTML</code> or [<span>LegacyNullToEmptyString</span>] DOMString) <span data-x="dom-Element-innerHTML">innerHTML</span>;
[<span>CEReactions</span>] attribute (<code data-x="tt-trustedhtml">TrustedHTML</code> or [<span>LegacyNullToEmptyString</span>] DOMString) <span data-x="dom-Element-outerHTML">outerHTML</span>;
[<span>CEReactions</span>] undefined <span data-x="dom-Element-insertAdjacentHTML">insertAdjacentHTML</span>(DOMString position, (<code data-x="tt-trustedhtml">TrustedHTML</code> or DOMString) string);
};

partial interface <span id="ShadowRoot-partial">ShadowRoot</span> {
[<span>CEReactions</span>] undefined <span data-x="dom-ShadowRoot-setHTMLUnsafe">setHTMLUnsafe</span>((DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>) html);
[<span>CEReactions</span>] undefined <span data-x="dom-ShadowRoot-setHTMLUnsafe">setHTMLUnsafe</span>((<code data-x="tt-trustedhtml">TrustedHTML</code> or DOMString) html);
DOMString <span data-x="dom-ShadowRoot-getHTML">getHTML</span>(optional <span>GetHTMLOptions</span> options = {});

[<span>CEReactions</span>] attribute ([<span>LegacyNullToEmptyString</span>] DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>) <span data-x="dom-ShadowRoot-innerHTML">innerHTML</span>;
[<span>CEReactions</span>] attribute (<code data-x="tt-trustedhtml">TrustedHTML</code> or [<span>LegacyNullToEmptyString</span>] DOMString) <span data-x="dom-ShadowRoot-innerHTML">innerHTML</span>;
};

dictionary <dfn dictionary>GetHTMLOptions</dfn> {
Expand Down Expand Up @@ -112465,7 +112465,7 @@ dictionary <dfn dictionary>GetHTMLOptions</dfn> {
interface <dfn interface>DOMParser</dfn> {
<span data-x="dom-DOMParser-constructor">constructor</span>();

[NewObject] <code>Document</code> <span data-x="dom-DOMParser-parseFromString">parseFromString</span>((DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>) <var>string</var>, <span>DOMParserSupportedType</span> <var>type</var>);
[NewObject] <code>Document</code> <span data-x="dom-DOMParser-parseFromString">parseFromString</span>((<code data-x="tt-trustedhtml">TrustedHTML</code> or DOMString) <var>string</var>, <span>DOMParserSupportedType</span> <var>type</var>);
};

enum <dfn enum>DOMParserSupportedType</dfn> {
Expand Down Expand Up @@ -113117,7 +113117,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
and attributes like <code>script</code> or <span>event handler content attributes</span>.</p>

<pre><code class="idl">partial interface <span id="Range-partial">Range</span> {
[<span>CEReactions</span>, NewObject] <code>DocumentFragment</code> <span data-x="dom-Range-createContextualFragment">createContextualFragment</span>((DOMString or <code data-x="tt-trustedhtml">TrustedHTML</code>) <var>string</var>);
[<span>CEReactions</span>, NewObject] <code>DocumentFragment</code> <span data-x="dom-Range-createContextualFragment">createContextualFragment</span>((<code data-x="tt-trustedhtml">TrustedHTML</code> or DOMString) <var>string</var>);
};</code></pre>

<div w-nodev>
Expand Down Expand Up @@ -118241,7 +118241,7 @@ interface <dfn interface>WorkerGlobalScope</dfn> : <span>EventTarget</span> {
readonly attribute <span>WorkerGlobalScope</span> <span data-x="dom-WorkerGlobalScope-self">self</span>;
readonly attribute <span>WorkerLocation</span> <span data-x="dom-WorkerGlobalScope-location">location</span>;
readonly attribute <span>WorkerNavigator</span> <span data-x="dom-worker-navigator">navigator</span>;
undefined <span data-x="dom-WorkerGlobalScope-importScripts">importScripts</span>((USVString or <code data-x="tt-trustedscripturl">TrustedScriptURL</code>)... urls);
undefined <span data-x="dom-WorkerGlobalScope-importScripts">importScripts</span>((<code data-x="tt-trustedscripturl">TrustedScriptURL</code> or USVString)... urls);

attribute <span>OnErrorEventHandler</span> <span data-x="handler-WorkerGlobalScope-onerror">onerror</span>;
attribute <span>EventHandler</span> <span data-x="handler-WorkerGlobalScope-onlanguagechange">onlanguagechange</span>;
Expand Down Expand Up @@ -119096,7 +119096,7 @@ interface <dfn interface>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope

<pre><code class="idl">[Exposed=(Window,DedicatedWorker,SharedWorker)]
interface <dfn interface>Worker</dfn> : <span>EventTarget</span> {
<span data-x="dom-Worker">constructor</span>((USVString or <code data-x="tt-trustedscripturl">TrustedScriptURL</code>) scriptURL, optional <span>WorkerOptions</span> options = {});
<span data-x="dom-Worker">constructor</span>((<code data-x="tt-trustedscripturl">TrustedScriptURL</code> or USVString) scriptURL, optional <span>WorkerOptions</span> options = {});

undefined <span data-x="dom-Worker-terminate">terminate</span>();

Expand Down Expand Up @@ -119240,7 +119240,7 @@ enum <dfn enum>WorkerType</dfn> { "classic", "module" };

<pre><code class="idl">[Exposed=Window]
interface <dfn interface>SharedWorker</dfn> : <span>EventTarget</span> {
<span data-x="dom-SharedWorker">constructor</span>((USVString or <code data-x="tt-trustedscripturl">TrustedScriptURL</code>) scriptURL, optional (DOMString or <span>WorkerOptions</span>) options = {});
<span data-x="dom-SharedWorker">constructor</span>((<code data-x="tt-trustedscripturl">TrustedScriptURL</code> or USVString) scriptURL, optional (DOMString or <span>WorkerOptions</span>) options = {});

readonly attribute <span>MessagePort</span> <span data-x="dom-SharedWorker-port">port</span>;
};
Expand Down

0 comments on commit 4196e61

Please sign in to comment.