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

Unified Diff: sky/tests/harness/reftest.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/framework/flights-app-pixels-expected.sky ('k') | sky/tests/harness/reftest-expected.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/harness/reftest.sky
diff --git a/sky/tests/harness/reftest.sky b/sky/tests/harness/reftest.sky
index 14ac7626afb9c97c9c616cbabd8677c835aaabc5..1b4af65f3fb7653530a403156506be754d50c640 100644
--- a/sky/tests/harness/reftest.sky
+++ b/sky/tests/harness/reftest.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 reftest.
<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/framework/flights-app-pixels-expected.sky ('k') | sky/tests/harness/reftest-expected.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698