• Sam Clegg's avatar
    Export `mjsunit.formatFailureText` which is needed by `test-async.js` · 29685537
    Sam Clegg authored
    Without this the call to `formatFailureText` in `test-async.js`
    fails but goes unnoticed since the promise change is rejects
    which is not handled.  And d8 silently ignores the the unhandled
    rejections.
    
    Once `formatFailureText` was added it reveals a but where several
    tests were expecting `.equal` to be a deepEquals.  Specifically:
    
    test/mjsunit/es6/promise-all.js
    test/mjsunit/harmony/async-generators-resume-return.js
    test/mjsunit/harmony/async-generators-return.js
    test/mjsunit/harmony/async-generators-yield.js
    
    Making equals call `deepEquals` fixed that issue.
    
    Change-Id: I350c7d916147eaa7cf873bdaf273aebbaaa833c5
    Reviewed-on: https://chromium-review.googlesource.com/1236852
    Commit-Queue: Sam Clegg <sbc@chromium.org>
    Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56107}
    29685537
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...