зеркало из https://github.com/mozilla/gecko-dev.git
Bug 879861 - Part 6: Adding dom.secureelement.enabled pref. r=smaug
This commit is contained in:
Родитель
d0cf1485e0
Коммит
4d471a3a86
|
@ -34,7 +34,8 @@ dictionary SECommand {
|
|||
// response data or -1 if none is expected
|
||||
};
|
||||
|
||||
[CheckPermissions="secureelement-manage",
|
||||
[Pref="dom.secureelement.enabled",
|
||||
CheckPermissions="secureelement-manage",
|
||||
AvailableIn="CertifiedApps",
|
||||
JSImplementation="@mozilla.org/secureelement/reader;1"]
|
||||
interface SEReader {
|
||||
|
@ -62,7 +63,8 @@ interface SEReader {
|
|||
Promise<void> closeAll();
|
||||
};
|
||||
|
||||
[CheckPermissions="secureelement-manage",
|
||||
[Pref="dom.secureelement.enabled",
|
||||
CheckPermissions="secureelement-manage",
|
||||
AvailableIn="CertifiedApps",
|
||||
JSImplementation="@mozilla.org/secureelement/session;1"]
|
||||
interface SESession {
|
||||
|
@ -97,7 +99,8 @@ interface SESession {
|
|||
Promise<void> closeAll();
|
||||
};
|
||||
|
||||
[CheckPermissions="secureelement-manage",
|
||||
[Pref="dom.secureelement.enabled",
|
||||
CheckPermissions="secureelement-manage",
|
||||
AvailableIn="CertifiedApps",
|
||||
JSImplementation="@mozilla.org/secureelement/channel;1"]
|
||||
interface SEChannel {
|
||||
|
@ -136,7 +139,8 @@ interface SEChannel {
|
|||
Promise<void> close();
|
||||
};
|
||||
|
||||
[CheckPermissions="secureelement-manage",
|
||||
[Pref="dom.secureelement.enabled",
|
||||
CheckPermissions="secureelement-manage",
|
||||
AvailableIn="CertifiedApps",
|
||||
JSImplementation="@mozilla.org/secureelement/response;1"]
|
||||
interface SEResponse {
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
|
||||
/* Copyright © 2014 Deutsche Telekom, Inc. */
|
||||
|
||||
[CheckPermissions="secureelement-manage",
|
||||
[Pref="dom.secureelement.enabled",
|
||||
CheckPermissions="secureelement-manage",
|
||||
AvailableIn="CertifiedApps",
|
||||
JSImplementation="@mozilla.org/secureelement/manager;1",
|
||||
NavigatorProperty="seManager",
|
||||
|
|
|
@ -4554,3 +4554,8 @@ pref("reader.has_used_toolbar", false);
|
|||
// loaded without sandboxing even if this pref is changed.
|
||||
pref("media.gmp.insecure.allow", false);
|
||||
#endif
|
||||
|
||||
// Secure Element API
|
||||
#ifdef MOZ_SECUREELEMENT
|
||||
pref("dom.secureelement.enabled", false);
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче