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

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..bb7820c48e08328d48b902c3b884d53267c12c41 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=ServiceWorkerWindowClientNavigate, CallWith=ScriptState] Promise<WindowClient> navigate(USVString url);
};

Powered by Google App Engine
This is Rietveld 408576698