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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties-preview.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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script> 4 <script>
5 5
6 function test() 6 function test()
7 { 7 {
8 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "({p1: {a:1}, p2: {b:'foo', bb:'bar'}})" }, callbackEvaluate); 8 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "({p1: {a:1}, p2: {b:'foo', bb:'bar'}})" }, callbackEvaluate);
9 9
10 function callbackEvaluate(result) 10 function callbackEvaluate(result)
11 { 11 {
12 InspectorTest.sendCommand("Runtime.getProperties", { "objectId": result. result.result.objectId, "ownProperties": true }, callbackGetProperties.bind(null , false)); 12 InspectorTest.sendCommand("Runtime.getProperties", { "objectId": result. result.result.objectId, "ownProperties": true }, callbackGetProperties.bind(null , false));
13 InspectorTest.sendCommand("Runtime.getProperties", { "objectId": result. result.result.objectId, "ownProperties": true, "generatePreview": true }, callba ckGetProperties.bind(null, true)); 13 InspectorTest.sendCommand("Runtime.getProperties", { "objectId": result. result.result.objectId, "ownProperties": true, "generatePreview": true }, callba ckGetProperties.bind(null, true));
(...skipping 11 matching lines...) Expand all
25 } 25 }
26 if (completeTest) 26 if (completeTest)
27 InspectorTest.completeTest(); 27 InspectorTest.completeTest();
28 } 28 }
29 } 29 }
30 </script> 30 </script>
31 </head> 31 </head>
32 <body onLoad="runTest();"> 32 <body onLoad="runTest();">
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698