Index: test/inspector/debugger/collect-old-async-call-chains-expected.txt |
diff --git a/test/inspector/debugger/collect-old-async-call-chains-expected.txt b/test/inspector/debugger/collect-old-async-call-chains-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..395504de787be5bf0527d6956884c135fa75c71b |
--- /dev/null |
+++ b/test/inspector/debugger/collect-old-async-call-chains-expected.txt |
@@ -0,0 +1,211 @@ |
+Checks that we drop old async call chains. |
+ |
+Running test: testInfrastructure |
+setMaxAsyncTaskStacks(1024) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(1024) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(1024) |
+Run expression 'console.trace(42)' with async chain len: 5 |
+actual async chain len: 5 |
+ |
+setMaxAsyncTaskStacks(1024) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(1024) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(1024) |
+Run expression 'console.trace(42)' with async chain len: 5 |
+actual async chain len: 5 |
+ |
+ |
+Running test: testZeroLimit |
+setMaxAsyncTaskStacks(0) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(0) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(0) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(0) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 0 |
+ |
+ |
+Running test: testOneLimit |
+setMaxAsyncTaskStacks(1) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(1) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(1) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(1) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 1 |
+ |
+ |
+Running test: testTwoLimit |
+setMaxAsyncTaskStacks(2) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(2) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(2) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(2) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(2) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(2) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 1 |
+ |
+ |
+Running test: testMoreThanTwoLimit |
+setMaxAsyncTaskStacks(3) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(3) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(3) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(3) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(3) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(3) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 3 |
+ |
+setMaxAsyncTaskStacks(4) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(4) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(4) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 0 |
+ |
+setMaxAsyncTaskStacks(4) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(4) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(4) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 3 |
+ |
+setMaxAsyncTaskStacks(5) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(5) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(5) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(5) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(5) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(5) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 3 |
+ |
+setMaxAsyncTaskStacks(6) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(6) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(6) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(6) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(6) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(6) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 3 |
+ |
+setMaxAsyncTaskStacks(7) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(7) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(7) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 3 |
+ |
+setMaxAsyncTaskStacks(7) |
+Run expression 'console.trace(42)' with async chain len: 1 |
+actual async chain len: 1 |
+ |
+setMaxAsyncTaskStacks(7) |
+Run expression 'console.trace(42)' with async chain len: 2 |
+actual async chain len: 2 |
+ |
+setMaxAsyncTaskStacks(7) |
+Run expression 'console.trace(42)' with async chain len: 3 |
+actual async chain len: 3 |
+ |