Index: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getNodeForLocation.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getNodeForLocation.html b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getNodeForLocation.html |
deleted file mode 100644 |
index 228f7c21109a1df070c7c57ff5121c40e8ef20eb..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getNodeForLocation.html |
+++ /dev/null |
@@ -1,40 +0,0 @@ |
-<html> |
-<head> |
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script> |
-<script> |
- |
-function test() |
-{ |
- var nodeInfo = {}; |
- InspectorTest.eventHandler["DOM.setChildNodes"] = setChildNodes; |
- InspectorTest.sendCommand("DOM.enable", {}); |
- InspectorTest.sendCommand("DOM.getNodeForLocation", { "x": 10, "y": 10 }, onGetNodeForLocation); |
- |
- function onGetNodeForLocation(message) |
- { |
- if (message.error) { |
- InspectorTest.log(message.error.message); |
- InspectorTest.completeTest(); |
- return; |
- } |
- var nodeId = message.result.nodeId; |
- InspectorTest.logObject(nodeInfo[nodeId], "Node: ", ["backendNodeId"]); |
- InspectorTest.completeTest(); |
- } |
- |
- function setChildNodes(message) |
- { |
- var nodes = message.params.nodes; |
- for (var i = 0; i < nodes.length; ++i) { |
- nodeInfo[nodes[i].nodeId] = nodes[i]; |
- delete nodes[i].nodeId; |
- } |
- } |
-} |
- |
-</script> |
-</head> |
-<body onload="runTest()"> |
-<div style="position:absolute;top:0;left:0;width:100;height:100"></div> |
-</body> |
-</html> |