Script-based imports should basically work

This CL adds the beginning of a new module loading system that matches the
conceptual module in the spec. I've writed it up to the import API on
AbstractModule. In a future CL, I'll replace the old module loading system with
this one.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/720903002
This commit is contained in:
Adam Barth
2014-11-12 13:29:14 -08:00
parent 26ef461208
commit bc824f36fe
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1 @@
PASS: pass.sky succesfully exported this string.

View File

@@ -0,0 +1,5 @@
<script>
module.import("resources/pass.sky").then(function(hello) {
internals.notifyTestComplete(hello);
});
</script>