Bug 133432

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

Description Ryosuke Niwa 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.
Comment 1 Oliver Hunt 2014-06-01 20:47:30 PDT
sadness. fixable, but sadness :(
Comment 2 Ryosuke Niwa 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.
Comment 3 Ryosuke Niwa 2016-04-11 00:57:32 PDT

*** This bug has been marked as a duplicate of bug 154051 ***