зеркало из https://github.com/mozilla/pjs.git
Bustage fix from sync-asyncExecute: don't throw as the old code would catch and implicit return undefined.
This commit is contained in:
Родитель
5dbc80dbd3
Коммит
1618e0cb25
|
@ -177,9 +177,6 @@ HistoryStore.prototype = {
|
|||
execCb.throw(error);
|
||||
},
|
||||
handleCompletion: function(reason) {
|
||||
// Throw in-case for some reason we didn't find the GUID
|
||||
if (this.urlInfo == null)
|
||||
execCb.throw(reason);
|
||||
execCb(this.urlInfo);
|
||||
}
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче