Closed
Bug 697515
Opened 13 years ago
Closed 13 years ago
weakmap.set returns itself instead of undefined
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: masterofhats, Assigned: masterofhats)
Details
(Keywords: addon-compat, dev-doc-complete)
Attachments
(1 file)
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E; MS-RTC LM 8) Steps to reproduce: in the js shell, run new WeakMap().set({}, {}) Actual results: yields: function set() {[native code]} Expected results: should yield undefined.
Assignee | ||
Updated•13 years ago
|
Component: General → JavaScript Engine
OS: Windows 7 → All
Hardware: x86 → All
Comment 1•13 years ago
|
||
Comment on attachment 569749 [details]
single line fix
Yup. Thanks.
Attachment #569749 -
Flags: review+
Updated•13 years ago
|
Assignee: nobody → blackhole
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 3•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/beb93d0d59af
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Updated•13 years ago
|
Keywords: dev-doc-needed
Comment 4•13 years ago
|
||
I've updated the documentation: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/WeakMap#section_2 and https://developer.mozilla.org/en/Firefox_10_for_developers#section_3
You need to log in
before you can comment on or make changes to this bug.
Description
•