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

Unified Diff: sky/tests/harness/reftest-mismatch-expected-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-mismatch.sky ('k') | sky/tests/layout/document-elementFromPoint.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index 42f71f7abbbe993594a6d59def97ab9b47f9d80d..1469024023d19fc4860e2e8e4d68f593f73c25eb 100644
--- a/sky/tests/harness/reftest-mismatch-expected-mismatch.sky
+++ b/sky/tests/harness/reftest-mismatch-expected-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.
<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-mismatch.sky ('k') | sky/tests/layout/document-elementFromPoint.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698