|
Remove unnecessary coupling between Promise tests and Object.observe
Many mjsunit tests (as well as the promises-aplus adapter scripts) were
using Object.observe simply for microtask-enqueueing purposes. Replaced
such uses with %EnqueueMicrotask.
Committed: https://crrev.com/4b8200078a9d1d9ec5bab268d0aff6453b47ddcc
Cr-Commit-Position: refs/heads/master@{#29779}
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+31 lines, -98 lines) |
Patch |
|
M |
test/mjsunit/es6/debug-promises/events.js
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/reject-caught-all.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/reject-caught-by-default-reject-handler.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/reject-uncaught-all.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/reject-uncaught-late.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/reject-uncaught-uncaught.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/reject-with-invalid-reject.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/reject-with-throw-in-reject.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/reject-with-undefined-reject.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/throw-caught-all.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/throw-caught-by-default-reject-handler.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/throw-uncaught-all.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/throw-uncaught-uncaught.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/throw-with-throw-in-reject.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/promises.js
|
View
|
1
|
2 chunks |
+9 lines, -14 lines |
0 comments
|
Download
|
|
M |
test/promises-aplus/lib/global.js
|
View
|
1
|
2 chunks |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
test/promises-aplus/lib/mocha.js
|
View
|
1
|
4 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
|
M |
test/promises-aplus/testcfg.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (3 generated)
|