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)

defect
Not set
normal

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]
Component: General → Add-ons Manager
Product: Fennec → Toolkit
QA Contact: general → add-ons.manager
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.
This is fixed in the new extension manager
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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.