mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-08 12:19:05 +02:00
The reported error happens because `.parentNode` can be a document, which doesn't implement the Element interface. Using `.parentElement` solves this issue. And while I'm fixing this: move the logic behind the menu ID check, so that the logic is not unnecessarily run for non-pageAction contextmenus. Differential Revision: https://phabricator.services.mozilla.com/D116138 |
||
|---|---|---|
| .. | ||
| child | ||
| parent | ||
| schemas | ||
| test | ||
| .eslintrc.js | ||
| ext-browser.json | ||
| extension-linux-panel.css | ||
| extension-mac-panel.css | ||
| extension-mac.css | ||
| extension-win-panel.css | ||
| extension.css | ||
| extension.svg | ||
| ExtensionBrowsingData.jsm | ||
| ExtensionControlledPopup.jsm | ||
| ExtensionPopups.jsm | ||
| extensions-browser.manifest | ||
| jar.mn | ||
| moz.build | ||