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

Unified Diff: test/inspector-protocol/json-parse.js

Issue 2358943002: [inspector] added inspector protocol test runner (Closed)
Patch Set: a Created 4 years, 3 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
Index: test/inspector-protocol/json-parse.js
diff --git a/test/inspector-protocol/json-parse.js b/test/inspector-protocol/json-parse.js
new file mode 100644
index 0000000000000000000000000000000000000000..bee7ed27b4c9fa1805f0640dc4b9177d40fa2345
--- /dev/null
+++ b/test/inspector-protocol/json-parse.js
@@ -0,0 +1,13 @@
+// Copyright 2016 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+var command = { "method": "Runtime.evaluate", "params": { expression: "\"!!!\"" }, "id": InspectorTest._requestId + 1 };
+InspectorTest.sendRawCommand(JSON.stringify(command).replace("!!!", "\\u041F\\u0440\\u0438\\u0432\\u0435\\u0442 \\u043C\\u0438\\u0440"), step2);
+
+function step2(msg)
+{
+ msg.id = 1;
+ InspectorTest.logObject(msg);
+ InspectorTest.completeTest();
+}

Powered by Google App Engine
This is Rietveld 408576698