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); |
}; |