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

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

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

Powered by Google App Engine
This is Rietveld 408576698