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

Side by Side Diff: test/inspector/runtime/es6-module.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('Checks basic ES6 modules support.'); 5 InspectorTest.log('Checks basic ES6 modules support.');
6 6
7 var module1 = ` 7 var module1 = `
8 export function foo() { 8 export function foo() {
9 console.log('module1'); 9 console.log('module1');
10 return 42; 10 return 42;
11 } 11 }
12 export let a1 = 1`; 12 export let a1 = 1`;
13 13
14 var module2 = ` 14 var module2 = `
15 export function foo() { 15 export function foo() {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 Protocol.Runtime.onExceptionThrown(InspectorTest.logMessage); 52 Protocol.Runtime.onExceptionThrown(InspectorTest.logMessage);
53 53
54 Protocol.Runtime.enable(); 54 Protocol.Runtime.enable();
55 Protocol.Debugger.enable() 55 Protocol.Debugger.enable()
56 .then(() => InspectorTest.addModule(module1, "module1")) 56 .then(() => InspectorTest.addModule(module1, "module1"))
57 .then(() => InspectorTest.addModule(module2, "module2")) 57 .then(() => InspectorTest.addModule(module2, "module2"))
58 .then(() => InspectorTest.addModule(module3, "module3")) 58 .then(() => InspectorTest.addModule(module3, "module3"))
59 .then(() => InspectorTest.addModule(module4, "module4")) 59 .then(() => InspectorTest.addModule(module4, "module4"))
60 .then(() => InspectorTest.waitPendingTasks()) 60 .then(() => InspectorTest.waitPendingTasks())
61 .then(InspectorTest.completeTest); 61 .then(InspectorTest.completeTest);
OLDNEW
« no previous file with comments | « test/inspector/runtime/console-time-end-format.js ('k') | test/inspector/runtime/evaluate-async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698