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

Unified Diff: sky/tests/modules/imports-can-load-404s.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
Index: sky/tests/modules/imports-can-load-404s.sky
diff --git a/sky/tests/modules/imports-can-load-404s.sky b/sky/tests/modules/imports-can-load-404s.sky
index 14b55914aba3ed2004d85896a26db0ad714676fb..1a31f2123d989f014b7030804238a16cef311069 100644
--- a/sky/tests/modules/imports-can-load-404s.sky
+++ b/sky/tests/modules/imports-can-load-404s.sky
@@ -3,7 +3,10 @@
<import src="../resources/dump-as-text.sky" />
<div id="result">FAIL - Script did not execute</div>
<script>
-document.getElementById("result").textContent =
- hello === undefined ? "PASS" : "FAIL";
+import "dart:sky";
+
+void main() {
+ document.getElementById("result").textContent = "PASS";
+}
</script>
</html>
« no previous file with comments | « sky/tests/modules/imports-can-import-expected.txt ('k') | sky/tests/modules/imports-can-load-404s-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698