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

Unified Diff: LayoutTests/fast/dom/Attr/update-attribute-node-null-value-no-crash.html

Issue 1146393003: Make Attr.value/nodeValue/textContent not nullable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add [TreatNullAs=EmptyString] to Attr.nodeValue/textContent Created 5 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Attr/update-attribute-node-null-value-no-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Attr/update-attribute-node-null-value-no-crash.html
diff --git a/LayoutTests/fast/dom/Attr/update-attribute-node-null-value-no-crash.html b/LayoutTests/fast/dom/Attr/update-attribute-node-null-value-no-crash.html
deleted file mode 100644
index af3a5a595858845d5d7244d0fa24d9aac7d0f5f9..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/Attr/update-attribute-node-null-value-no-crash.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-description("Updating value of an attached Attr node having a null value");
-
-var element = document.createElement("div");
-var attr = document.createAttribute("nullable");
-shouldBeEmptyString("attr.value");
-shouldBeNull("attr.value = null; attr.value");
-shouldBeNull("element.setAttributeNode(attr);");
-shouldBeNull("element.getAttribute('nullable');");
-shouldBeEqualToString("attr.value = 'noCrash'; attr.value", "noCrash");
-shouldBeEqualToString("element.getAttribute('nullable')", "noCrash");
-shouldBeNull("attr.value = null; attr.value");
-shouldBeNull("element.getAttribute('nullable')");
-</script>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Attr/update-attribute-node-null-value-no-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698