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

Unified Diff: Source/modules/serviceworkers/Cache.idl

Issue 273683006: ScriptPromise should understand the ScriptState from which the ScriptPromise is generated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 cc61c4565b629ba70786b724d183c734ad4c3807..567c5e985b2d9d37733254b3bde513e9b1027086 100644
--- a/Source/modules/serviceworkers/Cache.idl
+++ b/Source/modules/serviceworkers/Cache.idl
@@ -7,6 +7,6 @@
Exposed=ServiceWorker,
RuntimeEnabled=ServiceWorker
] interface Cache {
- [CallWith=ExecutionContext] Promise match(DOMString url);
- [CallWith=ExecutionContext] Promise ready();
+ [CallWith=ScriptState] Promise match(DOMString url);
+ [CallWith=ScriptState] Promise ready();
};

Powered by Google App Engine
This is Rietveld 408576698