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

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

Issue 2723273002: [inspector] introduced Debugger.scheduleStepIntoAsync (Closed)
Patch Set: fixed tests 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/schedule-step-into-async.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/schedule-step-into-async-expected.txt
diff --git a/test/inspector/debugger/schedule-step-into-async-expected.txt b/test/inspector/debugger/schedule-step-into-async-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7808101635ae1b4656ef4dfdbeb8128423578799
--- /dev/null
+++ b/test/inspector/debugger/schedule-step-into-async-expected.txt
@@ -0,0 +1,191 @@
+Checks Debugger.scheduleStepIntoAsync.
+
+Running test: testScheduleErrors
+paused at:
+function testNoScheduledTask() {
+ #debugger;
+ return 42;
+
+{
+ error : {
+ code : -32000
+ message : Current scheduled step into async was overriden with new one.
+ }
+ id : <messageId>
+}
+{
+ error : {
+ code : -32000
+ message : No async tasks were scheduled before pause.
+ }
+ id : <messageId>
+}
+paused at:
+ debugger;
+ #return 42;
+}
+
+
+Running test: testSimple
+paused at:
+function testSimple() {
+ #debugger;
+ Promise.resolve().then(v => v * 2);
+
+paused at:
+ debugger;
+ #Promise.resolve().then(v => v * 2);
+}
+
+{
+ id : <messageId>
+ result : {
+ }
+}
+paused at:
+ debugger;
+ Promise.resolve().then(#v => v * 2);
+}
+
+
+Running test: testNotResolvedPromise
+paused at:
+ var p = new Promise(resolve => resolveCallback = resolve);
+ #debugger;
+ p.then(v => v * 2);
+
+paused at:
+ debugger;
+ #p.then(v => v * 2);
+ resolveCallback();
+
+{
+ id : <messageId>
+ result : {
+ }
+}
+paused at:
+ debugger;
+ p.then(#v => v * 2);
+ resolveCallback();
+
+
+Running test: testTwoAsyncTasks
+paused at:
+function testTwoAsyncTasks() {
+ #debugger;
+ Promise.resolve().then(v => v * 2);
+
+{
+ id : <messageId>
+ result : {
+ }
+}
+paused at:
+ debugger;
+ Promise.resolve().then(#v => v * 2);
+ Promise.resolve().then(v => v * 4);
+
+
+Running test: testTwoTasksAndGoToSecond
+paused at:
+function testTwoAsyncTasks() {
+ #debugger;
+ Promise.resolve().then(v => v * 2);
+
+paused at:
+ debugger;
+ #Promise.resolve().then(v => v * 2);
+ Promise.resolve().then(v => v * 4);
+
+paused at:
+ Promise.resolve().then(v => v * 2);
+ #Promise.resolve().then(v => v * 4);
+}
+
+{
+ id : <messageId>
+ result : {
+ }
+}
+paused at:
+ Promise.resolve().then(v => v * 2);
+ Promise.resolve().then(#v => v * 4);
+}
+
+
+Running test: testTwoAsyncTasksWithBreak
+paused at:
+function testTwoAsyncTasksWithBreak() {
+ #debugger;
+ Promise.resolve().then(v => v * 2);
+
+paused at:
+ debugger;
+ #Promise.resolve().then(v => v * 2);
+ debugger;
+
+{
+ id : <messageId>
+ result : {
+ }
+}
+paused at:
+ Promise.resolve().then(v => v * 2);
+ #debugger;
+ Promise.resolve().then(v => v * 4);
+
+{
+ id : <messageId>
+ result : {
+ }
+}
+paused at:
+ debugger;
+ Promise.resolve().then(#v => v * 4);
+}
+
+
+Running test: testPromiseAll
+paused at:
+function testPromiseAll() {
+ #debugger;
+ Promise.all([ Promise.resolve(), Promise.resolve() ]).then(v => v * 2);
+
+paused at:
+ debugger;
+ #Promise.all([ Promise.resolve(), Promise.resolve() ]).then(v => v * 2);
+}
+
+{
+ id : <messageId>
+ result : {
+ }
+}
+paused at:
+ debugger;
+ Promise.all([ Promise.resolve(), Promise.resolve() ]).then(#v => v * 2);
+}
+
+
+Running test: testWithBlackboxedCode
+paused at:
+function testBlackboxedCreatePromise() {
+ #debugger;
+ createPromise().then(v => v * 2);
+
+paused at:
+ debugger;
+ #createPromise().then(v => v * 2);
+}
+
+{
+ id : <messageId>
+ result : {
+ }
+}
+paused at:
+ debugger;
+ createPromise().then(#v => v * 2);
+}
+
« no previous file with comments | « test/inspector/debugger/schedule-step-into-async.js ('k') | test/inspector/protocol-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698