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

Side by Side Diff: LayoutTests/fast/html/imports/import-nested-dup.html

Issue 238923009: HTML Imports: No more BlockingDocumentCreation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased to ToT. Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/html/imports/import-nested-dup-2.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script> 5 <script>
6 var marks = []; 6 var marks = [];
7 function start() 7 function start()
8 { 8 {
9 var url = document.currentScript.ownerDocument.URL; 9 var url = document.currentScript.ownerDocument.URL;
10 var path = url.match(/[^\/]+$/) 10 var path = url.match(/[^\/]+$/)
(...skipping 12 matching lines...) Expand all
23 <link id="harness" rel="import" href="resources/nest-dup-parent.html"> 23 <link id="harness" rel="import" href="resources/nest-dup-parent.html">
24 <link id="harness" rel="import" href="resources/nest-dup.html"> 24 <link id="harness" rel="import" href="resources/nest-dup.html">
25 </head> 25 </head>
26 <body> 26 <body>
27 <script> 27 <script>
28 end(); 28 end();
29 description("Test that a subimport should be loaded even if is linked as a top-l evel import."); 29 description("Test that a subimport should be loaded even if is linked as a top-l evel import.");
30 var expected = ["START:import-nested-dup.html", 30 var expected = ["START:import-nested-dup.html",
31 "START:nest-dup-parent.html", 31 "START:nest-dup-parent.html",
32 "START:nest-dup.html", 32 "START:nest-dup.html",
33 "START:nest-dup-child.html",
34 "END :nest-dup-child.html",
33 "END :nest-dup.html", 35 "END :nest-dup.html",
34 "END :nest-dup-parent.html", 36 "END :nest-dup-parent.html",
35 "END :import-nested-dup.html"] 37 "END :import-nested-dup.html"]
36 for (var i = 0; i < expected.length; ++i) 38 for (var i = 0; i < expected.length; ++i)
37 shouldBe("marks[i]", "expected[i]"); 39 shouldBe("marks[i]", "expected[i]");
38 shouldBe("marks.length", "expected.length"); 40 shouldBe("marks.length", "expected.length");
39 </script> 41 </script>
40 </body> 42 </body>
41 </html> 43 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/html/imports/import-nested-dup-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698