Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: LayoutTests/fast/dom/shadow/shadowroot-clonenode.html

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698