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

Side by Side Diff: LayoutTests/fast/dom/Attr/update-attribute-node-null-value-no-crash-expected.txt

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Updating value of an attached Attr node having a null value
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS attr.value is ""
7 PASS attr.value = null; attr.value is null
8 PASS element.setAttributeNode(attr); is null
9 PASS element.getAttribute('nullable'); is null
10 PASS attr.value = 'noCrash'; attr.value is "noCrash"
11 PASS element.getAttribute('nullable') is "noCrash"
12 PASS attr.value = null; attr.value is null
13 PASS element.getAttribute('nullable') is null
14 PASS successfullyParsed is true
15
16 TEST COMPLETE
17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698