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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/Document/createElement-invalid-names-expected.txt
diff --git a/LayoutTests/fast/dom/Document/createElement-invalid-names-expected.txt b/LayoutTests/fast/dom/Document/createElement-invalid-names-expected.txt
index 1e5db229ca75fa2cd73d2d2643085b10de4bf1ef..4755f7cf2fede1386ca630e1a49b8b924a6ee929 100644
--- a/LayoutTests/fast/dom/Document/createElement-invalid-names-expected.txt
+++ b/LayoutTests/fast/dom/Document/createElement-invalid-names-expected.txt
@@ -3,18 +3,18 @@ Test various valid name for elements according to the definition of DOM Level 2.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS document.createElement('0ascii') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement('.Ascii') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement('-Ascii') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement(' ascii') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement(' ascii') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement('֑sc.ii') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement('⃣scii') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement('िascii') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement('ʳascii') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement('asc i') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement('asc i') threw exception InvalidCharacterError: The string contains invalid characters..
-PASS document.createElement('asciiⅦ') threw exception InvalidCharacterError: The string contains invalid characters..
+PASS document.createElement('0ascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': '0ascii' is not a valid element name..
+PASS document.createElement('.Ascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': '.Ascii' is not a valid element name..
+PASS document.createElement('-Ascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': '-Ascii' is not a valid element name..
+PASS document.createElement(' ascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': ' ascii' is not a valid element name..
+PASS document.createElement(' ascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': ' ascii' is not a valid element name..
+PASS document.createElement('֑sc.ii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': '֑sc.ii' is not a valid element name..
+PASS document.createElement('⃣scii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': '⃣scii' is not a valid element name..
+PASS document.createElement('िascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': 'िascii' is not a valid element name..
+PASS document.createElement('ʳascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': 'ʳascii' is not a valid element name..
+PASS document.createElement('asc i') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': 'asc i' is not a valid element name..
+PASS document.createElement('asc i') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': 'asc i' is not a valid element name..
+PASS document.createElement('asciiⅦ') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': 'asciiⅦ' is not a valid element name..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698