Bug 133432
| Summary: | NodeList's length property should be on prototype | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | DOM | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Oliver Hunt
sadness. fixable, but sadness :(
Ryosuke Niwa
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
*** This bug has been marked as a duplicate of bug 154051 ***