[Webkit-unassigned] [Bug 92329] New: XML parser should use parserSetAttributes instead of setAttributeNS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 25 19:07:35 PDT 2012


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

           Summary: XML parser should use parserSetAttributes instead of
                    setAttributeNS
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: eric at webkit.org, abarth at webkit.org,
                    cmarcelo at webkit.org


It's not safe to use setAttributeNS because it fires a bunch of events. Of course, the element had not been inserted in to the document at the point so we're not firing events. Nonetheless, it's very error prone.

-- 
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