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 56f3542a675b3c6da5d3d184ca9341728fa2e6e3..b3b815aa4057a9690729997094272512f49bf6d0 100644 |
--- a/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml |
+++ b/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml |
@@ -5,7 +5,7 @@ |
<![CDATA[ |
description("Test that appropriate exceptions are thrown when adding children to a ProcessingInstruction."); |
var pi = document.createProcessingInstruction('target', 'data'); |
-shouldThrow("pi.appendChild(null)", '"HierarchyRequestError: Failed to execute \'appendChild\' on \'Node\': This node type does not support this method."'); |
+shouldThrow("pi.appendChild(null)", '"TypeError: Failed to execute \'appendChild\' on \'Node\': parameter 1 (\'newChild\') is not an object."'); |
var div = document.createElement('div'); |
shouldThrow("pi.appendChild(div)", '"HierarchyRequestError: Failed to execute \'appendChild\' on \'Node\': This node type does not support this method."'); |
var textNode = document.createTextNode('sometext'); |