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

Unified Diff: test/inspector/debugger/get-possible-breakpoints-ignore-nested-expected.txt

Issue 2710953004: [inspector] added restrictToFunction flag for getPossibleBreakpoints (Closed)
Patch Set: 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
Index: test/inspector/debugger/get-possible-breakpoints-ignore-nested-expected.txt
diff --git a/test/inspector/debugger/get-possible-breakpoints-ignore-nested-expected.txt b/test/inspector/debugger/get-possible-breakpoints-ignore-nested-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bac2fdefe3f2436b636ce16b5e00e206f7957c0
--- /dev/null
+++ b/test/inspector/debugger/get-possible-breakpoints-ignore-nested-expected.txt
@@ -0,0 +1,136 @@
+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
+nested1 (test.js:4:4)
dgozman 2017/02/22 23:20:39 Stepping...
kozy 2017/02/22 23:43:49 Done.
+
+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
+
+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
+
+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
+

Powered by Google App Engine
This is Rietveld 408576698