Bug 845549 - Expose an helper to ease testing console output in tests:
sdk/test/loader.LoaderWithHookedConsole