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

Unified Diff: LayoutTests/http/tests/htmlimports/same-origin.html

Issue 15856002: First step of HTMLImports (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Mac build Created 7 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/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>
« no previous file with comments | « LayoutTests/http/tests/htmlimports/resources/hello.html ('k') | LayoutTests/http/tests/htmlimports/same-origin-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698