Closed
Bug 818379
Opened 13 years ago
Closed 13 years ago
Interface objects should have an own length property even when we're faking the function
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
This matters for Document, which is the first thing with a real constructor we've had to fake.
Spec says:
Interface objects for interfaces MUST have a property named “length” with
attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false } whose value is a Number.
For us I believe that means JSPROP_READONLY | JSPROP_PERMANENT.
![]() |
Assignee | |
Comment 1•13 years ago
|
||
Attachment #688629 -
Flags: review?(peterv)
Updated•13 years ago
|
Attachment #688629 -
Flags: review?(peterv) → review+
![]() |
Assignee | |
Comment 2•13 years ago
|
||
Flags: in-testsuite?
Whiteboard: [need review]
Target Milestone: --- → mozilla20
Comment 3•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•