Closed Bug 1473000 Opened 6 years ago Closed 6 years ago

Make test262-host.js a bit more resilient against changes to built-in functions

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: anba, Assigned: anba)

Details

Attachments

(1 file)

And change the |$test262.agent| functions, so we don't get called out here <https://github.com/tc39/test262/blob/ffdf41890874e7c5f4754e1aac25ab83c007684d/harness/atomicsHelper.js#L26-L28>. :-)
Attached patch bug1473000.patchSplinter Review
Also removes the |this._bailIfNotAvailable()| calls when |sabTestable| is true (when |sabTestable| is false, this branch [1] is taken, which means [2] can never be true).


[1] https://searchfox.org/mozilla-central/rev/403038737ba75af3842ba6b43b6e2fb47eb06609/js/src/tests/test262-host.js#62
[2] https://searchfox.org/mozilla-central/rev/403038737ba75af3842ba6b43b6e2fb47eb06609/js/src/tests/test262-host.js#147
Attachment #8989798 - Flags: review?(jwalden+bmo)
Attachment #8989798 - Flags: review?(jwalden+bmo) → review+
Pushed by shindli@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fdd114ea8cfd
Make test262-host more resilient against user code changes. r=Waldo
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/fdd114ea8cfd
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: