mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1087839 - Fix JavaScript Warning: "ReferenceError: reference to undefined property rilContext.iccInfo.iccid". r=hsinyi
This commit is contained in:
parent
031732602a
commit
02d72943c4
@ -115,6 +115,7 @@ IccInfo.prototype = {
|
||||
|
||||
function GsmIccInfo() {}
|
||||
GsmIccInfo.prototype = {
|
||||
__proto__: IccInfo.prototype,
|
||||
QueryInterface: XPCOMUtils.generateQI([Ci.nsIGsmIccInfo,
|
||||
Ci.nsIIccInfo]),
|
||||
|
||||
@ -125,6 +126,7 @@ GsmIccInfo.prototype = {
|
||||
|
||||
function CdmaIccInfo() {}
|
||||
CdmaIccInfo.prototype = {
|
||||
__proto__: IccInfo.prototype,
|
||||
QueryInterface: XPCOMUtils.generateQI([Ci.nsICdmaIccInfo,
|
||||
Ci.nsIIccInfo]),
|
||||
|
||||
@ -208,8 +210,6 @@ RILContentHelper.prototype = {
|
||||
rilContext.iccInfo = new IccInfo();
|
||||
}
|
||||
}
|
||||
let changed = (rilContext.iccInfo.iccid != newInfo.iccid) ?
|
||||
true : false;
|
||||
|
||||
this.updateInfo(newInfo, rilContext.iccInfo);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user