Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: test/inspector/debugger/promise-chain-when-limit-hit-expected.txt

Issue 2868423004: Revert of [inspector] use creation stack trace as parent for async call chains (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/inspector/debugger/promise-chain-when-limit-hit-expected.txt
diff --git a/test/inspector/debugger/promise-chain-when-limit-hit-expected.txt b/test/inspector/debugger/promise-chain-when-limit-hit-expected.txt
index 283c913e2ec519cfb6384a8f1d3afa6fbe8798e6..1b63dea52557067fd841e89f9a3296e386529faf 100644
--- a/test/inspector/debugger/promise-chain-when-limit-hit-expected.txt
+++ b/test/inspector/debugger/promise-chain-when-limit-hit-expected.txt
@@ -21,214 +21,277 @@
url :
}
]
- parent : {
- callFrames : [
- [0] : {
- columnNumber : 46
+ }
+ timestamp : <timestamp>
+ type : trace
+ }
+}
+inspector.setMaxAsyncTaskStacks(4)
+Run expression 'console.trace()' with async chain len: 3
+{
+ method : Runtime.consoleAPICalled
+ params : {
+ args : [
+ [0] : {
+ type : string
+ value : console.trace
+ }
+ ]
+ executionContextId : <executionContextId>
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 67
+ functionName : Promise.resolve.then.then.then
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ parent : {
+ callFrames : [
+ ]
+ description : Promise.resolve
+ promiseCreationFrame : {
+ columnNumber : 46
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ }
+ }
+ timestamp : <timestamp>
+ type : trace
+ }
+}
+inspector.setMaxAsyncTaskStacks(5)
+Run expression 'console.trace()' with async chain len: 3
+{
+ method : Runtime.consoleAPICalled
+ params : {
+ args : [
+ [0] : {
+ type : string
+ value : console.trace
+ }
+ ]
+ executionContextId : <executionContextId>
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 67
+ functionName : Promise.resolve.then.then.then
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ parent : {
+ callFrames : [
+ ]
+ description : Promise.resolve
+ parent : {
+ callFrames : [
+ ]
+ description : Promise.resolve
+ promiseCreationFrame : {
+ columnNumber : 32
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
- ]
- }
- }
- timestamp : <timestamp>
- type : trace
- }
-}
-inspector.setMaxAsyncTaskStacks(4)
-Run expression 'console.trace()' with async chain len: 3
-{
- method : Runtime.consoleAPICalled
- params : {
- args : [
- [0] : {
- type : string
- value : console.trace
- }
- ]
- executionContextId : <executionContextId>
- stackTrace : {
- callFrames : [
- [0] : {
- columnNumber : 67
- functionName : Promise.resolve.then.then.then
- lineNumber : 0
- scriptId : <scriptId>
- url :
- }
- ]
- parent : {
- callFrames : [
- [0] : {
- columnNumber : 46
+ }
+ promiseCreationFrame : {
+ columnNumber : 46
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ }
+ }
+ timestamp : <timestamp>
+ type : trace
+ }
+}
+inspector.setMaxAsyncTaskStacks(6)
+Run expression 'console.trace()' with async chain len: 3
+{
+ method : Runtime.consoleAPICalled
+ params : {
+ args : [
+ [0] : {
+ type : string
+ value : console.trace
+ }
+ ]
+ executionContextId : <executionContextId>
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 67
+ functionName : Promise.resolve.then.then.then
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ parent : {
+ callFrames : [
+ ]
+ description : Promise.resolve
+ promiseCreationFrame : {
+ columnNumber : 46
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ }
+ }
+ timestamp : <timestamp>
+ type : trace
+ }
+}
+inspector.setMaxAsyncTaskStacks(7)
+Run expression 'console.trace()' with async chain len: 3
+{
+ method : Runtime.consoleAPICalled
+ params : {
+ args : [
+ [0] : {
+ type : string
+ value : console.trace
+ }
+ ]
+ executionContextId : <executionContextId>
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 67
+ functionName : Promise.resolve.then.then.then
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ parent : {
+ callFrames : [
+ ]
+ description : Promise.resolve
+ parent : {
+ callFrames : [
+ ]
+ description : Promise.resolve
+ parent : {
+ callFrames : [
+ [0] : {
+ columnNumber : 8
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ description : Promise.resolve
+ promiseCreationFrame : {
+ columnNumber : 18
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ }
+ promiseCreationFrame : {
+ columnNumber : 32
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
- ]
- description : Promise.resolve
- }
- }
- timestamp : <timestamp>
- type : trace
- }
-}
-inspector.setMaxAsyncTaskStacks(5)
-Run expression 'console.trace()' with async chain len: 3
-{
- method : Runtime.consoleAPICalled
- params : {
- args : [
- [0] : {
- type : string
- value : console.trace
- }
- ]
- executionContextId : <executionContextId>
- stackTrace : {
- callFrames : [
- [0] : {
- columnNumber : 67
- functionName : Promise.resolve.then.then.then
- lineNumber : 0
- scriptId : <scriptId>
- url :
- }
- ]
- parent : {
- callFrames : [
- [0] : {
- columnNumber : 46
+ }
+ promiseCreationFrame : {
+ columnNumber : 46
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ }
+ }
+ timestamp : <timestamp>
+ type : trace
+ }
+}
+inspector.setMaxAsyncTaskStacks(8)
+Run expression 'console.trace()' with async chain len: 3
+{
+ method : Runtime.consoleAPICalled
+ params : {
+ args : [
+ [0] : {
+ type : string
+ value : console.trace
+ }
+ ]
+ executionContextId : <executionContextId>
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 67
+ functionName : Promise.resolve.then.then.then
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ parent : {
+ callFrames : [
+ ]
+ description : Promise.resolve
+ parent : {
+ callFrames : [
+ ]
+ description : Promise.resolve
+ parent : {
+ callFrames : [
+ [0] : {
+ columnNumber : 8
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ description : Promise.resolve
+ promiseCreationFrame : {
+ columnNumber : 18
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ }
+ promiseCreationFrame : {
+ columnNumber : 32
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
- ]
- description : Promise.resolve
- }
- }
- timestamp : <timestamp>
- type : trace
- }
-}
-inspector.setMaxAsyncTaskStacks(6)
-Run expression 'console.trace()' with async chain len: 3
-{
- method : Runtime.consoleAPICalled
- params : {
- args : [
- [0] : {
- type : string
- value : console.trace
- }
- ]
- executionContextId : <executionContextId>
- stackTrace : {
- callFrames : [
- [0] : {
- columnNumber : 67
- functionName : Promise.resolve.then.then.then
- lineNumber : 0
- scriptId : <scriptId>
- url :
- }
- ]
- parent : {
- callFrames : [
- [0] : {
- columnNumber : 46
- functionName :
- lineNumber : 0
- scriptId : <scriptId>
- url :
- }
- ]
- description : Promise.resolve
- }
- }
- timestamp : <timestamp>
- type : trace
- }
-}
-inspector.setMaxAsyncTaskStacks(7)
-Run expression 'console.trace()' with async chain len: 3
-{
- method : Runtime.consoleAPICalled
- params : {
- args : [
- [0] : {
- type : string
- value : console.trace
- }
- ]
- executionContextId : <executionContextId>
- stackTrace : {
- callFrames : [
- [0] : {
- columnNumber : 67
- functionName : Promise.resolve.then.then.then
- lineNumber : 0
- scriptId : <scriptId>
- url :
- }
- ]
- parent : {
- callFrames : [
- [0] : {
- columnNumber : 46
- functionName :
- lineNumber : 0
- scriptId : <scriptId>
- url :
- }
- ]
- description : Promise.resolve
- }
- }
- timestamp : <timestamp>
- type : trace
- }
-}
-inspector.setMaxAsyncTaskStacks(8)
-Run expression 'console.trace()' with async chain len: 3
-{
- method : Runtime.consoleAPICalled
- params : {
- args : [
- [0] : {
- type : string
- value : console.trace
- }
- ]
- executionContextId : <executionContextId>
- stackTrace : {
- callFrames : [
- [0] : {
- columnNumber : 67
- functionName : Promise.resolve.then.then.then
- lineNumber : 0
- scriptId : <scriptId>
- url :
- }
- ]
- parent : {
- callFrames : [
- [0] : {
- columnNumber : 46
- functionName :
- lineNumber : 0
- scriptId : <scriptId>
- url :
- }
- ]
- description : Promise.resolve
- }
- }
- timestamp : <timestamp>
- type : trace
- }
-}
+ }
+ promiseCreationFrame : {
+ columnNumber : 46
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ }
+ }
+ timestamp : <timestamp>
+ type : trace
+ }
+}
« no previous file with comments | « test/inspector/debugger/promise-chain-when-limit-hit.js ('k') | test/inspector/debugger/set-async-call-stack-depth.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698