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

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

Issue 24483007: Make DOMParser::parseFromString specification compliant and throw exception in error scenario. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch after adding descriptive message. 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.h » ('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
index dcd29dbf56bd0e603d49d95ed8a7eb16063f2838..df991b97ec3e78011760de72c5abf7ccd7b6e722 100644
--- a/LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt
+++ b/LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt
@@ -22,7 +22,20 @@ PASS
Root element: svg
PASS
-6. Should NOT support mime-type = "text/xsl"
-FAIL
+6. Should THROW exception for mime-type = "text/xsl"
+TypeError: Unsupported mime-type specified.
+PASS
+
+7. Should THROW exception for mime-type = "text/dummy+xml"
+TypeError: Unsupported mime-type specified.
+PASS
+
+8. Should THROW exception for mime-type = "text/XML"
+TypeError: Unsupported mime-type specified.
+PASS
+
+9. Should THROW exception for mime-type = "TEXT/html"
+TypeError: Unsupported mime-type specified.
+PASS
« no previous file with comments | « LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support.html ('k') | Source/core/xml/DOMParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698