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

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

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/tests/harness/reftest-expected.sky ('k') | sky/tests/harness/reftest-mismatch-expected-mismatch.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/harness/reftest-mismatch.sky
diff --git a/sky/tests/harness/reftest-mismatch.sky b/sky/tests/harness/reftest-mismatch.sky
index 44bcc28f18cc38c3776918e5454f2fb0fbd28282..bb02aeeb76da5d4d773cca517adee7b3ba527959 100644
--- a/sky/tests/harness/reftest-mismatch.sky
+++ b/sky/tests/harness/reftest-mismatch.sky
@@ -1,9 +1,13 @@
<foo>
-<import src="../resources/run-after-display.sky" as="runAfterDisplay" />
+<import src="../resources/run-after-display.sky" />
This is a mismatch reftest. Should not match.
<script>
-runAfterDisplay(function() {
- internals.notifyTestComplete("");
-});
+import "dart:sky.internals" as internals;
+
+void main() {
+ runAfterDisplay(() {
+ internals.notifyTestComplete("");
+ });
+}
</script>
</foo>
« no previous file with comments | « sky/tests/harness/reftest-expected.sky ('k') | sky/tests/harness/reftest-mismatch-expected-mismatch.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698