Skip to main content

Bug Tracker

Side navigation

#8172 closed bug (duplicate)

Opened February 03, 2011 09:47PM UTC

Closed February 03, 2011 10:47PM UTC

Last modified February 03, 2011 10:47PM UTC

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:

1. Make changes to a Firefox toolbar, such as changing the order of buttons.

2. Install the attached sample add-on, which is a simple XUL browser.xul overlay with jQuery 1.5.

3. Restart Firefox. Notice that the changes to the toolbars you made in step 1 are reset.

4. Uninstall the sample add-on ("jQuery Test").

5. Restart Firefox again. The changes are now visible.

Attachments (0)
Change History (3)

Changed February 03, 2011 09:49PM UTC by propeng comment:1

I wasn't able to attach it, so you can download it at: http://propeng.hopto.org/misc/jquerybug/jquerytest.xpi

Changed February 03, 2011 10:47PM UTC by jitter comment:2

_comment0: 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. \ 1296773333746754
component: unfiledsupport
priority: undecidedlow
resolution: → duplicate
status: newclosed

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.

Changed February 03, 2011 10:47PM UTC by jitter comment:3

Duplicate of #5206.