mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1064303 - After adding new SIM with MSISDN on device, the mobile ID dialog doesn't show up with "Get Assertion" with the new phone number. r=spenrose
This commit is contained in:
parent
43ee21453e
commit
c481bc89e2
@ -865,13 +865,13 @@ this.MobileIdentityManager = {
|
||||
|
||||
if (!simChanged &&
|
||||
creds.deviceIccIds != null &&
|
||||
this.IccIds != null) {
|
||||
this.iccIds != null) {
|
||||
simChanged = creds.deviceIccIds.length != this.iccIds.length;
|
||||
}
|
||||
|
||||
if (!simChanged &&
|
||||
creds.deviceIccIds != null &&
|
||||
this.IccIds != null) {
|
||||
this.iccIds != null) {
|
||||
let intersection = creds.deviceIccIds.filter((n) => {
|
||||
return this.iccIds.indexOf(n) != -1;
|
||||
});
|
||||
|
@ -898,6 +898,8 @@ add_test(function() {
|
||||
let client = new MockClient();
|
||||
MobileIdentityManager.client = client;
|
||||
|
||||
MobileIdentityManager.iccInfo = [];
|
||||
|
||||
let promiseId = Date.now();
|
||||
let mm = {
|
||||
sendAsyncMessage: function(aMsg, aData) {
|
||||
@ -988,6 +990,8 @@ add_test(function() {
|
||||
});
|
||||
MobileIdentityManager.client = client;
|
||||
|
||||
MobileIdentityManager.iccInfo = [];
|
||||
|
||||
let promiseId = Date.now();
|
||||
let mm = {
|
||||
sendAsyncMessage: function(aMsg, aData) {
|
||||
|
Loading…
Reference in New Issue
Block a user