[Webkit-unassigned] [Bug 39081] [chromium] Adds supports for layout tests using GeolocationServiceMock
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 18 03:34:51 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=39081
--- Comment #6 from Steve Block <steveblock at google.com> 2010-05-18 03:34:51 PST ---
(From update of attachment 56071)
> so yes, it's just an intermediary proxy that sits between Geolocation and the embedder. it's all boiler plate code to adapt
> what the embedder expects to what the mock provides, and to inject in a Geolocation object.
OK, got it, thanks
WebKit/chromium/src/WebGeolocationServiceMock.cpp:124
+ void WebGeolocationServiceMock::useGeolocationServiceMock()
Do you need this method? The existing GeolocationServiceMock simply calls GeolocationService::useMock() from setPosition() and setError(). Could we do similarly and call setCustomMockFactory() from setMockGeolocationPosition() and setMockGeolocationError()? Is the additional call to GeolocationService::useMock() required?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list