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

Unified Diff: sky/tests/resources/dump-as-markup.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/resources/dom-utils.sky ('k') | sky/tests/resources/dump-as-render-tree.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/resources/dump-as-markup.sky
diff --git a/sky/tests/resources/dump-as-markup.sky b/sky/tests/resources/dump-as-markup.sky
index cebf2d49fbd11d45e2577a0d4c049ece058ecf66..03513106c0bba553584b8658370f662a88b456c1 100644
--- a/sky/tests/resources/dump-as-markup.sky
+++ b/sky/tests/resources/dump-as-markup.sky
@@ -1,6 +1,11 @@
-<import src="/sky/framework/dom-serializer.sky" as="DomSerializer" />
+<import src="/sky/framework/dom-serializer.sky" as="DomSerializer"/>
<script>
-window.addEventListener('load', function() {
- internals.notifyTestComplete(DomSerializer.serializeNode(document));
-});
+import "dart:sky";
+import "dart:sky.internals" as internals;
+
+void init() {
+ window.addEventListener('load', (_) {
+ internals.notifyTestComplete(DomSerializer.serializeNode(document));
+ });
+}
</script>
« no previous file with comments | « sky/tests/resources/dom-utils.sky ('k') | sky/tests/resources/dump-as-render-tree.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698