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

Unified Diff: LayoutTests/fast/html/imports/import-cycle-two-parents-2.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
Index: LayoutTests/fast/html/imports/import-cycle-two-parents-2.html
diff --git a/LayoutTests/fast/html/imports/import-cycle-two-parents-2.html b/LayoutTests/fast/html/imports/import-cycle-two-parents-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..e19efb26bc24023d1b32aeca413a7eb39688a7c4
--- /dev/null
+++ b/LayoutTests/fast/html/imports/import-cycle-two-parents-2.html
@@ -0,0 +1,21 @@
+<!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-two-parents-2-c.html', 'cycle-two-parents-2-a.html', 'cycle-two-parents-2-b.html'], importedDocumentList);
+ t.done();
+ });
+});
+</script>
+</head>
+<body>
+<link rel="import" href="resources/cycle-two-parents-2-a.html">
+<link rel="import" href="resources/cycle-two-parents-2-b.html">
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698