Bug 946047 - Fix HasNfcSupport in MozNfc.webidl. r=khuey

This commit is contained in:
Garner Lee 2013-12-03 17:59:16 -08:00
Родитель 4af1fbee69
Коммит 275ac6fdcf
3 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -18,7 +18,4 @@
# Modifying this file will now automatically clobber the buildbot machines \o/ # Modifying this file will now automatically clobber the buildbot machines \o/
# #
Bug 934646 needs a clobber -- the icon resources previously copied Bug 946047 - Windows needs a clobber for webidl changes.
into $OBJDIR/mobile/android/base/res will conflict with those in
$BRANDING_DIRECTORY/res.

Просмотреть файл

@ -385,7 +385,6 @@ var interfaceNamesInGlobalScope =
"MozMobileMessageThread", "MozMobileMessageThread",
"MozNamedAttrMap", "MozNamedAttrMap",
{name: "MozNdefRecord", b2g: true}, {name: "MozNdefRecord", b2g: true},
{name: "MozNfc", b2g: true},
{name: "MozNFCPeer", b2g: true}, {name: "MozNFCPeer", b2g: true},
{name: "MozNFCTag", b2g: true}, {name: "MozNFCTag", b2g: true},
{name: "MozOtaStatusEvent", b2g: true, pref: "dom.mobileconnection.enabled"}, {name: "MozOtaStatusEvent", b2g: true, pref: "dom.mobileconnection.enabled"},

Просмотреть файл

@ -5,7 +5,8 @@
/* Copyright © 2013 Deutsche Telekom, Inc. */ /* Copyright © 2013 Deutsche Telekom, Inc. */
[JSImplementation="@mozilla.org/navigatorNfc;1", [JSImplementation="@mozilla.org/navigatorNfc;1",
NavigatorProperty="mozNfc"] NavigatorProperty="mozNfc",
Func="Navigator::HasNfcSupport"]
interface MozNfc : EventTarget { interface MozNfc : EventTarget {
MozNFCTag getNFCTag(DOMString sessionId); MozNFCTag getNFCTag(DOMString sessionId);
MozNFCPeer getNFCPeer(DOMString sessionId); MozNFCPeer getNFCPeer(DOMString sessionId);