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

Unified Diff: LayoutTests/http/tests/htmlimports/import-normalize-132.html

Issue 274213003: HTML Imports: Make sure new imports being added to the "first child" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ready to review 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/http/tests/htmlimports/import-normalize-132.html
diff --git a/LayoutTests/http/tests/htmlimports/import-normalize-132.html b/LayoutTests/http/tests/htmlimports/import-normalize-132.html
new file mode 100644
index 0000000000000000000000000000000000000000..623195ea1057aa5c0a4878c91acd2116e3af90cb
--- /dev/null
+++ b/LayoutTests/http/tests/htmlimports/import-normalize-132.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="resources/normalize-test-helper.js"></script>
+<link rel="import" href="resources/normalize-child-1.cgi">
+<link rel="import" href="resources/normalize-child-3.html">
+<link rel="import" href="resources/normalize-child-2.html">
+</head>
+<body>
+<script>
+test(function() {
+ assert_array_equals(importedDocumentList, ['normalize-child-4.html', 'normalize-child-3.html', 'normalize-child-2.html', 'normalize-child-1.cgi']);
+}, 'Imports are evaluated in dependency order regardeless of the availability order.');
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698