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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.idl

Issue 2844453002: Update CM API IDL to use SecureContext (Closed)
Patch Set: Rebase Created 3 years, 8 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
Index: third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.idl
diff --git a/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.idl b/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.idl
index f96c6710fe43852c6a90aee20b9ef51954a4c14e..c0b7b6985f9445d67e3b6408eb9babff46779565 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.idl
+++ b/third_party/WebKit/Source/modules/credentialmanager/CredentialsContainer.idl
@@ -4,9 +4,8 @@
// https://w3c.github.io/webappsec-credential-management/#credentialscontainer
-[
- RuntimeEnabled=CredentialManager,
-] interface CredentialsContainer {
+[Exposed=Window, SecureContext]
+interface CredentialsContainer {
[CallWith=ScriptState, MeasureAs=CredentialManagerGet] Promise get(optional CredentialRequestOptions options);
[CallWith=ScriptState, MeasureAs=CredentialManagerStore] Promise store(Credential credential);
[CallWith=ScriptState, MeasureAs=CredentialManagerRequireUserMediation] Promise requireUserMediation();

Powered by Google App Engine
This is Rietveld 408576698