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

Side by Side Diff: LayoutTests/fast/dom/element-attribute-js-null-expected.txt

Issue 104263002: Remove TreatNullAs=NullString for Element.id and .className (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update SVGElement.id test Created 7 years 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
1 This test setting various attributes of a elements to JavaScript null. 1 This test setting various attributes of a elements to JavaScript null.
2 2
3 TEST SUCCEEDED: The value was null. [tested Node.nodeValue] 3 TEST SUCCEEDED: The value was null. [tested Node.nodeValue]
4 TEST SUCCEEDED: The value was null. [tested Node.prefix] 4 TEST SUCCEEDED: The value was null. [tested Node.prefix]
5 TEST SUCCEEDED: The value was the empty string. [tested Node.textContent] 5 TEST SUCCEEDED: The value was the empty string. [tested Node.textContent]
6 6
7 TEST SUCCEEDED: The value was the empty string. [tested Element.id] 7 TEST SUCCEEDED: The value was the string 'null'. [tested Element.id]
8 TEST SUCCEEDED: The value was the empty string. [tested Element.className] 8 TEST SUCCEEDED: The value was the string 'null'. [tested Element.className]
9 TEST SUCCEEDED: The value was the empty string. [tested Element.innerHTML] 9 TEST SUCCEEDED: The value was the empty string. [tested Element.innerHTML]
10 TEST SUCCEEDED: Exception (NoModificationAllowedError: An attempt was made to mo dify an object where modifications are not allowed.) was thrown as expected. [te sted Element.outerHTML] 10 TEST SUCCEEDED: Exception (NoModificationAllowedError: An attempt was made to mo dify an object where modifications are not allowed.) was thrown as expected. [te sted Element.outerHTML]
11 11
12 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.accessKey] 12 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.accessKey]
13 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.title] 13 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.title]
14 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.lang] 14 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.lang]
15 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.dir] 15 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.dir]
16 TEST SUCCEEDED: The value was the empty string. [tested HTMLElement.innerText] 16 TEST SUCCEEDED: The value was the empty string. [tested HTMLElement.innerText]
17 TEST SUCCEEDED: Exception (NoModificationAllowedError: Failed to set the 'outerT ext' property on 'HTMLElement': The element has no parent.) was thrown as expect ed. [tested HTMLElement.outerText] 17 TEST SUCCEEDED: Exception (NoModificationAllowedError: Failed to set the 'outerT ext' property on 'HTMLElement': The element has no parent.) was thrown as expect ed. [tested HTMLElement.outerText]
18 TEST SUCCEEDED: Exception (SyntaxError: Failed to set the 'contentEditable' prop erty on 'HTMLElement': The value provided ('null') is not one of 'true', 'false' , 'plaintext-only', or 'inherit'.) was thrown as expected. [tested HTMLElement.c ontentEditable] 18 TEST SUCCEEDED: Exception (SyntaxError: Failed to set the 'contentEditable' prop erty on 'HTMLElement': The value provided ('null') is not one of 'true', 'false' , 'plaintext-only', or 'inherit'.) was thrown as expected. [tested HTMLElement.c ontentEditable]
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLTrackElement.srclan g] 311 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLTrackElement.srclan g]
312 312
313 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLUListElement.type] 313 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLUListElement.type]
314 314
315 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLVideoElement.mediaG roup] 315 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLVideoElement.mediaG roup]
316 TEST SUCCEEDED: The value was the string 'null' resolved as a URL. [tested HTMLV ideoElement.poster] 316 TEST SUCCEEDED: The value was the string 'null' resolved as a URL. [tested HTMLV ideoElement.poster]
317 TEST SUCCEEDED: The value was the string 'auto'. [tested HTMLVideoElement.preloa d] 317 TEST SUCCEEDED: The value was the string 'auto'. [tested HTMLVideoElement.preloa d]
318 TEST SUCCEEDED: The value was the string 'null' resolved as a URL. [tested HTMLV ideoElement.src] 318 TEST SUCCEEDED: The value was the string 'null' resolved as a URL. [tested HTMLV ideoElement.src]
319 319
320 320
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/element-attribute-js-null.html ('k') | LayoutTests/svg/dom/svg-element-attribute-js-null.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698