Loirooriol / Z-Notifier

X-notifier fork - Notifies your webmails
0 stars 0 forks source link

gBrowser.tabContextMenu was removed #28

Closed Loirooriol closed 6 years ago

Loirooriol commented 6 years ago

https://github.com/Loirooriol/Z-Notifier/blob/df675b7ee207c086df08abd997e6074a27c9e0e6/chrome/content/overlay-ff.js#L119-L120

Bug 1392352 converted gBrowser into a JS class. Then getAnonymousElementByAttribute fails:

TypeError: Argument 1 of Document.getAnonymousElementByAttribute does not implement interface Element.

But this was not really a problem until bug 1443833 removed gBrowser.tabContextMenu.

It seems gBrowser.tabContainer.contextMenu should still work.

Loirooriol commented 6 years ago

Due to this the emails don't appear in the toolbar icon context menu, and the "X-notifier" submenu does not appear in the tabbar context menu.