Doesn't work with some bootstrapped extensions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Global menubar extension |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
I've encountered problem with global menu integration when installed some of "restartless" extensions. In particular it's url-addon-bar extension (https:/
When it's installed there is no problems but on restart menu does not integrates and shown on separate panel.
I've checked bootstrap.js code and wasn't able to locate any any really bad code there.
Steps to reproduce:
1. Go to url https:/
2. Install extension.
3. Restart browser.
Expected result: menu integrated into Unity (actually I'm using Unity 2D) panel.
Actual result: Menu shown below on separate panel inside Fx window.
Point to check in url-addon-bar extension:
let win = aWindow.
This command alone breaks integration. Adding event-listener to the located windows on the next step could be removed or commented out. Extension will not work but integration still will be broken. Disabling this command fixes integration but extension does not work.
BTW, I've seen similar code in multiple extensions and all of them breaks integration as well.
The addon you've linked works fine here