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

Side by Side Diff: LayoutTests/fast/dom/Document/createElement-invalid-names-expected.txt

Issue 98543011: Improve Document exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 Test various valid name for elements according to the definition of DOM Level 2. 1 Test various valid name for elements according to the definition of DOM Level 2.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS document.createElement('0ascii') threw exception InvalidCharacterError: The string contains invalid characters.. 6 PASS document.createElement('0ascii') threw exception InvalidCharacterError: Fai led to execute 'createElement' on 'Document': '0ascii' is not a valid element na me..
7 PASS document.createElement('.Ascii') threw exception InvalidCharacterError: The string contains invalid characters.. 7 PASS document.createElement('.Ascii') threw exception InvalidCharacterError: Fai led to execute 'createElement' on 'Document': '.Ascii' is not a valid element na me..
8 PASS document.createElement('-Ascii') threw exception InvalidCharacterError: The string contains invalid characters.. 8 PASS document.createElement('-Ascii') threw exception InvalidCharacterError: Fai led to execute 'createElement' on 'Document': '-Ascii' is not a valid element na me..
9 PASS document.createElement(' ascii') threw exception InvalidCharacterError: The string contains invalid characters.. 9 PASS document.createElement(' ascii') threw exception InvalidCharacterError: Fai led to execute 'createElement' on 'Document': ' ascii' is not a valid element na me..
10 PASS document.createElement('» ascii') threw exception InvalidCharacterError: T he string contains invalid characters.. 10 PASS document.createElement('» ascii') threw exception InvalidCharacterError: F ailed to execute 'createElement' on 'Document': '» ascii' is not a valid el ement name..
11 PASS document.createElement('֑sc.ii') threw exception InvalidCharacterError: The string contains invalid characters.. 11 PASS document.createElement('֑sc.ii') threw exception InvalidCharacterError: Fai led to execute 'createElement' on 'Document': '֑sc.ii' is not a valid element na me..
12 PASS document.createElement('⃣scii') threw exception InvalidCharacterError: The string contains invalid characters.. 12 PASS document.createElement('⃣scii') threw exception InvalidCharacterError: Fail ed to execute 'createElement' on 'Document': '⃣scii' is not a valid element name ..
13 PASS document.createElement('िascii') threw exception InvalidCharacterError: The string contains invalid characters.. 13 PASS document.createElement('िascii') threw exception InvalidCharacterError: Fai led to execute 'createElement' on 'Document': 'िascii' is not a valid element na me..
14 PASS document.createElement('ʳascii') threw exception InvalidCharacterError: The string contains invalid characters.. 14 PASS document.createElement('ʳascii') threw exception InvalidCharacterError: Fai led to execute 'createElement' on 'Document': 'ʳascii' is not a valid element na me..
15 PASS document.createElement('asc i') threw exception InvalidCharacterError: The string contains invalid characters.. 15 PASS document.createElement('asc i') threw exception InvalidCharacterError: Fail ed to execute 'createElement' on 'Document': 'asc i' is not a valid element name ..
16 PASS document.createElement('asc» i') threw exception InvalidCharacterErro r: The string contains invalid characters.. 16 PASS document.createElement('asc» i') threw exception InvalidCharacterErro r: Failed to execute 'createElement' on 'Document': 'asc» i' is not a vali d element name..
17 PASS document.createElement('asciiⅦ') threw exception InvalidCharacterError: The string contains invalid characters.. 17 PASS document.createElement('asciiⅦ') threw exception InvalidCharacterError: Fai led to execute 'createElement' on 'Document': 'asciiⅦ' is not a valid element na me..
18 PASS successfullyParsed is true 18 PASS successfullyParsed is true
19 19
20 TEST COMPLETE 20 TEST COMPLETE
21 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698