Closed Bug 353801 Opened 18 years ago Closed 17 years ago

See error when dragging the searchbar to the customize window

Categories

(Firefox :: Search, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ria.klaassen, Unassigned)

References

Details

When I drag the searchbar to the customize window I see:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://browser/content/search/search.xml ::  :: line 110"  data: no]

And when I drag it back:

Error: document.getElementById(toolbarMenuElt.childNodes[i].getAttribute("observes")) has no properties
Source File: chrome://browser/content/browser.js
Line: 1863
The first error has this regression range:
1.8.1b2_2006083013 - 1.8.1b2_2006083021.
Ah, yes, this is a regression from bug 338378. The constructor (which calls addObserver) is only called conditionally, but the destructor (which calls removeObserver) is called unconditionally.

I'm pretty sure that the exception is harmless, unless an XBL destructor throwing causes leaks. The constructor didn't do anything anyways.
Blocks: 338378
The second error is trunk-only:
Regression between 1.9a1_2006072411 and 1.9a1_2006072509. So they won't be related I think.
Summary: See errors when dragging the searchbar to the customize window → See error when dragging the searchbar to the customize window
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.