b98dd0af92
With creation frame we can show additional information with description of each async stack trace, which could help user to understand where promises were chained. At least in case of Promise.resolve().then(foo1).then(foo2) we would be able to show following stack trace for break in foo2 callback: foo2 (test.js:14:2) -- Promise.resolve (test.js:29:14)-- -- Promise.resolve (test.js:28:14)-- promiseThen (test.js:30:2) More details: https://docs.google.com/document/d/1u19N45f1gSF7M39mGsycJEK3IPyJgIXCBnWyiPeuJFE BUG=v8:5738 R=dgozman@chromium.org,gsathya@chromium.org Review-Url: https://codereview.chromium.org/2648873002 Cr-Commit-Position: refs/heads/master@{#42682}
141 lines
2.3 KiB
Plaintext
141 lines
2.3 KiB
Plaintext
Checks that async stacks works good with different limits
|
|
|
|
Running test: testZeroLimit
|
|
foo1 (test.js:11:2)
|
|
|
|
|
|
Running test: testTwoLimit
|
|
foo1 (test.js:11:2)
|
|
-- Promise.resolve --
|
|
promise (test.js:23:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
|
|
Running test: testOneLimitTwoPromises
|
|
foo1 (test.js:11:2)
|
|
|
|
foo2 (test.js:15:2)
|
|
|
|
|
|
Running test: testFourLimitTwoPromises
|
|
foo1 (test.js:11:2)
|
|
|
|
foo2 (test.js:15:2)
|
|
|
|
|
|
Running test: testSixLimitTwoPromises
|
|
foo1 (test.js:11:2)
|
|
|
|
foo2 (test.js:15:2)
|
|
-- Promise.resolve --
|
|
twoPromises (test.js:35:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
|
|
Running test: testTwoLimitTwoSetTimeouts
|
|
foo1 (test.js:11:2)
|
|
|
|
foo2 (test.js:15:2)
|
|
-- setTimeout --
|
|
twoSetTimeout (test.js:41:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
|
|
Running test: testThreeLimitTwoSetTimeouts
|
|
foo1 (test.js:11:2)
|
|
-- setTimeout --
|
|
twoSetTimeout (test.js:40:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo2 (test.js:15:2)
|
|
-- setTimeout --
|
|
twoSetTimeout (test.js:41:2)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
|
|
Running test: testTenLimitTwentySetTimeouts
|
|
foo1 (:0:17)
|
|
(anonymous) (:0:28)
|
|
|
|
foo2 (:0:17)
|
|
(anonymous) (:0:28)
|
|
|
|
foo3 (:0:17)
|
|
(anonymous) (:0:28)
|
|
|
|
foo4 (:0:17)
|
|
(anonymous) (:0:28)
|
|
|
|
foo5 (:0:17)
|
|
(anonymous) (:0:28)
|
|
|
|
foo6 (:0:17)
|
|
(anonymous) (:0:28)
|
|
|
|
foo7 (:0:17)
|
|
(anonymous) (:0:28)
|
|
|
|
foo8 (:0:17)
|
|
(anonymous) (:0:28)
|
|
|
|
foo9 (:0:17)
|
|
(anonymous) (:0:28)
|
|
|
|
foo10 (:0:18)
|
|
(anonymous) (:0:29)
|
|
|
|
foo11 (:0:18)
|
|
(anonymous) (:0:29)
|
|
-- setTimeout --
|
|
twentySetTimeout (test.js:49:4)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo12 (:0:18)
|
|
(anonymous) (:0:29)
|
|
-- setTimeout --
|
|
twentySetTimeout (test.js:49:4)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo13 (:0:18)
|
|
(anonymous) (:0:29)
|
|
-- setTimeout --
|
|
twentySetTimeout (test.js:49:4)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo14 (:0:18)
|
|
(anonymous) (:0:29)
|
|
-- setTimeout --
|
|
twentySetTimeout (test.js:49:4)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo15 (:0:18)
|
|
(anonymous) (:0:29)
|
|
-- setTimeout --
|
|
twentySetTimeout (test.js:49:4)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo16 (:0:18)
|
|
(anonymous) (:0:29)
|
|
-- setTimeout --
|
|
twentySetTimeout (test.js:49:4)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo17 (:0:18)
|
|
(anonymous) (:0:29)
|
|
-- setTimeout --
|
|
twentySetTimeout (test.js:49:4)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo18 (:0:18)
|
|
(anonymous) (:0:29)
|
|
-- setTimeout --
|
|
twentySetTimeout (test.js:49:4)
|
|
(anonymous) (expr.js:0:0)
|
|
|
|
foo19 (:0:18)
|
|
(anonymous) (:0:29)
|
|
-- setTimeout --
|
|
twentySetTimeout (test.js:49:4)
|
|
(anonymous) (expr.js:0:0)
|
|
|