| Index: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-ns-attr-modified.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-ns-attr-modified.html b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-ns-attr-modified.html
|
| deleted file mode 100644
|
| index a416efaf2a222b30e70521b5fb743a45dda7d384..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-ns-attr-modified.html
|
| +++ /dev/null
|
| @@ -1,61 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
|
| -<script>
|
| -function test()
|
| -{
|
| - var rootNodeId;
|
| -
|
| - InspectorTest.sendCommand("DOM.getDocument", {}, onGotDocument);
|
| -
|
| - function onGotDocument(msg)
|
| - {
|
| - rootNodeId = msg.result.root.nodeId;
|
| - getMainNodeId();
|
| - }
|
| -
|
| - function getMainNodeId(next)
|
| - {
|
| - InspectorTest.sendCommand("DOM.querySelector", { "nodeId": rootNodeId, "selector": "#main" }, onMainNodeLoaded);
|
| - }
|
| -
|
| - function onMainNodeLoaded()
|
| - {
|
| - InspectorTest.log("");
|
| - InspectorTest.log("Changing attribute...");
|
| - InspectorTest.eventHandler["DOM.attributeModified"] = onAttributeModified;
|
| - var expression = "";
|
| - expression += "var element = document.getElementById('main');\n";
|
| - expression += "element.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', 'changed-url');\n";
|
| - InspectorTest.sendCommand("Runtime.evaluate", { expression: expression });
|
| - }
|
| -
|
| - function onAttributeModified(msg)
|
| - {
|
| - var result = msg.params;
|
| - InspectorTest.log("Modified attribute: '" + result.name + "'='" + result.value + "'");
|
| -
|
| - InspectorTest.log("Removing attribute...");
|
| - InspectorTest.eventHandler["DOM.attributeRemoved"] = onAttributeRemoved;
|
| - var expression = "";
|
| - expression += "var element = document.getElementById('main');\n";
|
| - expression += "element.removeAttribute('xlink:href', 'changed-url');\n";
|
| - InspectorTest.sendCommand("Runtime.evaluate", { expression: expression });
|
| - }
|
| -
|
| - function onAttributeRemoved(msg)
|
| - {
|
| - var result = msg.params;
|
| - InspectorTest.log("Removed attribute: '" + result.name + "'");
|
| - InspectorTest.completeTest();
|
| - }
|
| -}
|
| -</script>
|
| -</head>
|
| -<body onload="runTest()">
|
| -<p>Test that DOM events have correct parameters for attribute with namespace in XML document.</p>
|
| -<svg>
|
| - <a id="main" xlink:href="http://localhost">link</a>
|
| -</svg>
|
| -</body>
|
| -</html>
|
|
|