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

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

Issue 1196193003: ServiceWorker: Implement navigate() method in WindowClient (blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/WindowClient.idl
diff --git a/Source/modules/serviceworkers/WindowClient.idl b/Source/modules/serviceworkers/WindowClient.idl
index 40a5ddcd783c940bdc2839a2ab0d393396fb3c70..c2e1ab0c03de8b83c2e5cc055ee611fc57a13f5a 100644
--- a/Source/modules/serviceworkers/WindowClient.idl
+++ b/Source/modules/serviceworkers/WindowClient.idl
@@ -22,4 +22,5 @@ enum ContextFrameType {
readonly attribute boolean focused;
readonly attribute ContextFrameType frameType;
[CallWith=ScriptState] Promise<boolean> focus();
+ [RuntimeEnabled=ServiceWorkerClientAttributes, CallWith=ScriptState] Promise<WindowClient> navigate(USVString url);
nhiroki 2015/06/23 01:18:13 "ServiceWorkerClientAttributes" has already been e
zino 2015/06/23 03:42:15 Done.
};

Powered by Google App Engine
This is Rietveld 408576698