mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1252635 - confirm mozApps is defined before checking for updates; r=marco
This commit is contained in:
parent
1286a545f5
commit
c200991831
@ -102,6 +102,10 @@ this.WebappRT = {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!window.navigator.mozApps) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Check for updates once a day.
|
||||
let timerManager = Cc["@mozilla.org/updates/timer-manager;1"].
|
||||
getService(Ci.nsIUpdateTimerManager);
|
||||
|
Loading…
Reference in New Issue
Block a user