Investigate removal of editMenuOverlay.xul from toolbox.xul

NEW
Unassigned

Status

P3
normal
2 years ago
3 months ago

People

(Reporter: bgrins, Unassigned)

Tracking

46 Branch
Dependency tree / graph
Bug Flags:
qe-verify -

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [reserve-html])

(Reporter)

Description

2 years ago
The edit menu overlay pulls in some markup into toolbox.xul:

  <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>

  <!ENTITY % editMenuStrings SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
  %editMenuStrings;

  <commandset id="editMenuCommands"/>

  <keyset id="editMenuKeys"/>

This is used to inject the cut/copy/paste menu items into menus within the toolbox: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/Overlays.

We need to investigate if that's needed in this top level document and if so, how to remove it.  For most text boxes we shouldn't need to do anything.  If we want a custom context menu item alongside the normal edit items, then we'll need to come up with a solution using the Menu API and exporting the edit menu as a set of MenuItems.

Updated

2 years ago
Flags: qe-verify?

Updated

2 years ago
Priority: P2 → P1

Updated

2 years ago
Flags: qe-verify? → qe-verify-

Updated

2 years ago
Priority: P1 → P2

Updated

2 years ago
Priority: P2 → P3
Whiteboard: [devtools-html] → [reserve-html]

Updated

3 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.