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

Unified Diff: LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt

Issue 23903014: DOMParser.parseFromString() should support creating HTML Document with mimetype text/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing! Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support.html ('k') | Source/core/xml/DOMParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt
diff --git a/LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt b/LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd29dbf56bd0e603d49d95ed8a7eb16063f2838
--- /dev/null
+++ b/LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt
@@ -0,0 +1,28 @@
+This tests DOMParser supports creating Document for HTML content with mime-type "text/html".
+
+1. Should support mime-type = "text/html"
+HTML content:
+Scripts must be disabled for the document created using DOMParser.parseFromString()
+Sample text content
+PASS
+
+2. Should support mime-type = "text/xml"
+Root element: root
+PASS
+
+3. Should support mime-type = "application/xml"
+Root element: root
+PASS
+
+4. Should support mime-type = "application/xhtml+xml"
+Root element: html
+PASS
+
+5. Should support mime-type = "image/svg+xml"
+Root element: svg
+PASS
+
+6. Should NOT support mime-type = "text/xsl"
+FAIL
+
+
« no previous file with comments | « LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support.html ('k') | Source/core/xml/DOMParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698