[Webkit-unassigned] [Bug 131443] New: querySelectorAll should return a JS array

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 9 10:34:41 PDT 2014


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

           Summary: querySelectorAll should return a JS array
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: sam at webkit.org, ggaren at apple.com, koivisto at iki.fi,
                    barraclough at apple.com, benjamin at webkit.org,
                    akling at apple.com, fpizlo at apple.com


It's ridiculous that every JS library is converting the result of querySelectorAll into an array.

Since querySelectorAll returns a new NodeList each time, I don't think the backwards compatibility risk is that high.
We should make it return a JS array instead.

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