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

Side by Side Diff: LayoutTests/fast/html/imports/import-cycle-two-parents-2.html

Issue 297863004: Merge 174141 "HTML Imports: Take care of cycles according to the..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1985/
Patch Set: Created 6 years, 7 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharness.js"></script>
5 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../../../resources/testharnessreport.js"></script>
6 <script src="../../../http/tests/htmlimports/resources/normalize-test-helper.js" ></script> 6 <script src="../../../http/tests/htmlimports/resources/normalize-test-helper.js" ></script>
7 <script> 7 <script>
8 var t = async_test('Imports with cycle complete loading in a defined order.'); 8 var t = async_test('Imports with cycle complete loading in a defined order.');
9 window.addEventListener('load', function() { 9 window.addEventListener('load', function() {
10 t.step(function() { 10 t.step(function() {
11 assert_array_equals(['cycle-two-parents-2-c.html', 'cycle-two-parents-2- a.html', 'cycle-two-parents-2-b.html'], importedDocumentList); 11 assert_array_equals(['cycle-two-parents-2-c.html', 'cycle-two-parents-2- a.html', 'cycle-two-parents-2-b.html'], importedDocumentList);
12 t.done(); 12 t.done();
13 }); 13 });
14 }); 14 });
15 </script> 15 </script>
16 </head> 16 </head>
17 <body> 17 <body>
18 <link rel="import" href="resources/cycle-two-parents-2-a.html"> 18 <link rel="import" href="resources/cycle-two-parents-2-a.html">
19 <link rel="import" href="resources/cycle-two-parents-2-b.html"> 19 <link rel="import" href="resources/cycle-two-parents-2-b.html">
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698