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