зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1055477 - Part 3: update MozNFCPeerEvent and tests. r=smaug
This commit is contained in:
Родитель
1dbab1393a
Коммит
2f283a6502
|
@ -690,12 +690,6 @@ var interfaceNamesInGlobalScope =
|
|||
"MozNamedAttrMap",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozNDEFRecord", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozNFCPeer", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozNFCPeerEvent", b2g: true, permission: "nfc-write"},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozNFCTag", b2g: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozOtaStatusEvent", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
*/
|
||||
|
||||
[Constructor(DOMString type, optional MozNFCPeerEventInit eventInitDict),
|
||||
Func="Navigator::HasNFCSupport"]
|
||||
Func="Navigator::HasNFCSupport", CheckPermissions="nfc-write",
|
||||
AvailableIn="CertifiedApps"]
|
||||
interface MozNFCPeerEvent : Event
|
||||
{
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче