Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.idl |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.idl b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.idl |
index 8c556979c8b199f9e2133758c117b31b01a1c433..91bc4fd327fd53a98d58a3ca5f44c774766e040d 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.idl |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.idl |
@@ -49,6 +49,9 @@ enum ServiceWorkerState { |
readonly attribute ServiceWorkerState state; |
attribute EventHandler onstatechange; |
+ |
+ [CallWith=ScriptState,RuntimeEnabled=ServiceWorkerNavigationPreload] Promise<Dictionary> getNavigationPreload(); |
horo
2016/10/03 14:05:16
ditto
|
+ [CallWith=ScriptState,RuntimeEnabled=ServiceWorkerNavigationPreload] Promise<void> setNavigationPreload(NavigationPreloadOptions options); |
}; |
ServiceWorker implements AbstractWorker; |