зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 8f699e0bfbad (bug 1571567) for es lint failure on browser/head.js CLOSED TREE
This commit is contained in:
Родитель
392fd88eee
Коммит
d9963db85c
|
@ -440,7 +440,7 @@ function check_children_sorting(aRootNode, aExpectedSortingMode) {
|
|||
comparator = function(a, b) {
|
||||
return b.time - a.time;
|
||||
};
|
||||
// fall through
|
||||
break;
|
||||
case Ci.nsINavHistoryQueryOptions.SORT_BY_DATEADDED_ASCENDING:
|
||||
comparator = function(a, b) {
|
||||
return a.dateAdded - b.dateAdded;
|
||||
|
|
|
@ -1410,7 +1410,7 @@ MockInstall.prototype = {
|
|||
|
||||
this.state = AddonManager.STATE_DOWNLOADED;
|
||||
this.callListeners("onDownloadEnded");
|
||||
// fall through
|
||||
break;
|
||||
case AddonManager.STATE_DOWNLOADED:
|
||||
this.state = AddonManager.STATE_INSTALLING;
|
||||
if (!this.callListeners("onInstallStarted")) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче