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

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

Issue 2710903003: [inspector] added master test for break locations (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/step-into.js ('k') | test/inspector/inspector-test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/step-into-expected.txt
diff --git a/test/inspector/debugger/step-into-expected.txt b/test/inspector/debugger/step-into-expected.txt
index 6b08296ccb7e2103b039a79eef9612a9a05c9f99..1d7888aa50498168555b8dbf3e596d47bb05b9f9 100644
--- a/test/inspector/debugger/step-into-expected.txt
+++ b/test/inspector/debugger/step-into-expected.txt
@@ -960,3 +960,130 @@ break at:
#await p;
}
+
+Running test: testPromiseComplex
+break at:
+ var nextTest;
+ var testPromise = #new Promise(resolve => nextTest = resolve);
+ async function main() {
+
+break at:
+ var nextTest;
+ var testPromise = new Promise(resolve => nextTest #= resolve);
+ async function main() {
+
+break at:
+ var nextTest;
+ var testPromise = new Promise(resolve => nextTest = resolve#);
+ async function main() {
+
+break at:
+ }
+ #main();
+ return testPromise;
+
+break at:
+ }
+ var x = #1;
+ var y = 2;
+
+break at:
+ var x = 1;
+ var y = #2;
+ returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = await foo((a => 2 *a)(5));
+
+break at:
+ var y = 2;
+ #returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = await foo((a => 2 *a)(5));
+ nextTest();
+
+break at:
+
+function emptyFunction() {#}
+
+
+break at:
+ var y = 2;
+ returnFunction(emptyFunction(), x++, --y, x => 2 * x, #returnCall())().a = await foo((a => 2 *a)(5));
+ nextTest();
+
+break at:
+function returnCall() {
+ #return return42();
+}
+
+break at:
+function return42() {
+ #return 42;
+}
+
+break at:
+ return 42;
+#}
+
+
+break at:
+ return return42();
+#}
+
+
+break at:
+ var y = 2;
+ #returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = await foo((a => 2 *a)(5));
+ nextTest();
+
+break at:
+function returnFunction() {
+ #return returnObject;
+}
+
+break at:
+ return returnObject;
+#}
+
+
+break at:
+ var y = 2;
+ returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())#().a = await foo((a => 2 *a)(5));
+ nextTest();
+
+break at:
+function returnObject() {
+ #return ({ foo: () => 42 });
+}
+
+break at:
+ return ({ foo: () => 42 });
+#}
+
+
+break at:
+ var y = 2;
+ returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = await #foo((a => 2 *a)(5));
+ nextTest();
+
+break at:
+ var y = 2;
+ returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = await foo((a => 2 #*a)(5));
+ nextTest();
+
+break at:
+ var y = 2;
+ returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = await foo((a => 2 *a#)(5));
+ nextTest();
+
+break at:
+ var y = 2;
+ returnFunction(emptyFunction(), x++, --y, x => 2 * x, returnCall())().a = await #foo((a => 2 *a)(5));
+ nextTest();
+
+break at:
+ async function foo() {
+ await Promise.#resolve();
+ return 42;
+
+break at:
+ async function foo() {
+ #await Promise.resolve();
+ return 42;
+
« no previous file with comments | « test/inspector/debugger/step-into.js ('k') | test/inspector/inspector-test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698