зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1111523 - isP2P and sessionToken shouldn't exist in nfc-manager-tech-discover wrapper. r=dimi
This commit is contained in:
Родитель
9b736c7bef
Коммит
d01e495b3c
|
@ -482,7 +482,7 @@ Nfc.prototype = {
|
|||
|
||||
let sysMsg = new NfcTechDiscoveredSysMsg(message.sessionToken,
|
||||
message.isP2P,
|
||||
message.records);
|
||||
message.records || null);
|
||||
gSystemMessenger.broadcastMessage("nfc-manager-tech-discovered", sysMsg);
|
||||
break;
|
||||
case "TechLostNotification":
|
||||
|
|
|
@ -573,6 +573,10 @@ NFCTechDiscoveredWrapper.prototype = {
|
|||
let peer = aWindow.MozNFCPeer._create(aWindow, peerImpl);
|
||||
aMessage.peer = peer;
|
||||
}
|
||||
|
||||
delete aMessage.isP2P;
|
||||
delete aMessage.sessionToken;
|
||||
|
||||
return aMessage;
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче