OLD | NEW |
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> |
OLD | NEW |