mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1111523 - isP2P and sessionToken shouldn't exist in nfc-manager-tech-discover wrapper. r=dimi
This commit is contained in:
parent
3bf5e57edb
commit
b0548b1e2d
@ -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;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user