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

Unified Diff: LayoutTests/fast/html/imports/import-cycle-grandparent.html

Issue 289993004: HTML Imports: Take care of cycles according to the spec. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/html/imports/import-cycle-grandparent-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/html/imports/import-cycle-grandparent-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698