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

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

Issue 798323004: Make ServiceWorkerClient.focus() bound to ServiceWorkerClientAttributes flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorkerClient.idl
diff --git a/Source/modules/serviceworkers/ServiceWorkerClient.idl b/Source/modules/serviceworkers/ServiceWorkerClient.idl
index 925ebb5af1af458e5518eb48c1a6989ae47964b7..4f35e42246703092dc6f732319a9febbb72adbfa 100644
--- a/Source/modules/serviceworkers/ServiceWorkerClient.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerClient.idl
@@ -14,5 +14,5 @@
[RuntimeEnabled=ServiceWorkerClientAttributes] readonly attribute USVString url;
[RuntimeEnabled=ServiceWorkerClientAttributes] readonly attribute DOMString frameType;
[Custom, RaisesException, CallWith=ExecutionContext] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer);
- [RuntimeEnabled=PushMessaging, CallWith=ScriptState] Promise<boolean> focus();
+ [RuntimeEnabled=ServiceWorkerClientAttributes, CallWith=ScriptState] Promise<boolean> focus();
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698