Index: third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html |
index 90596730e5a50a17aece310d22e6647190eddcc0..389ccc7d2bbfdb67445f79c2ac1e07a37fa281c3 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html |
@@ -5,10 +5,10 @@ |
<pre id="console"></pre> |
<script> |
-description('Calling ShadowRoot.cloneNode() should throw a DataCloneError exception.'); |
+description('Calling ShadowRoot.cloneNode() should throw a NotSupportedError exception.'); |
var host = document.createElement('div'); |
var shadowRoot = host.createShadowRoot(); |
-shouldThrow('shadowRoot.cloneNode()', '"DataCloneError: Failed to execute \'cloneNode\' on \'ShadowRoot\': ShadowRoot nodes are not clonable."'); |
+shouldThrow('shadowRoot.cloneNode()', '"NotSupportedError: Failed to execute \'cloneNode\' on \'ShadowRoot\': ShadowRoot nodes are not clonable."'); |
</script> |
</html> |