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

Unified Diff: LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-target-expected.txt

Issue 100433004: Sync Document.createProcessingInstruction() with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test createProcessingInstruction for HTML doc 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/createProcessingInstruction-invalid-target-expected.txt
diff --git a/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-target-expected.txt b/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-target-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b937f26c25750de9a10f84d83d0e5ddb366c0052
--- /dev/null
+++ b/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-target-expected.txt
@@ -0,0 +1,16 @@
+PASS document.createProcessingInstruction('0ascii', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('0ascii') is not a valid name..
+PASS document.createProcessingInstruction('.Ascii', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('.Ascii') is not a valid name..
+PASS document.createProcessingInstruction('-Ascii', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('-Ascii') is not a valid name..
+PASS document.createProcessingInstruction(' ascii', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided (' ascii') is not a valid name..
+PASS document.createProcessingInstruction(' ascii', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided (' ascii') is not a valid name..
+PASS document.createProcessingInstruction('֑sc.ii', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('֑sc.ii') is not a valid name..
+PASS document.createProcessingInstruction('⃣scii', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('⃣scii') is not a valid name..
+PASS document.createProcessingInstruction('िascii', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('िascii') is not a valid name..
+PASS document.createProcessingInstruction('ʳascii', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('ʳascii') is not a valid name..
+PASS document.createProcessingInstruction('asc i', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('asc i') is not a valid name..
+PASS document.createProcessingInstruction('asc i', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('asc i') is not a valid name..
+PASS document.createProcessingInstruction('asciiⅦ', '') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The target provided ('asciiⅦ') is not a valid name..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698