Closed
Bug 477613
Opened 16 years ago
Closed 14 years ago
xpcshell unittest: test_extensionmanager throws exception while installing addons
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
People
(Reporter: jmaher, Unassigned)
Details
(Whiteboard: [AOMTestday])
this might be a factor of the extensions we are installing, but throwing an exception is not a clean way to handle this. There are two test cases which produce this exception:
test_428341.js
test_299716.js
The exception we get is:
Exception installing add-on test_bug428341_2 [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///home/mozilla/mozilla/mobile_debug/xulrunner/dist/bin/components/nsExtensionManager.js :: anonymous :: line 267" data: no]
Reporter | ||
Comment 1•16 years ago
|
||
moving to toolkit/addonmanager as this is specific to a couple tests:
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/test/unit/test_bug299716.js
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/test/unit/test_bug428341.js
Component: General → Add-ons Manager
Product: Fennec → Toolkit
QA Contact: general → add-ons.manager
Comment 2•16 years ago
|
||
The problem here is that at the point you are running the tests (presumably a plain XULRunner build without fennec or anything?) there is no application branding defined. As it stands some of the tests will likely only pass if the surrounding application is present in some way, not sure whether that needs to change or not though.
Comment 3•14 years ago
|
||
This is fixed in the new extension manager
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 4•14 years ago
|
||
These tests do no exist anymore in mozilla-central. Just marking as verified fixed based on the prior check-in.
Status: RESOLVED → VERIFIED
Flags: in-testsuite-
Flags: in-litmus-
Whiteboard: [AOMTestday]
You need to log in
before you can comment on or make changes to this bug.
Description
•