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:
Mark Banner
2022-12-27 10:08:58 +00:00
parent c48c35ae6e
commit 34d6fb8d94
33 changed files with 99 additions and 97 deletions

View File

@@ -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;
}