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

Side by Side Diff: test/inspector/debugger/wasm-stack.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
« no previous file with comments | « test/inspector/debugger/wasm-source.js ('k') | test/inspector/debugger/wasm-stepping.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 // Flags: --expose-wasm 5 // Flags: --expose-wasm
6 6
7 load('test/mjsunit/wasm/wasm-constants.js'); 7 utils.load('test/mjsunit/wasm/wasm-constants.js');
8 load('test/mjsunit/wasm/wasm-module-builder.js'); 8 utils.load('test/mjsunit/wasm/wasm-module-builder.js');
9 9
10 var builder = new WasmModuleBuilder(); 10 var builder = new WasmModuleBuilder();
11 11
12 var imported_idx = builder.addImport("mode", "func", kSig_v_v); 12 var imported_idx = builder.addImport("mode", "func", kSig_v_v);
13 13
14 var call_imported_idx = builder.addFunction('call_func', kSig_v_v) 14 var call_imported_idx = builder.addFunction('call_func', kSig_v_v)
15 .addBody([kExprCallFunction, imported_idx]) 15 .addBody([kExprCallFunction, imported_idx])
16 .index; 16 .index;
17 17
18 // Open a block in order to make the positions more interesting... 18 // Open a block in order to make the positions more interesting...
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 { 87 {
88 InspectorTest.log( 88 InspectorTest.log(
89 'Result of evaluate (' + response.result.result.type + '):'); 89 'Result of evaluate (' + response.result.result.type + '):');
90 var result_lines = response.result.result.value.split('\n'); 90 var result_lines = response.result.result.value.split('\n');
91 // Skip the second line, containing the 'evaluate' position. 91 // Skip the second line, containing the 'evaluate' position.
92 result_lines[1] = ' -- skipped --'; 92 result_lines[1] = ' -- skipped --';
93 InspectorTest.log(result_lines.join('\n')); 93 InspectorTest.log(result_lines.join('\n'));
94 InspectorTest.log('Finished!'); 94 InspectorTest.log('Finished!');
95 InspectorTest.completeTest(); 95 InspectorTest.completeTest();
96 } 96 }
OLDNEW
« no previous file with comments | « test/inspector/debugger/wasm-source.js ('k') | test/inspector/debugger/wasm-stepping.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698