Index: LayoutTests/http/tests/htmlimports/same-origin.html |
diff --git a/LayoutTests/http/tests/filesystem/workers/script-tests/TEMPLATE.html b/LayoutTests/http/tests/htmlimports/same-origin.html |
similarity index 55% |
copy from LayoutTests/http/tests/filesystem/workers/script-tests/TEMPLATE.html |
copy to LayoutTests/http/tests/htmlimports/same-origin.html |
index 700150c29adae783787b85098a7a7f16fb3e2665..1331f1cfdcf63cfea8243aaa655b64233405847c 100644 |
--- a/LayoutTests/http/tests/filesystem/workers/script-tests/TEMPLATE.html |
+++ b/LayoutTests/http/tests/htmlimports/same-origin.html |
@@ -1,13 +1,12 @@ |
+<!DOCTYPE html> |
<html> |
<head> |
+<link id="target" rel="import" href="resources/hello.html"> |
<script src="/js-test-resources/js-test-pre.js"></script> |
-<script src="../resources/fs-worker-test-util.js"></script> |
</head> |
<body> |
-<p id="description"></p> |
-<div id="console"></div> |
<script> |
-startWorker('YOUR_JS_FILE_HERE'); |
+shouldBe("target.import.querySelector('h1').innerHTML", "'Hello'"); |
</script> |
<script src="/js-test-resources/js-test-post.js"></script> |
</body> |