Index: sky/engine/core/app/AbstractModule.idl |
diff --git a/sky/engine/core/app/AbstractModule.idl b/sky/engine/core/app/AbstractModule.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..50f64383ebd20f3f724774c82dd4503c3be48230 |
--- /dev/null |
+++ b/sky/engine/core/app/AbstractModule.idl |
@@ -0,0 +1,12 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+interface AbstractModule : EventTarget { |
+ readonly attribute Document document; |
+ readonly attribute DOMString url; |
+ |
+ // FIXME: |
+ // readonly attribute Element? currentScript; |
+ // Promise<any> import(DOMString url); |
+}; |