Closed Bug 1356697 Opened 7 years ago Closed 7 years ago

Atomics.wait() throws an Error instead of a TypeError in disallowed contexts

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: d, Assigned: lth)

Details

Attachments

(1 file)

Assignee: nobody → lhansen
Fixes the error kind in js.msg.  I expect this is just old code that never got cleaned up when we cleaned up the spec, and as Domenic points out, we have no shell test cases here.
Attachment #8859174 - Flags: review?(shu)
Attachment #8859174 - Flags: review?(shu) → review+
Pushed by lhansen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/580baaf44b49
Throw TypeError for unable-to-wait Atomics.wait, as per spec. r=shu
https://hg.mozilla.org/integration/mozilla-inbound/rev/580baaf44b4967ac6a4b774967c90554bc2ef9c4
Bug 1356697 - Throw TypeError for unable-to-wait Atomics.wait, as per spec. r=shu
https://hg.mozilla.org/mozilla-central/rev/580baaf44b49
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: