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

Unified Diff: sky/tests/lowlevel/home.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/lowlevel/filters-expected.sky ('k') | sky/tests/lowlevel/iframe.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/lowlevel/home.sky
diff --git a/sky/tests/lowlevel/home.sky b/sky/tests/lowlevel/home.sky
index 381d43caa48c607a91f2e94534e12ba8c8fc45df..c89f9d3dcecbdec6931ea74e2fa9235eb6f1ccc1 100644
--- a/sky/tests/lowlevel/home.sky
+++ b/sky/tests/lowlevel/home.sky
@@ -6,9 +6,13 @@
<div class="h1">about:blank</div>
<div class="p">Welcome to Sky!</div>
<script>
+import "dart:sky" as sky;
+import "dart:sky.internals" as internals;
+
// Don't use dump-as-render-tree.sky, we want a test with no imports.
-window.addEventListener('load', function() {
- internals.notifyTestComplete(internals.renderTreeAsText());
-});
+void main() {
+ sky.window.addEventListener('load', (_) =>
+ internals.notifyTestComplete(internals.renderTreeAsText()));
+}
</script>
</div>
« no previous file with comments | « sky/tests/lowlevel/filters-expected.sky ('k') | sky/tests/lowlevel/iframe.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698