Open Bug 1180714 Opened 5 years ago Updated 4 years ago

MockObjectRegisterer does not replace XPCOM interfaces


(Testing :: Mochitest, defect, P5)



(firefox42 affected)

Tracking Status
firefox42 --- affected


(Reporter: jaws, Unassigned)



Follow-up from bug 1175293. In that bug, the MockObjectRegisterer was not successfully replacing the original ShellService with the test's MockShellService.

Gijs said,
> I expect this has to do with the shell service first being created before the
> mock is registered, but I'm not sure. UITour is probably hard to xpcshell-test
> (where you could avoid that), though.
Component: Tours → Mochitest
Product: Firefox → Testing
P5 because this doesn't really affect users.
Priority: -- → P5
See bug 1189038 for an alternate approach to fixing this bug that doesn't use MockObjectRegisterer
You need to log in before you can comment on or make changes to this bug.