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 |
+ |
+ |