Skip to content

Commit e7096df

Browse files
committed
Replace early return with assert
1 parent 2b8bce6 commit e7096df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62515,8 +62515,8 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
6251562515
element <var>dialog</var>:</p>
6251662516

6251762517
<ol>
62518-
<li><p>If <span>dialog</span>'s <span data-x="dialog-close-watcher">close watcher</span> is not
62519-
null, then return.</p></li>
62518+
<li><p><span>Assert</span>: <var>dialog</var>'s <span data-x="dialog-close-watcher">close
62519+
watcher</span> is null.</p></li>
6252062520

6252162521
<li>
6252262522
<p>Set <var>dialog</var>'s <span data-x="dialog-close-watcher">close watcher</span> to the

0 commit comments

Comments
 (0)