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

Unified Diff: sky/tests/modules/instance-of-application.sky

Issue 703593003: Move exports from Document to Module (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/instance-of-application.sky
diff --git a/sky/tests/services/buffer.sky b/sky/tests/modules/instance-of-application.sky
similarity index 56%
copy from sky/tests/services/buffer.sky
copy to sky/tests/modules/instance-of-application.sky
index 3a9312000a7e6ef2ba8afda90801e720c4f56f83..9fb7074b8da8a96b0e2a93721d80366a5f470cb6 100644
--- a/sky/tests/services/buffer.sky
+++ b/sky/tests/modules/instance-of-application.sky
@@ -1,9 +1,8 @@
<html>
<import src="../resources/dump-as-text.sky" />
-<import src="/mojo/public/sky/buffer.sky" as="buffer" />
<div id="result">FAIL</div>
<script>
document.getElementById("result").textContent =
- buffer.Buffer ? "PASS" : "FAIL: buffer.Buffer is missing";
+ module instanceof Application ? 'PASS': 'FAIL: ' + module;
</script>
</html>

Powered by Google App Engine
This is Rietveld 408576698