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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getNodeForLocation.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 var nodeInfo = {}; 8 var nodeInfo = {};
9 InspectorTest.eventHandler["DOM.setChildNodes"] = setChildNodes; 9 InspectorTest.eventHandler["DOM.setChildNodes"] = setChildNodes;
10 InspectorTest.sendCommand("DOM.enable", {}); 10 InspectorTest.sendCommand("DOM.enable", {});
11 InspectorTest.sendCommand("DOM.getNodeForLocation", { "x": 10, "y": 10 }, on GetNodeForLocation); 11 InspectorTest.sendCommand("DOM.getNodeForLocation", { "x": 10, "y": 10 }, on GetNodeForLocation);
12 12
13 function onGetNodeForLocation(message) 13 function onGetNodeForLocation(message)
(...skipping 17 matching lines...) Expand all
31 } 31 }
32 } 32 }
33 } 33 }
34 34
35 </script> 35 </script>
36 </head> 36 </head>
37 <body onload="runTest()"> 37 <body onload="runTest()">
38 <div style="position:absolute;top:0;left:0;width:100;height:100"></div> 38 <div style="position:absolute;top:0;left:0;width:100;height:100"></div>
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698