| Index: LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml
|
| diff --git a/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml b/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml
|
| index 5beaeaeb32da3db14d277719f82f55b60af83ca1..ae9987e24c457d00c66d7b14fff3ddba8288fd8a 100644
|
| --- a/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml
|
| +++ b/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml
|
| @@ -5,11 +5,11 @@
|
| <![CDATA[
|
| description("Test that appropriate exceptions are thrown when adding children to a ProcessingInstruction.");
|
| var pi = document.createProcessingInstruction('target', 'data');
|
| -shouldThrow("pi.appendChild(null)", "'Error: HierarchyRequestError: DOM Exception 3'");
|
| +shouldThrow("pi.appendChild(null)", "'HierarchyRequestError: A Node was inserted somewhere it doesn\\'t belong.'");
|
| var div = document.createElement('div');
|
| -shouldThrow("pi.appendChild(div)", "'Error: HierarchyRequestError: DOM Exception 3'");
|
| +shouldThrow("pi.appendChild(div)", "'HierarchyRequestError: A Node was inserted somewhere it doesn\\'t belong.'");
|
| var textNode = document.createTextNode('sometext');
|
| -shouldThrow("pi.appendChild(textNode)", "'Error: HierarchyRequestError: DOM Exception 3'");
|
| +shouldThrow("pi.appendChild(textNode)", "'HierarchyRequestError: A Node was inserted somewhere it doesn\\'t belong.'");
|
| ]]>
|
| </script>
|
| <script src="../js/resources/js-test-post.js"></script>
|
|
|