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

Unified Diff: LayoutTests/fast/dom/coreDOM-element-attribute-js-null.xhtml

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
Index: LayoutTests/fast/dom/coreDOM-element-attribute-js-null.xhtml
diff --git a/LayoutTests/fast/dom/coreDOM-element-attribute-js-null.xhtml b/LayoutTests/fast/dom/coreDOM-element-attribute-js-null.xhtml
index 41a6d3612b3c9970d2a426d1b4c864b8a57b1221..c8c47cd87d8f2a2a8bc84fc5a8e4d4ea40b45a7c 100644
--- a/LayoutTests/fast/dom/coreDOM-element-attribute-js-null.xhtml
+++ b/LayoutTests/fast/dom/coreDOM-element-attribute-js-null.xhtml
@@ -50,7 +50,9 @@
type: 'Attr',
elementToUse: document.createAttributeNS('http://www.w3.org/1999/xhtml','anAttribute'),
attributes: [
- {name: 'value', expectedNull: null}
+ {name: 'value', expectedNull: 'null'},
+ {name: 'nodeValue', expectedNull: ''},
+ {name: 'textContent', expectedNull: ''}
]
},
{

Powered by Google App Engine
This is Rietveld 408576698