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

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

Issue 2697923005: Remove unnecessary override of Node#cloneNode in ShadowRoot's WebIDL (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE> 1 <!DOCTYPE>
2 <html> 2 <html>
3 <script src="../../../resources/js-test.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 4
5 <pre id="console"></pre> 5 <pre id="console"></pre>
6 6
7 <script> 7 <script>
8 description('Calling ShadowRoot.cloneNode() should throw a NotSupportedError exc eption.'); 8 description('Calling ShadowRoot.cloneNode() should throw a NotSupportedError exc eption.');
9 9
10 var host = document.createElement('div'); 10 var host = document.createElement('div');
11 var shadowRoot = host.createShadowRoot(); 11 var shadowRoot = host.createShadowRoot();
12 shouldThrow('shadowRoot.cloneNode()', '"NotSupportedError: Failed to execute \'c loneNode\' on \'ShadowRoot\': ShadowRoot nodes are not clonable."'); 12 shouldThrow('shadowRoot.cloneNode()', '"NotSupportedError: Failed to execute \'c loneNode\' on \'Node\': ShadowRoot nodes are not clonable."');
13 </script> 13 </script>
14 </html> 14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698