Chromium Code Reviews| Index: third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.idl |
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.idl b/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.idl |
| index 6664c77b55a0dc3b6598c5828a451ca6d408004d..8130f1d4e26d7abb2d7674432ab8176fc6b45dc7 100644 |
| --- a/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.idl |
| +++ b/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.idl |
| @@ -6,11 +6,10 @@ |
| // https://github.com/w3c/ServiceWorker/issues/920 |
| [ |
| OriginTrialEnabled=ServiceWorkerNavigationPreload, |
| - SecureContext, |
| Exposed=(Window,Worker), |
| ] interface NavigationPreloadManager { |
| - [CallWith=ScriptState] Promise<void> enable(); |
| - [CallWith=ScriptState] Promise<void> disable(); |
| - [CallWith=ScriptState] Promise<void> setHeaderValue(ByteString value); |
| - [CallWith=ScriptState] Promise<NavigationPreloadState> getState(); |
| + [SecureContext, CallWith=ScriptState] Promise<void> enable(); |
|
Matt Giuca
2017/03/29 06:24:37
Oh no this is awful.
It turns out that Navigation
Yuki
2017/03/29 06:38:06
Just a question, why NavigationPreloadManager is O
falken
2017/03/29 06:43:45
Yes, NavigationPreloadManager is an experimental f
Matt Giuca
2017/03/30 02:57:28
I would be changing the IDL away from the spec, bu
|
| + [SecureContext, CallWith=ScriptState] Promise<void> disable(); |
| + [SecureContext, CallWith=ScriptState] Promise<void> setHeaderValue(ByteString value); |
| + [SecureContext, CallWith=ScriptState] Promise<NavigationPreloadState> getState(); |
| }; |