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

Unified Diff: LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data-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-data-expected.txt
diff --git a/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data-expected.txt b/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac63db705a02863e5d68e75a94ee5884722a9fb
--- /dev/null
+++ b/LayoutTests/fast/dom/Document/createProcessingInstruction-invalid-data-expected.txt
@@ -0,0 +1,6 @@
+PASS document.createProcessingInstruction('name', '?>') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The data provided ('?>') contains '?>'..
+PASS document.createProcessingInstruction('name', 'foo?>bar') threw exception InvalidCharacterError: Failed to execute 'createProcessingInstruction' on 'Document': The data provided ('foo?>bar') contains '?>'..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698