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

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, 5 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 3af859b12a83640eac243b5cd89dabe784ccf3f2..9ebb051ce16b7fb25481a63cddc9a0c908224bca 100644
--- a/Source/modules/serviceworkers/WindowClient.idl
+++ b/Source/modules/serviceworkers/WindowClient.idl
@@ -21,4 +21,5 @@ enum ContextFrameType {
readonly attribute VisibilityState visibilityState;
readonly attribute boolean focused;
[CallWith=ScriptState] Promise<WindowClient> focus();
+ [RuntimeEnabled=ServiceWorkerWindowClientNavigate, CallWith=ScriptState] Promise<WindowClient> navigate(USVString url);
};
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698