#8172 closed bug (duplicate)
jQuery resets Firefox toolbars when used in add-ons
Reported by: | Propeng | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | support | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When jQuery is inserted inside an XUL overlay of chrome://browser/content/browser.xul, the main Firefox XUL window, all changes to the Firefox toolbars are not visible. Disabling jQuery shows these changes again.
Steps to reproduce:
- Make changes to a Firefox toolbar, such as changing the order of buttons.
- Install the attached sample add-on, which is a simple XUL browser.xul overlay with jQuery 1.5.
- Restart Firefox. Notice that the changes to the toolbars you made in step 1 are reset.
- Uninstall the sample add-on ("jQuery Test").
- Restart Firefox again. The changes are now visible.
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Component: | unfiled → support |
---|---|
Priority: | undecided → low |
Resolution: | → duplicate |
Status: | new → closed |
Thanks for taking the time to contribute to the jQuery project by writing a bug report and providing a test case!
This isn't a bug, as jQuery isn't officially supported to work in the XUL environment. These bugs are also known and can be easily found by searching for XUL on this bug tracker.
You may want to take a look at #5206, #5776 and #4794. And track the ticket mentioned below for an eventual progress on this issue.
It would be nice if you could keep the link to that firefox add-on active for reference in the future when we decide to tackle this problem.
I wasn't able to attach it, so you can download it at: http://propeng.hopto.org/misc/jquerybug/jquerytest.xpi