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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Attr/set-attribute-node-from-iframe.html

Issue 2781993003: Move tests for Attr interface to LayoutTests/dom/attr/. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/Attr/set-attribute-node-from-iframe.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Attr/set-attribute-node-from-iframe.html b/third_party/WebKit/LayoutTests/fast/dom/Attr/set-attribute-node-from-iframe.html
deleted file mode 100644
index e0e6666942f0ae063f7e8c3902335a75b1f3e9df..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/Attr/set-attribute-node-from-iframe.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body>
-<iframe></iframe>
-<div id="toBeMoved"></div>
-<script>
-description("ownerDocument of Attr should be set on setAttributeNode");
-elementToBeMoved = document.getElementById("toBeMoved");
-iframeElement = document.getElementsByTagName("iframe")[0];
-iframeDocument = iframeElement.contentWindow.document;
-attr = iframeDocument.createAttribute("foo");
-shouldBe("attr.ownerDocument", "iframeDocument")
-elementToBeMoved.setAttributeNode(attr);
-shouldBe("attr.ownerDocument", "document")
-iframeDocument.documentElement.appendChild(elementToBeMoved);
-shouldBe("attr.ownerDocument", "iframeDocument")
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698