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

Unified Diff: third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.idl

Issue 2765783002: Restrict Navigator.getInstalledRelatedApps() to secure contexts. (Closed)
Patch Set: fix copypaste 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/modules/installedapp/NavigatorInstalledApp.cpp ('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/installedapp/NavigatorInstalledApp.idl
diff --git a/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.idl b/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.idl
index 27773752fc362445a89a3783391b0d8f757e7b9d..6aa0ce7bee37ec77ca5e221a8cfed19f53d1359f 100644
--- a/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.idl
+++ b/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.idl
@@ -8,5 +8,5 @@
[
RuntimeEnabled=InstalledApp,
] partial interface Navigator {
- [CallWith=ScriptState] Promise<RelatedApplication> getInstalledRelatedApps();
+ [SecureContext, CallWith=ScriptState] Promise<RelatedApplication> getInstalledRelatedApps();
};
« no previous file with comments | « third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698