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 3, 2025
1 parent c85fb47 commit 376c837
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 @@ -62210,8 +62210,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 376c837

Please sign in to comment.