Index: LayoutTests/fast/dom/shadow/shadowroot-clonenode.html |
diff --git a/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html b/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html |
index edc0e6805796873eda49f6a9e008624ab0ed7d7a..750550a99c5d17f98be5bf1ac79c4b6dd2d635bc 100644 |
--- a/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html |
+++ b/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html |
@@ -5,11 +5,11 @@ |
<pre id="console"></pre> |
<script> |
-description('Calling ShadowRoot.cloneNode() should throw a DATA_CLONE_ERR exception.'); |
+description('Calling ShadowRoot.cloneNode() should throw a DataCloneError exception.'); |
var host = document.createElement('div'); |
var shadowRoot = host.webkitCreateShadowRoot(); |
-shouldThrow('shadowRoot.cloneNode()', '"Error: DataCloneError: DOM Exception 25"'); |
+shouldThrow('shadowRoot.cloneNode()', '"DataCloneError: An object could not be cloned."'); |
</script> |
<script src="../../js/resources/js-test-post.js"></script> |
</html> |