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

Unified Diff: test/inspector/debugger/step-into-arrow-expected.txt

Issue 2721633004: [inspector] fixed crash on attempt to access empty scope_info on break (Closed)
Patch Set: better test Created 3 years, 10 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
« no previous file with comments | « test/inspector/debugger/step-into-arrow.js ('k') | test/inspector/protocol-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/step-into-arrow-expected.txt
diff --git a/test/inspector/debugger/step-into-arrow-expected.txt b/test/inspector/debugger/step-into-arrow-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4034453fcb2a069e326a043f33ff80c4fea3b442
--- /dev/null
+++ b/test/inspector/debugger/step-into-arrow-expected.txt
@@ -0,0 +1,23 @@
+Checks that stepInto nested arrow function doesn't produce crash.
+const mult = (x) => (y) =>
+ #y ? mult(x * y) : x;
+
+const mult = (x) => #(y) =>
+ y ? mult(x * y) : x;
+
+const mult = (x) => (y) =>
+ y ? mult(x * y) : x#;
+
+const mult = (x) => (y) =>
+ y ? mult(x * y) : x#;
+
+mult(5)(4)#()
+
+const mult = (x) => (y) =>
+ #y ? mult(x * y) : x;
+
+const mult = (x) => (y) =>
+ y ? mult(x * y) : x#;
+
+mult(5)(4)(#)
+
« no previous file with comments | « test/inspector/debugger/step-into-arrow.js ('k') | test/inspector/protocol-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698