[Webkit-unassigned] [Bug 126178] New: Use isDocumentFragment() instead of comparing nodeType() with Node::DOCUMENT_FRAGMENT_NODE

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 23 13:43:58 PST 2013


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

           Summary: Use isDocumentFragment() instead of comparing
                    nodeType() with Node::DOCUMENT_FRAGMENT_NODE
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: koivisto at iki.fi, benjamin at webkit.org, akling at apple.com


Inspired by https://chromium.googlesource.com/chromium/blink/+/a622cb80af2bfb0c5d91123cbcfa4fa72a06554c

Node::isDocumentFragment() is faster than nodeType(), which is virtual.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list