ef8c18613a
This is a reland of 21c0d77e15
Original change's description:
> [async] Optimize await and AsyncFromSyncIterator
>
> Simplify the promise wrapping in await and
> %AsyncFromSyncIteratorPrototype%.next/return/throw to reuse the PromiseResolve
> primitive. Now await takes 1 tick instead of 3 on the microtask queue.
>
> Change-Id: I7e99b8689eb8fcb09c48915b11c1e06684dc0f1a
> Reviewed-on: https://chromium-review.googlesource.com/1090272
> Commit-Queue: Maya Lekova <mslekova@chromium.org>
> Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
> Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
> Reviewed-by: Mathias Bynens <mathias@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#53853}
Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: Ifa5b2fb8b2fb84b635b2dc1b6455d6aaf154cbfd
Reviewed-on: https://chromium-review.googlesource.com/1106977
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53900}
210 lines
5.5 KiB
Plaintext
210 lines
5.5 KiB
Plaintext
stepOut async function
|
|
|
|
Running test: testTrivial
|
|
Check that we have proper async stack at return
|
|
bar (testTrivial.js:28:8)
|
|
-- async function --
|
|
bar (testTrivial.js:27:22)
|
|
foo (testTrivial.js:23:14)
|
|
-- async function --
|
|
foo (testTrivial.js:22:22)
|
|
test (testTrivial.js:18:14)
|
|
-- async function --
|
|
test (testTrivial.js:17:22)
|
|
(anonymous) (:0:0)
|
|
|
|
foo (testTrivial.js:24:6)
|
|
-- async function --
|
|
foo (testTrivial.js:22:22)
|
|
test (testTrivial.js:18:14)
|
|
-- async function --
|
|
test (testTrivial.js:17:22)
|
|
(anonymous) (:0:0)
|
|
|
|
test (testTrivial.js:19:6)
|
|
-- async function --
|
|
test (testTrivial.js:17:22)
|
|
(anonymous) (:0:0)
|
|
|
|
|
|
Running test: testStepOutPrecision
|
|
Check that stepOut go to resumed outer generator
|
|
bar (testStepOutPrecision.js:61:8)
|
|
-- async function --
|
|
bar (testStepOutPrecision.js:60:22)
|
|
foo (testStepOutPrecision.js:55:14)
|
|
-- async function --
|
|
foo (testStepOutPrecision.js:54:22)
|
|
test (testStepOutPrecision.js:48:14)
|
|
-- async function --
|
|
test (testStepOutPrecision.js:47:14)
|
|
(anonymous) (:0:0)
|
|
|
|
foo (testStepOutPrecision.js:56:8)
|
|
-- async function --
|
|
foo (testStepOutPrecision.js:54:22)
|
|
test (testStepOutPrecision.js:48:14)
|
|
-- async function --
|
|
test (testStepOutPrecision.js:47:14)
|
|
(anonymous) (:0:0)
|
|
|
|
test (testStepOutPrecision.js:49:8)
|
|
-- async function --
|
|
test (testStepOutPrecision.js:47:14)
|
|
(anonymous) (:0:0)
|
|
|
|
floodWithTimeouts (testStepOutPrecision.js:40:15)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepOutPrecision.js:41:10)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepOutPrecision.js:41:10)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepOutPrecision.js:41:10)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepOutPrecision.js:41:10)
|
|
test (testStepOutPrecision.js:46:8)
|
|
(anonymous) (:0:0)
|
|
|
|
test (testStepOutPrecision.js:50:8)
|
|
-- async function --
|
|
test (testStepOutPrecision.js:47:14)
|
|
(anonymous) (:0:0)
|
|
|
|
floodWithTimeouts (testStepOutPrecision.js:40:15)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepOutPrecision.js:41:10)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepOutPrecision.js:41:10)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepOutPrecision.js:41:10)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepOutPrecision.js:41:10)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepOutPrecision.js:41:10)
|
|
test (testStepOutPrecision.js:46:8)
|
|
(anonymous) (:0:0)
|
|
|
|
|
|
Running test: testStepIntoAtReturn
|
|
Check that stepInto at return go to resumed outer generator
|
|
bar (testStepIntoAtReturn.js:93:8)
|
|
-- async function --
|
|
bar (testStepIntoAtReturn.js:92:22)
|
|
foo (testStepIntoAtReturn.js:88:14)
|
|
-- async function --
|
|
foo (testStepIntoAtReturn.js:87:22)
|
|
test (testStepIntoAtReturn.js:82:14)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:81:14)
|
|
(anonymous) (:0:0)
|
|
|
|
bar (testStepIntoAtReturn.js:94:6)
|
|
-- async function --
|
|
bar (testStepIntoAtReturn.js:92:22)
|
|
foo (testStepIntoAtReturn.js:88:14)
|
|
-- async function --
|
|
foo (testStepIntoAtReturn.js:87:22)
|
|
test (testStepIntoAtReturn.js:82:14)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:81:14)
|
|
(anonymous) (:0:0)
|
|
|
|
foo (testStepIntoAtReturn.js:89:6)
|
|
-- async function --
|
|
foo (testStepIntoAtReturn.js:87:22)
|
|
test (testStepIntoAtReturn.js:82:14)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:81:14)
|
|
(anonymous) (:0:0)
|
|
|
|
test (testStepIntoAtReturn.js:83:8)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:81:14)
|
|
(anonymous) (:0:0)
|
|
|
|
test (testStepIntoAtReturn.js:84:6)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:81:14)
|
|
(anonymous) (:0:0)
|
|
|
|
floodWithTimeouts (testStepIntoAtReturn.js:74:15)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepIntoAtReturn.js:75:10)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepIntoAtReturn.js:75:10)
|
|
test (testStepIntoAtReturn.js:80:8)
|
|
(anonymous) (:0:0)
|
|
|
|
|
|
Running test: testStepOverAtReturn
|
|
Check that stepOver at return go to resumed outer generator
|
|
bar (testStepIntoAtReturn.js:124:8)
|
|
-- async function --
|
|
bar (testStepIntoAtReturn.js:123:22)
|
|
foo (testStepIntoAtReturn.js:119:14)
|
|
-- async function --
|
|
foo (testStepIntoAtReturn.js:118:22)
|
|
test (testStepIntoAtReturn.js:113:14)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:112:14)
|
|
(anonymous) (:0:0)
|
|
|
|
bar (testStepIntoAtReturn.js:125:6)
|
|
-- async function --
|
|
bar (testStepIntoAtReturn.js:123:22)
|
|
foo (testStepIntoAtReturn.js:119:14)
|
|
-- async function --
|
|
foo (testStepIntoAtReturn.js:118:22)
|
|
test (testStepIntoAtReturn.js:113:14)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:112:14)
|
|
(anonymous) (:0:0)
|
|
|
|
foo (testStepIntoAtReturn.js:120:6)
|
|
-- async function --
|
|
foo (testStepIntoAtReturn.js:118:22)
|
|
test (testStepIntoAtReturn.js:113:14)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:112:14)
|
|
(anonymous) (:0:0)
|
|
|
|
test (testStepIntoAtReturn.js:114:8)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:112:14)
|
|
(anonymous) (:0:0)
|
|
|
|
test (testStepIntoAtReturn.js:115:6)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:112:14)
|
|
(anonymous) (:0:0)
|
|
|
|
floodWithTimeouts (testStepIntoAtReturn.js:105:15)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepIntoAtReturn.js:106:10)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepIntoAtReturn.js:106:10)
|
|
test (testStepIntoAtReturn.js:111:8)
|
|
(anonymous) (:0:0)
|
|
|
|
|
|
Running test: testStepOutFromNotAwaitedCall
|
|
Checks stepOut from not awaited call
|
|
bar (testStepIntoAtReturn.js:158:8)
|
|
-- async function --
|
|
bar (testStepIntoAtReturn.js:157:22)
|
|
foo (testStepIntoAtReturn.js:152:8)
|
|
-- async function --
|
|
foo (testStepIntoAtReturn.js:151:22)
|
|
test (testStepIntoAtReturn.js:144:14)
|
|
-- async function --
|
|
test (testStepIntoAtReturn.js:143:14)
|
|
(anonymous) (:0:0)
|
|
|
|
floodWithTimeouts (testStepIntoAtReturn.js:136:15)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepIntoAtReturn.js:137:10)
|
|
-- setTimeout --
|
|
floodWithTimeouts (testStepIntoAtReturn.js:137:10)
|
|
test (testStepIntoAtReturn.js:142:8)
|
|
(anonymous) (:0:0)
|