Closed Bug 1153825 Opened 5 years ago Closed 5 years ago

Length properties of (Weak){Map,Set} constructors should be 0

Categories

(Core :: JavaScript: Standard Library, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: fscholz, Assigned: fscholz)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Someone changed the docs on MDN for this and it is indeed true. The length properties changed again (fwiw, bug 975412, bug 1007285).

I think the spec is now final about this?!

See http://people.mozilla.org/~jorendorff/es6-draft.html#sec-properties-of-the-map-constructor and the like.
Attached patch v1.patchSplinter Review
Blocks: es6
Attachment #8591630 - Flags: review?(jorendorff)
Comment on attachment 8591630 [details] [diff] [review]
v1.patch

Looks perfect, thanks!
Attachment #8591630 - Flags: review?(jorendorff) → review?(evilpies)
Attachment #8591630 - Flags: review?(evilpies) → review+
I don't have any commit or try access, so setting "checkin-needed" here. Let me know if you need anything more from my side.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/257edfa8e77b
Assignee: nobody → fscholz
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
(In reply to Florian Scholz [:fscholz] (MDN) from comment #0)
> Someone changed the docs on MDN for this and it is indeed true. The length
> properties changed again (fwiw, bug 975412, bug 1007285).

It was me. I'm sorry, I should have opened the bug about it as well. :/
You need to log in before you can comment on or make changes to this bug.