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

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

Issue 944583003: Deprecate Clients.getAll and introduce Clients.matchAll (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « Source/core/frame/UseCounter.cpp ('k') | Source/modules/serviceworkers/ServiceWorkerClients.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Clients.idl
diff --git a/Source/modules/serviceworkers/Clients.idl b/Source/modules/serviceworkers/Clients.idl
index 1e8ae003c83907d0d0c2243f322e6b60aa55f229..148b5af4142ee5cee0207c503db1dc166eeb4100 100644
--- a/Source/modules/serviceworkers/Clients.idl
+++ b/Source/modules/serviceworkers/Clients.idl
@@ -10,7 +10,8 @@
TypeChecking=Interface,
ImplementedAs=ServiceWorkerClients,
] interface Clients {
- [CallWith=ScriptState] Promise<sequence<Client>?> getAll(optional ClientQueryOptions options);
+ [DeprecateAs=ServiceWorkerClientsGetAll, CallWith=ScriptState, ImplementedAs=matchAll] Promise<sequence<Client>?> getAll(optional ClientQueryOptions options);
+ [CallWith=ScriptState] Promise<sequence<Client>?> matchAll(optional ClientQueryOptions options);
[RuntimeEnabled=ServiceWorkerClientAttributes, CallWith=ScriptState] Promise<WindowClient?> openWindow(USVString url);
[CallWith=ScriptState] Promise<void> claim();
};
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | Source/modules/serviceworkers/ServiceWorkerClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698