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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadow-hierarchy-exception.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../js/resources/js-test-pre.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 <div id=container> 3 <div id=container>
4 <div> 4 <div>
5 <span></span> 5 <span></span>
6 </div> 6 </div>
7 </div> 7 </div>
8 <script> 8 <script>
9 description('Appending an ancestor to a shadow tree should throw an exception'); 9 description('Appending an ancestor to a shadow tree should throw an exception');
10 var container = document.getElementById('container'); 10 var container = document.getElementById('container');
11 var span = container.querySelector('span'); 11 var span = container.querySelector('span');
12 var shadow = span.createShadowRoot(); 12 var shadow = span.createShadowRoot();
13 var shadowDiv = shadow.appendChild(document.createElement('div')); 13 var shadowDiv = shadow.appendChild(document.createElement('div'));
14 shouldThrow('shadowDiv.appendChild(container)'); 14 shouldThrow('shadowDiv.appendChild(container)');
15 </script> 15 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/shadow-element-inactive.html ('k') | LayoutTests/fast/dom/shadow/shadow-nested-pseudo-id.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698