Closed Bug 880361 Opened 6 years ago Closed 6 years ago
"browser is undefined" error when immediately closing a newly opened browser window
Sounds like the content pref callbacks need to be able to deal with the window being destroyed (or we need a way to cancel pending content pref queries on window close).
Assignee: nobody → adw
Status: NEW → ASSIGNED
Attachment #759419 - Flags: review?(gavin.sharp)
Comment on attachment 759419 [details] [diff] [review] don't assume browser is nonnull This could certainly use a comment explaining why you're null checking selectedBrowser (which is otherwise generally never null). I.e. "this function can run after the window is unloaded". Probably worth putting a comment like that both here and in _isStateCurrent.
Attachment #759419 - Flags: review?(gavin.sharp) → review+
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
You need to log in before you can comment on or make changes to this bug.