Closed Bug 1299323 Opened 3 years ago Closed 3 years ago

Define @@toStringTag on Module Namespace Objects

Categories

(Core :: JavaScript: Standard Library, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: evilpie, Assigned: jonco)

References

Details

Attachments

(1 file)

Apparently modules namespace objects should have such a property with the value "Module". Spec: 26.3.1
Assignee: nobody → jcoppeard
Implement toStringTag for module namespace object.  The spec says that this is an own property of the object.
Attachment #8788479 - Flags: review?(evilpies)
Comment on attachment 8788479 [details] [diff] [review]
bug1299323-to-string-tag

Review of attachment 8788479 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #8788479 - Flags: review?(evilpies) → review+
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f590934ef71f
Implement @@toStringTag for module namespace objects r=evilpie
https://hg.mozilla.org/mozilla-central/rev/f590934ef71f
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.