summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/html/imports/import-cycle-grandparent.html
blob: 751524e18f88850b01a2510185347b46c7698900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script src="../../../http/tests/htmlimports/resources/normalize-test-helper.js"></script>
<script>
var t = async_test('Imports with cycle complete loading in a defined order.');
window.addEventListener('load', function() {
    t.step(function() {
        assert_array_equals(['cycle-grandparent-c.html', 'cycle-grandparent-b.html', 'cycle-grandparent-a.html'], importedDocumentList);
        t.done();
    });
});
</script>
</head>
<body>
<link rel="import" href="resources/cycle-grandparent-a.html">
</body>
</html>