Comment 8 for bug 129749

Revision history for this message
Rivo Laks (rivol) wrote :

The same bug happens here as well, after installing the Estonian language pack extension.
Problem seems to be caused by the extension resetting Firefox homepage to blank page which causes history not to work.

I can reproduce it like this:
* Create new profile
* Install Locale Switcher 2.1 (https://addons.mozilla.org/en-US/firefox/addon/356)
At this point everything is still functional.
* Install Estonian language pack 2.0.12 (https://addons.mozilla.org/en-US/firefox/addon/4194)

After Firefox is restarted I have following problems:
* the History menu doesn't contain any history entries anymore (history sidebar still works though).
* Recently Closed Tabs entry is there but always grayed out.
* homepage seems to be changed to nothing (blank page).

When opening History menu, the Firefox's error console shows following:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIStringBundle.GetStringFromName]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://browser/content/browser.js :: anonymous :: line 3890" data: no]

Error: this._windows[aWindow.__SSi] has no properties
Sourc file: file:///usr/lib/firefox/components/nsSessionStore.js
Line: 671

Error: uncaught exception: [Exception... "'[JavaScript Error: "this._windows[aWindow.__SSi] has no properties" {file: "file:///usr/lib/firefox/components/nsSessionStore.js" line: 671}]' when calling method: [nsISessionStore::getClosedTabCount]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://browser/content/browser.js :: PHM_toggleRecentlyClosedTabs :: line 6353" data: yes]

First one comes when firefox is started, the other two come every time I open History menu.

As said, the problem seems to be the blank homepage because when I set it to something else, the history starts working as well. So the question is why do some extensions reset firefox's homepage in Ubuntu. It doesn't happen in Firefox installed from tarball (everything works as expected there).

FWIW, tested Firefox version was 2.0.0.6+1-0ubuntu1 for i386 (but it happened in 2.0.0.3 as well) in Kubuntu Feisty.