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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/script-tests/TEMPLATE.html

Issue 2255213002: Use testharness.js to test move image to new document. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected indentation. Created 4 years, 4 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: third_party/WebKit/LayoutTests/fast/images/script-tests/TEMPLATE.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/script-tests/TEMPLATE.html b/third_party/WebKit/LayoutTests/fast/images/script-tests/TEMPLATE.html
index 397d74168dda26d533c379d3ed57b5b672a791ee..23736d842e5d9e196f88265257c8dd9a0fc9f576 100644
--- a/third_party/WebKit/LayoutTests/fast/images/script-tests/TEMPLATE.html
+++ b/third_party/WebKit/LayoutTests/fast/images/script-tests/TEMPLATE.html
@@ -1,9 +1,10 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<script src="YOUR_JS_FILE_HERE"></script>
-</body>
-</html>
+<!DOCTYPE html">
+<title>Add description of test here.</title>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script>
+async_test(function(t) {
+ // Write your test code here.
+ t.done();
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698