Index: core/dom/Promise.idl |
diff --git a/core/dom/Promise.idl b/core/dom/Promise.idl |
index 77b397632cc8037288e2727531673de6abe53862..45989d44d8223fb05107d9d188fb00985508b944 100644 |
--- a/core/dom/Promise.idl |
+++ b/core/dom/Promise.idl |
@@ -31,8 +31,8 @@ |
callback PromiseInit = void (any resolve, any reject); |
callback AnyCallback = any (optional any value); |
[ |
- GlobalContext=Window&WorkerGlobalScope, |
CustomConstructor(PromiseInit init), |
+ GlobalContext=Window&WorkerGlobalScope, |
] interface Promise { |
[Custom] Promise then(optional AnyCallback fulfillCallback, optional AnyCallback rejectCallback); |
[Custom] Promise catch(optional AnyCallback rejectCallback); |