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

RESOLVED WORKSFORME

Status

()

Toolkit
Application Update
RESOLVED WORKSFORME
5 years ago
3 years ago

People

(Reporter: jgriffin, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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.
(Reporter)

Updated

5 years ago
Blocks: 913281
(Reporter)

Comment 1

5 years ago
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?
(Reporter)

Comment 3

5 years ago
From the manifest it looks like it also fails on Android.
(Reporter)

Comment 4

5 years ago
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
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.