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

Unified Diff: sky/tests/harness/reftest-mismatch-expected-mismatch.sky

Issue 797063002: Make reftests work for sky. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: address review comments Created 6 years 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: sky/tests/harness/reftest-mismatch-expected-mismatch.sky
diff --git a/sky/tests/harness/reftest-mismatch-expected-mismatch.sky b/sky/tests/harness/reftest-mismatch-expected-mismatch.sky
new file mode 100644
index 0000000000000000000000000000000000000000..28107a90c08e2a8da3952153cecfd22802e0ceba
--- /dev/null
+++ b/sky/tests/harness/reftest-mismatch-expected-mismatch.sky
@@ -0,0 +1,13 @@
+<foo>
+This is a mismatch reftest.
+<script>
+window.addEventListener('load', function() {
+ // TODO(ojan): Why is this setTimeout needed to get
+ // a non-white page. It seems we don't do our first
+ // paint before the load event?
+ setTimeout(function() {
+ internals.notifyTestComplete("");
+ });
+})
+</script>
+</foo>

Powered by Google App Engine
This is Rietveld 408576698