Before this commit, the error service bound its listeners onto window. This may create pollution when executing more than one test instanciating an error_service After this commit, we bind the handlers onto browser, which is fully in our control in tests.