Bug 887671 - B2G RIL: Xpcshell failed in test_is_icc_service_available. r=hsinyi

This commit is contained in:
Yoshi Huang 2013-06-27 12:30:31 +08:00
parent 5b7f6eb8c0
commit a2e96cd2d1

View File

@ -11454,9 +11454,9 @@ let ICCUtilsHelper = {
bitmask = 1 << ((usimService % 8) << 0);
}
return (serviceTable &&
return (serviceTable !== null) &&
(index < serviceTable.length) &&
(serviceTable[index] & bitmask)) !== 0;
((serviceTable[index] & bitmask) !== 0);
},
/**