Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90461 - Firefox: unable to install new themes, javascript errors
Summary: Firefox: unable to install new themes, javascript errors
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 00:00 UTC by Ryan Lynch
Modified: 2005-04-28 07:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Lynch 2005-04-26 00:00:19 UTC
When installing firefox themes from the firefox website, firefox tries to treat the jar as a file to download instead of running the javascript to install it.  In the JavaScript Console I see the following errors.

Error: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.create]"  nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: file:///usr/lib/MozillaFirefox/components/nsExtensionManager.js :: getDirInternal :: line 141"  data: no]
Source File: file:///usr/lib/MozillaFirefox/components/nsExtensionManager.js
Line: 141

Error: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.create]"  nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: file:///usr/lib/MozillaFirefox/components/nsExtensionManager.js :: getDirInternal :: line 141"  data: no]
Source File: file:///usr/lib/MozillaFirefox/components/nsExtensionManager.js
Line: 141

Error: install is not defined

Error: dialog has no properties

Error: dialog has no properties

Error: dialog has no properties

If I try to install a theme as root, the first and last errors go away and I'm left with the "install is not defined" error.  This error is reproduceable on firefox 1.0.2 and 1.0.3.

Reproducible: Always
Steps to Reproduce:
1. Go to https://addons.update.mozilla.org/themes/?application={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
2. Try to install a firefox theme
3.
Comment 1 Ryan Lynch 2005-04-26 00:02:38 UTC
Just to save some questions, I do have JavaScript enabled.
Comment 2 Amirreza Amini 2005-04-27 13:33:30 UTC
I've also tried to insall themes in this version of firefox and I'm getting the exact same error that the reporter of the bug is getting (and is reproducable).
Comment 3 Ryan Lynch 2005-04-28 07:46:20 UTC
This problem turned out to lie in the firefox webpage and not in firefox itself, resloved invalid, sorry for the inconvenience.