Skip to content

Commit

Permalink
Replace assert in set the dialog close watcher with an early return
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Feb 2, 2025
1 parent 1eca429 commit 645374f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -62110,8 +62110,8 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
element <var>dialog</var>:</p>

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

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

0 comments on commit 645374f

Please sign in to comment.