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

Side by Side Diff: test/inspector/debugger/step-into-next-script.js

Issue 2713023004: [inspector] added reconnect method for tests (Closed)
Patch Set: rebased Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 print('Debugger breaks in next script after stepOut from previous one.'); 5 InspectorTest.log('Debugger breaks in next script after stepOut from previous on e.');
6 6
7 InspectorTest.addScript(` 7 InspectorTest.addScript(`
8 function test() { 8 function test() {
9 setTimeout('var a = 1;//# sourceURL=timeout1.js', 0); 9 setTimeout('var a = 1;//# sourceURL=timeout1.js', 0);
10 setTimeout(foo, 0); 10 setTimeout(foo, 0);
11 setTimeout('var a = 3;//# sourceURL=timeout3.js', 0); 11 setTimeout('var a = 3;//# sourceURL=timeout3.js', 0);
12 debugger; 12 debugger;
13 } 13 }
14 //# sourceURL=foo.js`, 7, 26); 14 //# sourceURL=foo.js`, 7, 26);
15 15
(...skipping 26 matching lines...) Expand all
42 .then(next); 42 .then(next);
43 }, 43 },
44 44
45 function testStepInto(next) { 45 function testStepInto(next) {
46 stepAction = 'stepInto'; 46 stepAction = 'stepInto';
47 Protocol.Runtime.evaluate({ expression: 'test()' }) 47 Protocol.Runtime.evaluate({ expression: 'test()' })
48 .then(() => InspectorTest.waitPendingTasks()) 48 .then(() => InspectorTest.waitPendingTasks())
49 .then(next); 49 .then(next);
50 } 50 }
51 ]); 51 ]);
OLDNEW
« no previous file with comments | « test/inspector/debugger/step-into.js ('k') | test/inspector/debugger/wasm-get-breakable-locations.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698