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

Unified Diff: test/inspector/debugger/get-possible-breakpoints-restrict-to-function-expected.txt

Issue 2710953004: [inspector] added restrictToFunction flag for getPossibleBreakpoints (Closed)
Patch Set: addressed comments 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/get-possible-breakpoints-restrict-to-function.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/get-possible-breakpoints-restrict-to-function-expected.txt
diff --git a/test/inspector/debugger/get-possible-breakpoints-restrict-to-function-expected.txt b/test/inspector/debugger/get-possible-breakpoints-restrict-to-function-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81a3fc1093c0c7e136c178f7ef980e8df00f8bd0
--- /dev/null
+++ b/test/inspector/debugger/get-possible-breakpoints-restrict-to-function-expected.txt
@@ -0,0 +1,497 @@
+Checks Debugger.getPossibleBreakpoints with ignoreNestedFunctions
+
+Running test: testWholeFunction
+
+function test() {
+ #Array.#from([1,2]).#map(() => #1#).#filter(() => #true#);
+ function nested1() {
+ #Array.#from([1,2]).#map(() => #1#).#filter(() => #true#);
+ #}
+ function nested2() {
+ #Array.#from([1,2]).#map(() => #1#).#filter(() => #true#);
+ #}
+ #nested1();
+ #nested2();
+#}
+//# sourceURL=test.js
+
+Running test: testWholeFunctionWithoutNested
+
+function test() {
+ #Array.#from([1,2]).#map(() => #1#).#filter(() => #true#);
+ function nested1() {
+ #Array.#from([1,2]).#map(() => #1#).#filter(() => #true#);
+ #}
+ function nested2() {
+ #Array.#from([1,2]).#map(() => #1#).#filter(() => #true#);
+ #}
+ #nested1();
+ #nested2();
+#}
+//# sourceURL=test.js
+
+Running test: testPartOfFunctionWithoutNested
+
+function test() {
+ #Array.#from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Running test: testNestedFunction
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ #Array.#from([1,2]).#map(() => #1#).#filter(() => #true#);
+ #}
+ function nested2() {
+ #Array.#from([1,2]).#map(() => #1#).#filter(() => #true#);
+ #}
+ #nested1();
+ #nested2();
+#}
+//# sourceURL=test.js
+Run test() to check breakpoints..
+test (test.js:9:2)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ ^nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+nested1 (test.js:4:4)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ ^Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+nested1 (test.js:4:10)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.^from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+nested1 (test.js:4:22)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).^map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map (test.js:4:32)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => ^1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map (test.js:4:33)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1^).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map (test.js:4:32)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => ^1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map (test.js:4:33)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1^).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+nested1 (test.js:4:35)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).^filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map.filter (test.js:4:48)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => ^true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map.filter (test.js:4:52)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true^);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map.filter (test.js:4:48)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => ^true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map.filter (test.js:4:52)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true^);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+nested1 (test.js:5:2)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ ^}
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+test (test.js:10:2)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ ^nested2();
+}
+//# sourceURL=test.js
+
+nested2 (test.js:7:4)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ ^Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+nested2 (test.js:7:10)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.^from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+nested2 (test.js:7:22)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).^map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map (test.js:7:32)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => ^1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map (test.js:7:33)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1^).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map (test.js:7:32)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => ^1).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map (test.js:7:33)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1^).filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+nested2 (test.js:7:35)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).^filter(() => true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map.filter (test.js:7:48)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => ^true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map.filter (test.js:7:52)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true^);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map.filter (test.js:7:48)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => ^true);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+Array.from.map.filter (test.js:7:52)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true^);
+ }
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+nested2 (test.js:8:2)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ ^}
+ nested1();
+ nested2();
+}
+//# sourceURL=test.js
+
+test (test.js:11:0)
+
+function test() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ function nested1() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ function nested2() {
+ Array.from([1,2]).map(() => 1).filter(() => true);
+ }
+ nested1();
+ nested2();
+^}
+//# sourceURL=test.js
+
« no previous file with comments | « test/inspector/debugger/get-possible-breakpoints-restrict-to-function.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698