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