Closed Bug 1613062 Opened 4 years ago Closed 4 years ago

JavaScript error: chrome://browser/content/utilityOverlay.js, line 39: TypeError: can't redefine non-configurable property "BROWSER_NEW_TAB_URL"

Categories

(Firefox :: Shell Integration, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 74
Tracking Status
firefox74 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

Details

Attachments

(1 file)

STR:

  1. open arbitrary website with an image on it, or even an image directly (e.g. https://www.mozilla.org/media/img/home/2018/billboard-more-power-high-res.5e9e07e1024c.png )
  2. right click
  3. set as desktop background

ER:
no errors in browser console

AR:

JavaScript error: chrome://browser/content/utilityOverlay.js, line 39: TypeError: can't redefine non-configurable property "BROWSER_NEW_TAB_URL"

Looks like this is a trivial issue where we include utilityOverlay.js twice on macOS because it gets included from global-scripts and directly by setAsDesktopBackground.xhtml .

Attachment #9124228 - Attachment description: Bug 1613062 - avoid double-including utilityOverlay.js twice on macOS, r?ntim → Bug 1613062 - avoid including utilityOverlay.js twice on macOS, r?ntim
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/8564d1d9d540
avoid including utilityOverlay.js twice on macOS, r=ntim
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
QA Whiteboard: [qa-74b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: