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

Side by Side Diff: LayoutTests/fast/dom/shadow/adopt-node-with-shadow-root.html

Issue 48903019: Delete js-test-post.js. (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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="console"></div> 7 <div id="console"></div>
8 <object data="data:image/svg+xml;base64,PFNWR1Rlc3RDYXNlIGlkPSJzIj4=" id="root" onload="test()"/> 8 <object data="data:image/svg+xml;base64,PFNWR1Rlc3RDYXNlIGlkPSJzIj4=" id="root" onload="test()"/>
9 <script> 9 <script>
10 function test() { 10 function test() {
11 var foreignDocument = document.getElementById('root').contentDocument; 11 var foreignDocument = document.getElementById('root').contentDocument;
12 shadow = foreignDocument.getElementById('s').createShadowRoot(); 12 shadow = foreignDocument.getElementById('s').createShadowRoot();
13 shouldThrow("document.adoptNode(shadow)"); 13 shouldThrow("document.adoptNode(shadow)");
14 location.reload(); 14 location.reload();
15 } 15 }
16 </script> 16 </script>
17 <script src="../../js/resources/js-test-post.js"></script>
18 </body> 17 </body>
19 </html> 18 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/access-key.html ('k') | LayoutTests/fast/dom/shadow/base-in-shadow-tree.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698