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

Unified Diff: Source/modules/serviceworkers/Cache.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/modules/serviceworkers/Cache.idl
diff --git a/Source/modules/serviceworkers/Cache.idl b/Source/modules/serviceworkers/Cache.idl
index 52ef3886eed8757bf8cddd1fccb0c0bc80addb54..cc61c4565b629ba70786b724d183c734ad4c3807 100644
--- a/Source/modules/serviceworkers/Cache.idl
+++ b/Source/modules/serviceworkers/Cache.idl
@@ -4,7 +4,7 @@
[
Constructor(DOMString[] urls),
- GlobalContext=ServiceWorkerGlobalScope,
+ Exposed=ServiceWorker,
RuntimeEnabled=ServiceWorker
] interface Cache {
[CallWith=ExecutionContext] Promise match(DOMString url);

Powered by Google App Engine
This is Rietveld 408576698