Bug 1806503 - Automatically replace Cu.reportError with console.error (browser/actors, browser/base). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D165068
This commit is contained in:
@@ -382,7 +382,7 @@ var FullScreen = {
|
||||
*/
|
||||
shiftMacToolbarDown(shiftSize) {
|
||||
if (typeof shiftSize !== "number") {
|
||||
Cu.reportError("Tried to shift the toolbar by a non-numeric distance.");
|
||||
console.error("Tried to shift the toolbar by a non-numeric distance.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user