Bug 1808400 - Handle cases of .then(foo, Cu.reportError) in ESLint rule no-cu-reportError. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D167520
This commit is contained in:
@@ -1854,7 +1854,7 @@ var gSync = {
|
||||
let navbar = document.getElementById(CustomizableUI.AREA_NAVBAR);
|
||||
navbar.overflowable.show().then(() => {
|
||||
PanelUI.showSubView("PanelUI-remotetabs", anchor);
|
||||
}, Cu.reportError);
|
||||
}, console.error);
|
||||
} else {
|
||||
// It is placed somewhere else - just try and show it.
|
||||
PanelUI.showSubView("PanelUI-remotetabs", anchor);
|
||||
|
||||
Reference in New Issue
Block a user