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.
Priority: P2 → P3
Whiteboard: [devtools-html] → [reserve-html]
You need to log in before you can comment on or make changes to this bug.