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

Unified Diff: LayoutTests/http/tests/htmlimports/resources/normalize-test-helper.js

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/resources/normalize-test-helper.js
diff --git a/LayoutTests/http/tests/htmlimports/resources/normalize-test-helper.js b/LayoutTests/http/tests/htmlimports/resources/normalize-test-helper.js
new file mode 100644
index 0000000000000000000000000000000000000000..1da8f65abfb61bca62f6dcf75bc28abf94a9b715
--- /dev/null
+++ b/LayoutTests/http/tests/htmlimports/resources/normalize-test-helper.js
@@ -0,0 +1,9 @@
+
+var importedDocumentList = [];
+
+function recordImported()
+{
+ var url = document.currentScript.ownerDocument.URL;
+ var name = url.substr(url.lastIndexOf('/') + 1);
+ importedDocumentList.push(name);
+}

Powered by Google App Engine
This is Rietveld 408576698