Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / dom / Promise.idl
index 45989d4..07d0aa4 100644 (file)
@@ -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);