Skip to content

Commit 65ca44b

Browse files
autokagamiannevk
authored andcommitted
Align with IDL constructor changes
1 parent e82484c commit 65ca44b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,9 @@ <h2>Extensibility</h2>
206206
<section><h2>The <code>DOMParser</code> interface</h2>
207207

208208
<pre class=idl>
209-
[Constructor, Exposed=Window]
209+
[Exposed=Window]
210210
interface DOMParser {
211+
constructor();
211212
[NewObject] Document parseFromString(DOMString str, SupportedType type);
212213
};
213214

@@ -292,8 +293,9 @@ <h2>Extensibility</h2>
292293
<section><h2>The <code>XMLSerializer</code> interface</h2>
293294

294295
<pre class="idl">
295-
[Constructor, Exposed=Window]
296+
[Exposed=Window]
296297
interface XMLSerializer {
298+
constructor();
297299
DOMString serializeToString(Node root);
298300
};
299301
</pre>

0 commit comments

Comments
 (0)