Chromium Code Reviews| Index: core/dom/Promise.idl |
| diff --git a/core/dom/Promise.idl b/core/dom/Promise.idl |
| index fe9edf0d8b8f7ea4bd22d1a4f3c28f2e07ef5342..255086626952cf82874cfa0ce66d30d0630cfd67 100644 |
| --- a/core/dom/Promise.idl |
| +++ b/core/dom/Promise.idl |
| @@ -31,6 +31,7 @@ |
| callback PromiseInit = void (PromiseResolver resolver); |
| callback AnyCallback = any (optional any value); |
| [ |
| + GlobalContext=Window&WorkerGlobalScope, |
| CustomConstructor(PromiseInit init), |
| EnabledAtRuntime=promise |
| ] interface Promise { |