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

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

Issue 1831753002: Make ShadowRoot.cloneNode() throw NotSupportedError, instead of DataCloneError. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update expectation Created 4 years, 9 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: 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>

Powered by Google App Engine
This is Rietveld 408576698