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

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

Issue 240243004: Update HTMLElement.dir / Document.dir to return only known values (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use fastGetAttribute Created 6 years, 8 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
« no previous file with comments | « LayoutTests/fast/dom/element-attribute-js-null.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE WARNING: 'HTMLSourceElement.media' is deprecated. This attribute doesn't do anything. 1 CONSOLE WARNING: 'HTMLSourceElement.media' is deprecated. This attribute doesn't do anything.
2 This test setting various attributes of a elements to JavaScript null. 2 This test setting various attributes of a elements to JavaScript null.
3 3
4 TEST SUCCEEDED: The value was null. [tested Node.nodeValue] 4 TEST SUCCEEDED: The value was null. [tested Node.nodeValue]
5 TEST SUCCEEDED: The value was null. [tested Node.prefix] 5 TEST SUCCEEDED: The value was null. [tested Node.prefix]
6 TEST SUCCEEDED: The value was the empty string. [tested Node.textContent] 6 TEST SUCCEEDED: The value was the empty string. [tested Node.textContent]
7 7
8 TEST SUCCEEDED: The value was the string 'null'. [tested Element.id] 8 TEST SUCCEEDED: The value was the string 'null'. [tested Element.id]
9 TEST SUCCEEDED: The value was the string 'null'. [tested Element.className] 9 TEST SUCCEEDED: The value was the string 'null'. [tested Element.className]
10 TEST SUCCEEDED: The value was the empty string. [tested Element.innerHTML] 10 TEST SUCCEEDED: The value was the empty string. [tested Element.innerHTML]
11 TEST SUCCEEDED: Exception (NoModificationAllowedError: Failed to set the 'outerH TML' property on 'Element': This element has no parent node.) was thrown as expe cted. [tested Element.outerHTML] 11 TEST SUCCEEDED: Exception (NoModificationAllowedError: Failed to set the 'outerH TML' property on 'Element': This element has no parent node.) was thrown as expe cted. [tested Element.outerHTML]
12 12
13 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.accessKey] 13 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.accessKey]
14 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.title] 14 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.title]
15 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.lang] 15 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.lang]
16 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLElement.dir] 16 TEST SUCCEEDED: The value was the empty string. [tested HTMLElement.dir]
17 TEST SUCCEEDED: The value was the empty string. [tested HTMLElement.innerText] 17 TEST SUCCEEDED: The value was the empty string. [tested HTMLElement.innerText]
18 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 (NoModificationAllowedError: Failed to set the 'outerT ext' property on 'HTMLElement': The element has no parent.) was thrown as expect ed. [tested HTMLElement.outerText]
19 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] 19 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]
20 20
21 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAnchorElement.chars et] 21 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAnchorElement.chars et]
22 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAnchorElement.coord s] 22 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAnchorElement.coord s]
23 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAnchorElement.downl oad] 23 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAnchorElement.downl oad]
24 TEST SUCCEEDED: The value was the string 'null' resolved as a URL. [tested HTMLA nchorElement.href] 24 TEST SUCCEEDED: The value was the string 'null' resolved as a URL. [tested HTMLA nchorElement.href]
25 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAnchorElement.hrefl ang] 25 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAnchorElement.hrefl ang]
26 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAnchorElement.name] 26 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAnchorElement.name]
(...skipping 284 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') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698