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

Side by Side Diff: test/inspector/json-parse.js

Issue 2890463004: [inspector] Refactor inspector test (Closed)
Patch Set: better crash fix Created 3 years, 7 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/isolate-data.cc ('k') | test/inspector/protocol-test.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 const id = ++InspectorTest._requestId; 5 const id = ++InspectorTest.session._requestId;
6 var command = { "method": "Runtime.evaluate", "params": { expression: "\"!!!\"" }, "id": id }; 6 var command = { "method": "Runtime.evaluate", "params": { expression: "\"!!!\"" }, "id": id };
7 InspectorTest.sendRawCommand(id, JSON.stringify(command).replace("!!!", "\\u041F \\u0440\\u0438\\u0432\\u0435\\u0442 \\u043C\\u0438\\u0440"), step2); 7 InspectorTest.session.sendRawCommand(id, JSON.stringify(command).replace("!!!", "\\u041F\\u0440\\u0438\\u0432\\u0435\\u0442 \\u043C\\u0438\\u0440"), step2);
8 8
9 function step2(msg) 9 function step2(msg)
10 { 10 {
11 msg.id = 1; 11 msg.id = 1;
12 InspectorTest.logObject(msg); 12 InspectorTest.logObject(msg);
13 InspectorTest.completeTest(); 13 InspectorTest.completeTest();
14 } 14 }
OLDNEW
« no previous file with comments | « test/inspector/isolate-data.cc ('k') | test/inspector/protocol-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698