| Index: third_party/WebKit/LayoutTests/inspector-protocol/json-parse.js
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/json-parse.js b/third_party/WebKit/LayoutTests/inspector-protocol/json-parse.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4a66a19927f5d4e97d5d577a728269e1d62fbec2
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/json-parse.js
|
| @@ -0,0 +1,13 @@
|
| +(async function() {
|
| + let {page, session, Protocol} = await InspectorTest.startBlank('Tests that backend correctly handles unicode in messages');
|
| +
|
| + var requestId = 100500;
|
| + var command = {
|
| + 'method': 'Runtime.evaluate',
|
| + 'params': {expression: '\'!!!\''},
|
| + 'id': requestId
|
| + };
|
| + var message = JSON.stringify(command).replace('!!!', '\\u041F\\u0440\\u0438\\u0432\\u0435\\u0442 \\u043C\\u0438\\u0440');
|
| + InspectorTest.logMessage(await session.sendRawCommand(requestId, message));
|
| + InspectorTest.completeTest();
|
| +})();
|
|
|