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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/json-parse.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp 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 <html>
2 <head>
3 <meta charset="utf8">
4 <script type="text/javascript" src="../http/tests/inspector-protocol/inspector-p rotocol-test.js"></script>
5 <script>
6
7 function test()
8 {
9 var command = { "method": "Runtime.evaluate", "params": { expression: "\"!!! \"" }, "id": InspectorTest._requestId + 1 };
10 InspectorTest.sendRawCommand(JSON.stringify(command).replace("!!!", "\\u041F \\u0440\\u0438\\u0432\\u0435\\u0442 \\u043C\\u0438\\u0440"), step2);
11
12 function step2(msg)
13 {
14 msg.id = 1;
15 InspectorTest.logObject(msg);
16 InspectorTest.completeTest();
17 }
18 }
19
20 </script>
21 </head>
22 <body onload="runTest()">
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698