Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3861)

Unified Diff: core/dom/Promise.idl

Issue 126143003: Update IDL to Chrome 32 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/dom/ProgressEvent.idl ('k') | core/dom/Range.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/Promise.idl
diff --git a/core/dom/Promise.idl b/core/dom/Promise.idl
index f7fb7ba61cf55e18d541d10587feba6185aebeb0..77b397632cc8037288e2727531673de6abe53862 100644
--- a/core/dom/Promise.idl
+++ b/core/dom/Promise.idl
@@ -33,7 +33,6 @@ callback AnyCallback = any (optional any value);
[
GlobalContext=Window&WorkerGlobalScope,
CustomConstructor(PromiseInit init),
- EnabledAtRuntime=Promise
] interface Promise {
[Custom] Promise then(optional AnyCallback fulfillCallback, optional AnyCallback rejectCallback);
[Custom] Promise catch(optional AnyCallback rejectCallback);
@@ -41,6 +40,7 @@ callback AnyCallback = any (optional any value);
[Custom] static Promise resolve(any value);
[Custom] static Promise reject(any value);
- [Custom] static Promise _any(any... values);
- [Custom] static Promise every(any... values);
+ [Custom] static Promise cast(any value);
+ [Custom] static Promise race(any iterable);
+ [Custom] static Promise all(any iterable);
};
« no previous file with comments | « core/dom/ProgressEvent.idl ('k') | core/dom/Range.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698