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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol-2/json-parse.js

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 (async function() {
6 let {page, session, Protocol} = await InspectorTest.start('Tests that backend correctly handles unicode in messages');
7
8 var requestId = 100500;
9 var command = {
10 'method': 'Runtime.evaluate',
11 'params': {expression: '\'!!!\''},
12 'id': requestId
13 };
14 var message = JSON.stringify(command).replace('!!!', '\\u041F\\u0440\\u0438\\u 0432\\u0435\\u0442 \\u043C\\u0438\\u0440');
15 InspectorTest.logMessage(await session.sendRawCommand(requestId, message));
16 InspectorTest.completeTest();
17 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698