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

Unified Diff: sky/engine/core/app/AbstractModule.idl

Issue 720903002: Script-based imports should basically work (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Use String::format 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
« no previous file with comments | « sky/engine/core/app/AbstractModule.cpp ('k') | sky/engine/core/app/Application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/app/AbstractModule.idl
diff --git a/sky/engine/core/app/AbstractModule.idl b/sky/engine/core/app/AbstractModule.idl
index 50f64383ebd20f3f724774c82dd4503c3be48230..1a43aac10bd5b15c7c1e5bff93b33dd6fc962fb3 100644
--- a/sky/engine/core/app/AbstractModule.idl
+++ b/sky/engine/core/app/AbstractModule.idl
@@ -6,7 +6,9 @@ interface AbstractModule : EventTarget {
readonly attribute Document document;
readonly attribute DOMString url;
+ [CallWith=ScriptState]
+ Promise<any> import(DOMString url);
+
// FIXME:
// readonly attribute Element? currentScript;
- // Promise<any> import(DOMString url);
};
« no previous file with comments | « sky/engine/core/app/AbstractModule.cpp ('k') | sky/engine/core/app/Application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698