[Webkit-unassigned] [Bug 231722] New: Remove useless isConnected() check from HTMLDialogElement::close()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 13 22:33:02 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=231722
Bug ID: 231722
Summary: Remove useless isConnected() check from
HTMLDialogElement::close()
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ntim at apple.com
Blocks: 227537
https://webkit-search.igalia.com/webkit/source/Source/WebCore/html/HTMLDialogElement.cpp#98
There is already an early return in Element::focus when the element is not connected, so this check is redundant.
See comment 25 in bug 227537.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=227537
[Bug 227537] Implement <dialog> focusing steps
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211014/cab01c1c/attachment.htm>
More information about the webkit-unassigned
mailing list