Don’t smash globals used by the test helper itself.
authorstefan.penner <stefan.penner@gmail.com>
Thu, 24 Sep 2015 21:46:35 +0000 (14:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 24 Sep 2015 21:47:17 +0000 (21:47 +0000)
commitab9898980eeeaedc99c8f539bac9e72fad8383a4
treec436f9389b04f484d1be56dde6765aece7c967dc
parent1c5e511dc20fc7ff5f5b29ab4157a2143a3d1ede
Don’t smash globals used by the test helper itself.

Since https://codereview.chromium.org/366103005 the promise tests null out
various globals, to ensure the promise implementation doesn’t itself rely
on functions patchable by monkeys.

Unfortunately, doing so breaks test assertion failures which rely on
those globals.

This isn’t the ideal solution, but does improve the current state.

R=littledan@chromium.org,domenic@chromium.org
LOG=N
BUG=

Review URL: https://codereview.chromium.org/1370583002

Cr-Commit-Position: refs/heads/master@{#30922}
AUTHORS
test/mjsunit/es6/promises.js