Bug 1625500 - fix use of .then(x, x) in the tree, r=marionette-reviewers,Standard8,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D68614
This commit is contained in:
@@ -750,7 +750,7 @@ MarkupView.prototype = {
|
||||
this._briefBoxModelPromise = new Promise(resolve => {
|
||||
_resolve = resolve;
|
||||
this._briefBoxModelTimer = setTimeout(() => {
|
||||
this._hideBoxModel().then(resolve, resolve);
|
||||
this._hideBoxModel().finally(resolve);
|
||||
}, NEW_SELECTION_HIGHLIGHTER_TIMER);
|
||||
});
|
||||
this._briefBoxModelPromise.resolve = _resolve;
|
||||
|
||||
Reference in New Issue
Block a user