[Webkit-unassigned] [Bug 185227] New: Remove superfluous check for a null attribute value check in Element::removeAttributeInternal

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 2 16:47:37 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=185227

            Bug ID: 185227
           Summary: Remove superfluous check for a null attribute value
                    check in Element::removeAttributeInternal
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org
                CC: cdumez at apple.com

Element::removeAttributeInternal has a check for valueBeingRemoved.isNull() before calling willModifyAttribute.
But this is impossible because attribute value is always empty string or a string of at least length 1.

-- 
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/20180502/2873b4fa/attachment.html>


More information about the webkit-unassigned mailing list