mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 963541 - B2G NFC: Remove NFCTag.connect and NFCTag.close. r=smaug, r=dimi
This commit is contained in:
parent
c91a226c12
commit
ad683a630b
@ -72,13 +72,6 @@ MozNFCTag.prototype = {
|
||||
makeReadOnlyNDEF: function makeReadOnlyNDEF() {
|
||||
return this._nfcContentHelper.makeReadOnlyNDEF(this._window, this.session);
|
||||
},
|
||||
connect: function connect(enum_tech_type) {
|
||||
let int_tech_type = this._techTypesMap[enum_tech_type];
|
||||
return this._nfcContentHelper.connect(this._window, int_tech_type, this.session);
|
||||
},
|
||||
close: function close() {
|
||||
return this._nfcContentHelper.close(this._window, this.session);
|
||||
},
|
||||
|
||||
classID: Components.ID("{4e1e2e90-3137-11e3-aa6e-0800200c9a66}"),
|
||||
contractID: "@mozilla.org/nfc/NFCTag;1",
|
||||
|
@ -29,9 +29,6 @@ interface MozNFCTag {
|
||||
DOMRequest readNDEF();
|
||||
DOMRequest writeNDEF(sequence<MozNDEFRecord> records);
|
||||
DOMRequest makeReadOnlyNDEF();
|
||||
|
||||
DOMRequest connect(NFCTechType techType);
|
||||
DOMRequest close();
|
||||
};
|
||||
|
||||
// Mozilla Only
|
||||
|
Loading…
Reference in New Issue
Block a user