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

Side by Side Diff: LayoutTests/fast/html/imports/import-remove.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 <html> 2 <html>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 <head> 4 <head>
5 <link id="hello" rel="import" href="resources/hello.html"> 5 <link id="hello" rel="import" href="resources/hello.html">
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 jsTestIsAsync = true; 9 jsTestIsAsync = true;
10 var hello = document.getElementById("hello"); 10 var hello = document.getElementById("hello");
11 shouldBeNonNull("hello.import"); 11 shouldBeNonNull("hello.import");
12 12
13 debug("Node removal should make import deleted."); 13 debug("Node removal should make import deleted.");
14 hello.parentNode.removeChild(hello); 14 hello.parentNode.removeChild(hello);
15 shouldBeNull("hello.import"); 15 shouldBeNull("hello.import");
16 16
17 debug("Re-inserting it shouldn't help."); 17 debug("Re-inserting it shouldn't help.");
18 document.head.appendChild(hello); 18 document.head.appendChild(hello);
19 window.setTimeout(function() { 19 window.setTimeout(function() {
20 shouldBeNull("hello.import"); 20 shouldBeNull("hello.import");
21 finishJSTest(); 21 finishJSTest();
22 }, 0); 22 }, 0);
23 23
24 </script> 24 </script>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/imports/import-onload.html ('k') | LayoutTests/fast/html/imports/import-same-url.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698