Skip to content

Commit 376c837

Browse files
committed
Replace assert in set the dialog close watcher with an early return
1 parent c85fb47 commit 376c837

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: source

+2-2
Original file line numberDiff line numberDiff line change
@@ -62210,8 +62210,8 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
6221062210
element <var>dialog</var>:</p>
6221162211

6221262212
<ol>
62213-
<li><p><span>Assert</span>: <span>dialog</span>'s <span data-x="dialog-close-watcher">close
62214-
watcher</span> is null.</p></li>
62213+
<li><p>If <span>dialog</span>'s <span data-x="dialog-close-watcher">close watcher</span> is not
62214+
null, then return.</p></li>
6221562215

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

0 commit comments

Comments
 (0)