Closed Bug 313141 Opened 19 years ago Closed 19 years ago

Extensions.js looks for "Get more" url and can't find it

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tom.germeau, Assigned: robert.strong.bugs)

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8b5) Gecko/20051006 Firefox/1.4.1

 Err[JavaScript Error: "uncaught exception: [Exception... "Component returned fa
ilure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getComplexValue]"  n
sresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://moz
apps/content/extensions/extensions.js :: Startup :: line 158"  data: no]"]

Reproducible: Always
Confirming.

The two prefs are extensions.getMoreExtensionsURL and extensions.getMoreThemesURL. Extensions window probably just should hide the link if it can't read the prefs.

See also bug 294342.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: XULRunner → Extension/Theme Manager
Product: Toolkit → Firefox
QA Contact: xulrunner → extension.manager
Why does this fail? Those prefs are defined in the default firefox pref file. Since you reference bug 294342, I assume you're trying to use the EM with those prefs missing? More details in the description would be useful :). (There really needs to be a toolkit component for this!)
Attached patch patchSplinter Review
Hi Mike, this is needed mainly for XULRunner apps and it just hides the Get More label if the pref doesn't exist. I also moved the Find Updates button since the resizer prevents it from aligning right. Distinguishing between the buttons that only apply to a selected item vs. buttons that apply to all items (e.g. Find Updates) will be done when the ui is rewritten.
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #208923 - Flags: review?(mconnor)
I forgot to mention that I ran the ui change by beltzner and he was fine with it
Attachment #208923 - Flags: review?(mconnor) → review+
Fixed on trunk
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Attachment #208923 - Flags: approval1.8.1?
Attachment #208923 - Flags: approval1.8.1? → approval1.8.1+
Fixed on MOZILLA_1_8_BRANCH
Keywords: fixed1.8.1
Robert, I'm getting

ExtensionManager:_finishOperations - failure, catching exception - lineno: 1576 - file: undefined - [Exception... "Component returned failure code: 0x80570019 (NS_ERROR_XPC_CANT_CREATE_WN) [nsIJSCID.getService]"  nsresult: "0x80570019 (NS_ERROR_XPC_CANT_CREATE_WN)"  location: "JS frame :: file:///C:/Programmas/Firefox/ff30trunk/firefox/components/nsExtensionManager.js :: anonymous :: line 1576"  data: no]

using

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060125 Firefox/1.6a1 ID:2006012512
(In reply to comment #7)
> Robert, I'm getting
> 
> ExtensionManager:_finishOperations - failure, catching exception - lineno: 1576
> - file: undefined - [Exception... "Component returned failure code: 0x80570019
> (NS_ERROR_XPC_CANT_CREATE_WN) [nsIJSCID.getService]"  nsresult: "0x80570019
> (NS_ERROR_XPC_CANT_CREATE_WN)"  location: "JS frame ::
> file:///C:/Programmas/Firefox/ff30trunk/firefox/components/nsExtensionManager.js
> :: anonymous :: line 1576"  data: no]
I highly doubt and see no way that this has anything to do with this bug. Try a build before this landed to see if it is actually related to this patch.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060125 Firefox/1.6a1 ID:2006012512
Further, all extensions seem to have the default jigsaw piece for their icon, and some extensions are playing up (DOM Inspector & Talkback are in an internal state of '..will be installed next time you restart firefox', tabmixplus isn't working at all, et al)
(In reply to comment #8)

> I highly doubt and see no way that this has anything to do with this bug. Try a
> build before this landed to see if it is actually related to this patch.
> 

You're right, this started earlier
no message in the 20060124 1118pst build
the message in the 20060124 1442pst build

i filed Bug 324715 for it


Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: