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

Unified Diff: third_party/WebKit/Source/modules/webusb/NavigatorUSB.idl

Issue 2880713002: Support combination of [OriginTrialEnabled] and [SecureContext] (Closed)
Patch Set: Rebase Created 3 years, 7 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.idl ('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/webusb/NavigatorUSB.idl
diff --git a/third_party/WebKit/Source/modules/webusb/NavigatorUSB.idl b/third_party/WebKit/Source/modules/webusb/NavigatorUSB.idl
index e9a852278203a5cfc2499e315e15ad201a45f1c5..746d02b4a70ec4e15e68233aad59001097151392 100644
--- a/third_party/WebKit/Source/modules/webusb/NavigatorUSB.idl
+++ b/third_party/WebKit/Source/modules/webusb/NavigatorUSB.idl
@@ -4,9 +4,6 @@
// https://wicg.github.io/webusb/#enumeration
-// The [SecureContext] and [OriginTrialEnabled] extended attributes don't mix.
-// Once this is out of origin trial and the secure context logic is removed from
-// ConditionalFeaturesForModules.cpp add [SecureContext] here.
partial interface Navigator {
- [OriginTrialEnabled=WebUSB] readonly attribute USB usb;
+ [SecureContext, OriginTrialEnabled=WebUSB] readonly attribute USB usb;
};
« no previous file with comments | « third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698