Closed Bug 917575 Opened 11 years ago Closed 9 years ago

test_0010_timermanager.js: "Component returned failure code: 0x80570018 (NS_ERROR_XPC_BAD_IID) [nsIJSCID.getService]"

Categories

(Toolkit :: Application Update, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jgriffin, Unassigned)

References

Details

On mozilla-b2g18, the xpcshell test test_0010_timermanager.js is failing on B2G with:

TEST-UNEXPECTED-FAIL | xpcshell/head.js | [Exception... "Component returned failure code: 0x80570018 (NS_ERROR_XPC_BAD_IID) [nsIJSCID.getService]"  nsresult: "0x80570018 (NS_ERROR_XPC_BAD_IID)"  location: "JS frame :: test_0010_timermanager.js :: run_test :: line 128"  data: no]

This isn't appearing on TBPL due to a bug which is masking xpcshell failures (see bug 913281 and bug 912909).  It will be disabled so we can fix the harness problem.
Blocks: 913281
test disabled on opt B2G builds (was already disabled for debug):  https://hg.mozilla.org/releases/mozilla-b2g18/rev/6b8a7556ab2e
Any idea as to why it is failing only on b2g?
From the manifest it looks like it also fails on Android.
The stack trace shows it failing at:

 getService(Ci.nsIUpdateTimerManager).

Is nsIUpdateTimerManager even implemented for B2G?
It is a fairly simple js component and it is definitely in use on android. The code essentially just wraps nsITimer so it is possible to fire timers across sessions.
(In reply to Jonathan Griffin (:jgriffin) from comment #1)
> test disabled on opt B2G builds (was already disabled for debug): 
> https://hg.mozilla.org/releases/mozilla-b2g18/rev/6b8a7556ab2e

https://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/6b8a7556ab2e
Since this bug was opened test_0010_timermanager.js has been renamed to consumerNotification.js and on mozilla-central it is enabled and it is passing on both B2G ICS Emulator Opt and B2G ICS Emulator Debug.

Resolving -> WFM
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.