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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.idl

Issue 2780093003: V8 bindings gen: Error if OriginTrialEnabled and SecureContext together. (Closed)
Patch Set: NavigationPreloadManager: Avoid hitting the error. Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/bindings/scripts/v8_utilities.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
};
« no previous file with comments | « third_party/WebKit/Source/bindings/scripts/v8_utilities.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698