Closed Bug 1895563 Opened 7 months ago Closed 5 months ago

Uncaught SyntaxError: redeclaration of let nsContextMenu

Categories

(Firefox :: Menus, defect)

defect

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr128 --- wontfix
firefox125 --- wontfix
firefox126 --- wontfix
firefox127 --- wontfix
firefox128 --- wontfix
firefox129 --- fixed

People

(Reporter: niklas, Assigned: niklas)

References

(Blocks 1 open bug, Regressed 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR:

  1. Run firefox (Do not open a context menu)
  2. Open browser console or browser toolbox to the console
  3. Execute nsContextMenu

AR:
Uncaught SyntaxError: redeclaration of let nsContextMenu

ER:
We should not throw an error

This has something to do with loading a class instead of an object with defineLazyScriptGetter

Assignee: nobody → nbaumgardner
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1589328

See Also: → 1895583

Set release status flags based on info from the regressing bug 1589328

Attachment #9400536 - Attachment description: Bug 1895563 - Change how nsContextMenu is defined as a class. r=mconley → WIP: Bug 1895563 - Change how nsContextMenu is defined as a class. r=mconley
Blocks: 1886839
Attachment #9400536 - Attachment description: WIP: Bug 1895563 - Change how nsContextMenu is defined as a class. r=mconley → Bug 1895563 - Change how nsContextMenu is defined as a class. r=mconley
Attachment #9400536 - Attachment description: Bug 1895563 - Change how nsContextMenu is defined as a class. r=mconley → Bug 1895563 - Update nsContextMenu to a system module. r=mconley
Pushed by nbaumgardner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6422d527327d Update nsContextMenu to a system module. r=Gijs,frontend-codestyle-reviewers,Standard8
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Regressions: 1915523
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: