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

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

Issue 855023002: Sync the DOMParser interface with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert TypeChecking=Interface Created 5 years, 11 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 | « no previous file | 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 5e8f68029f11655571ed689a38f22d4f633c0675..0e1bae0ded9047715180850fd03fcb2dbf47affb 100644
--- a/LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt
+++ b/LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt
@@ -23,19 +23,19 @@ Root element: svg
PASS
6. Should THROW exception for mime-type = "text/xsl"
-TypeError: Failed to execute 'parseFromString' on 'DOMParser': Unsupported mime-type specified.
+TypeError: Failed to execute 'parseFromString' on 'DOMParser': parameter 2 ('text/xsl') is not a valid enum value.
PASS
7. Should THROW exception for mime-type = "text/dummy+xml"
-TypeError: Failed to execute 'parseFromString' on 'DOMParser': Unsupported mime-type specified.
+TypeError: Failed to execute 'parseFromString' on 'DOMParser': parameter 2 ('text/dummy+xml') is not a valid enum value.
PASS
8. Should THROW exception for mime-type = "text/XML"
-TypeError: Failed to execute 'parseFromString' on 'DOMParser': Unsupported mime-type specified.
+TypeError: Failed to execute 'parseFromString' on 'DOMParser': parameter 2 ('text/XML') is not a valid enum value.
PASS
9. Should THROW exception for mime-type = "TEXT/html"
-TypeError: Failed to execute 'parseFromString' on 'DOMParser': Unsupported mime-type specified.
+TypeError: Failed to execute 'parseFromString' on 'DOMParser': parameter 2 ('TEXT/html') is not a valid enum value.
PASS
« no previous file with comments | « no previous file | Source/core/xml/DOMParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698