[Webkit-unassigned] [Bug 106522] New: [JSC] Author script cannot override HTMLCollection’s methods

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 9 20:02:03 PST 2013


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

           Summary: [JSC] Author script cannot override HTMLCollection’s
                    methods
           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, abarth at webkit.org,
                    barraclough at apple.com, arv at chromium.org,
                    eoconnor at apple.com, haraken at chromium.org


Say collection is a HTMLCollection, then:

collection.namedItem = 10;
alert(collection.namedItem === 10);

alerts false because collection.namedItem is still the builtin method.

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