Index: LayoutTests/fast/html/imports/resources/child-frame-with-import.html |
diff --git a/LayoutTests/fast/html/imports/resources/child-frame-with-import.html b/LayoutTests/fast/html/imports/resources/child-frame-with-import.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..49c3ce96b3adfa40d899ab7f3a70aabe1bf687b7 |
--- /dev/null |
+++ b/LayoutTests/fast/html/imports/resources/child-frame-with-import.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script> |
+function importLoaded() |
+{ |
+ window.parent.titleText = target.import.querySelector('h1').innerHTML; |
+ window.parent.shouldBe("titleText", "'Hello'"); |
+ window.parent.finishJSTest(); |
+} |
+</script> |
+<link id="target", rel="import" href="hello.html" onload="importLoaded()"> |
+</head> |
+<body> |
+</body> |
+</html> |