Assertion in the browser-chrome suite due to gPrivateBrowsingUI.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')

RESOLVED FIXED in Firefox 4.0b8

Status

()

RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Ehsan, Assigned: Ehsan)

Tracking

({assertion})

Trunk
Firefox 4.0b8
x86
Mac OS X
assertion
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
We should call removeObserver only if we have previously called addObserver...
(Assignee)

Comment 1

8 years ago
Created attachment 493433 [details] [diff] [review]
Patch (v1)
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #493433 - Flags: review?(gavin.sharp)
(Assignee)

Updated

8 years ago
Keywords: assertion
Attachment #493433 - Flags: review?(gavin.sharp)
Attachment #493433 - Flags: review+
Attachment #493433 - Flags: approval2.0+
(Assignee)

Updated

8 years ago
Blocks: 310955
(Assignee)

Comment 2

8 years ago
http://hg.mozilla.org/mozilla-central/rev/b7c49f3a6089
Status: ASSIGNED → RESOLVED
Last Resolved: 8 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.