Bug 133432

Summary: NodeList's length property should be on prototype
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: barraclough, darin, kling, oliver, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2014-05-31 23:59:30 PDT
Right now, WebKit puts "length" property of NodeList on the object itself. This doesn't match either DOM4 specification (http://www.w3.org/TR/2014/CR-dom-20140508/#interface-nodelist) or Firefox 29's behavior.
Attachments
Oliver Hunt
Comment 1 2014-06-01 20:47:30 PDT
sadness. fixable, but sadness :(
Ryosuke Niwa
Comment 2 2014-06-01 21:24:11 PDT
I thought this might be a side effect of us having names properties on NodeList but then ordinary named properties don't override attributes in the object's prototype so we should be able to fix it right away.
Ryosuke Niwa
Comment 3 2016-04-11 00:57:32 PDT
*** This bug has been marked as a duplicate of bug 154051 ***
Note You need to log in before you can comment on or make changes to this bug.