Closed Bug 614995 Opened 9 years ago Closed 9 years ago

Assertion in the browser-chrome suite due to BrowserOffline.uninit trying to remove its observers even if it hasn't registered them (ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that.: 'factoryPtr')

Categories

(Firefox :: General, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 4.0b8

People

(Reporter: ehsan, Assigned: ehsan)

References

Details

(Keywords: assertion)

Attachments

(1 file)

We should call removeObserver only if we have previously called addObserver...
Keywords: assertion
Blocks: 310955
Attached patch Patch (v1)Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #493434 - Flags: review?(gavin.sharp)
Attachment #493434 - Flags: review?(gavin.sharp)
Attachment #493434 - Flags: review+
Attachment #493434 - Flags: approval2.0+
http://hg.mozilla.org/mozilla-central/rev/bc768f2602b2
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b8
You need to log in before you can comment on or make changes to this bug.