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

Unified Diff: Source/core/dom/Promise.idl

Issue 265773010: Add initial support for [Exposed=xx] extended IDL attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
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);

Powered by Google App Engine
This is Rietveld 408576698