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

Unified Diff: LayoutTests/fast/dom/xmlserializer-serialize-to-string-exception-expected.txt

Issue 534583002: Implemented XMLSerializer in PrivateScript. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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/BUILD.gn » ('j') | Source/core/xml/XMLSerializer.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/xmlserializer-serialize-to-string-exception-expected.txt
diff --git a/LayoutTests/fast/dom/xmlserializer-serialize-to-string-exception-expected.txt b/LayoutTests/fast/dom/xmlserializer-serialize-to-string-exception-expected.txt
index c809966e4cefaa9dfb8de60c5eda1d779bc8548d..67ab1c8b0671a27d30c80997b370066ecaf4f010 100644
--- a/LayoutTests/fast/dom/xmlserializer-serialize-to-string-exception-expected.txt
+++ b/LayoutTests/fast/dom/xmlserializer-serialize-to-string-exception-expected.txt
@@ -1,19 +1,19 @@
This tests XMLSerializer.serializeToString() throwing exception when node value is invalid and passing otherwise.
1. Verifying XMLSerializer.serializeToString() should THROW exception with node value = null
-Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSerializer': Invalid node value.]
+Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSerializer': parameter 1 is not of type 'Node'.]
PASS
2. Verifying XMLSerializer.serializeToString() should THROW exception with node value = undefined
-Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSerializer': Invalid node value.]
+Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSerializer': parameter 1 is not of type 'Node'.]
PASS
3. Verifying XMLSerializer.serializeToString() should THROW exception with node value = <html><title>Hello World</title></html>
-Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSerializer': Invalid node value.]
+Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSerializer': parameter 1 is not of type 'Node'.]
PASS
4. Verifying XMLSerializer.serializeToString() should THROW exception with node value = [object HTMLCollection]
-Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSerializer': Invalid node value.]
+Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSerializer': parameter 1 is not of type 'Node'.]
PASS
5. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with node value = [object HTMLDocument]
« no previous file with comments | « no previous file | Source/core/BUILD.gn » ('j') | Source/core/xml/XMLSerializer.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698