Index: test/inspector/json-parse.js |
diff --git a/test/inspector/json-parse.js b/test/inspector/json-parse.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2d88fea0f03014dcbef6adfa5562f661d13269ce |
--- /dev/null |
+++ b/test/inspector/json-parse.js |
@@ -0,0 +1,14 @@ |
+// 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. |
+ |
+const id = ++InspectorTest._requestId; |
+var command = { "method": "Runtime.evaluate", "params": { expression: "\"!!!\"" }, "id": id }; |
+InspectorTest.sendRawCommand(id, 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(); |
+} |