зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1872297 - Fix `nsIDefaultAgent`'s `appRanRecently` in XPIDL and JavaScript. r=mhughes
Differential Revision: https://phabricator.services.mozilla.com/D197391
This commit is contained in:
Родитель
3c8e24ffbf
Коммит
b7168d21ed
|
@ -213,7 +213,7 @@ async function runWithRegistryLocked(aMutexGuardedFunction) {
|
|||
}
|
||||
|
||||
async function doTask(defaultAgent, force) {
|
||||
if (!defaultAgent.appRecentlyRan() && !force) {
|
||||
if (!defaultAgent.appRanRecently() && !force) {
|
||||
lazy.log.warn("Main app has not ran recently, exiting without running.");
|
||||
throw new Error("App hasn't ran recently");
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ interface nsIDefaultAgent : nsISupports
|
|||
*
|
||||
* @return {boolean} true if the app ran recently.
|
||||
*/
|
||||
boolean AppRanRecently();
|
||||
boolean appRanRecently();
|
||||
|
||||
/**
|
||||
* Returns a string for the default browser if known, binned to known browsers.
|
||||
|
|
Загрузка…
Ссылка в новой задаче