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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.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/update-attribute-node-no-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html b/third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html
deleted file mode 100644
index 996ff3bb51e26a9180e4d07bca6106c9ed64c01c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/Attr/update-attribute-node-no-crash.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body>
-<iframe></iframe>
-<div id="test" style="background-color: red"></div>
-<script>
-description("Updating value of replaced attribute node");
-var element = document.getElementById("test");
-var attr = document.createAttribute("STYLE");
-// This aligns with Trident rather than Gecko.
-shouldBeEqualToString("replaced = element.setAttributeNode(attr); replaced.name", "style");
-shouldBeEqualToString("replaced.value", "background-color: red");
-shouldBeEqualToString("attr.name", "style");
-shouldBeEqualToString("attr.value", "");
-shouldBeEqualToString("element.getAttribute('style')", "");
-shouldBeEqualToString("element.getAttribute('StyLE')", "");
-// Setting the value must correctly locate attribute on the element and update it,
-// even if the local name differs. PASS if no crash (crbug.com/376718)
-shouldBeEqualToString("attr.value = 'background-color: green'; attr.value", "background-color: green");
-shouldBeEqualToString("element.getAttribute('stylE')", "background-color: green");
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698