Mocks only the methods, not the whole geolocation object. Works now on Firefox.

Mocks only the methods, not the whole geolocation object. Works now on Firefox.