Index: LayoutTests/fast/html/imports/import-cycle-grandparent.html |
diff --git a/LayoutTests/fast/html/imports/import-cycle-grandparent.html b/LayoutTests/fast/html/imports/import-cycle-grandparent.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..751524e18f88850b01a2510185347b46c7698900 |
--- /dev/null |
+++ b/LayoutTests/fast/html/imports/import-cycle-grandparent.html |
@@ -0,0 +1,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> |