This may happen in case sessionHistory initialization in constructor fails (e.g. with the current version of the XUL editor in Extension Developer's Extension, which has a chrome <browser/>).
Created attachment 239263 [details] [diff] [review] patch * Make sure we always register the observer in case of !this.hasAttribute("disablehistory"). * Also prevent observer from throwing in case there's no session history * Don't swallow exceptions from session history initialization. * Other cleanup
Assignee: nobody → asqueella
Status: NEW → ASSIGNED
Attachment #239263 - Flags: first-review?(gavin.sharp)
Comment on attachment 239263 [details] [diff] [review] patch r=me, though last I checked I'm not a toolkit peer :)
Attachment #239263 - Flags: first-review?(gavin.sharp) → first-review+
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Target Milestone: --- → mozilla1.9alpha1
You need to log in before you can comment on or make changes to this bug.