[Webkit-unassigned] [Bug 88657] [WK2] Missing API to check whether WebKitTestRunner is being used

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 21 14:11:15 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=88657





--- Comment #6 from Benjamin Poulain <benjamin at webkit.org>  2012-09-21 14:11:44 PST ---
> The reason is to do something similar to what it's done in WK1, where you need to  know when WebKit is running for its normal use case or when it's running for serving the DumpRenderTree, since the kind of geolocation provider that must use is different.
> 
> In the former case, the normal geolocation provider (e.g. Geoclue based) will be used, but for layout tests we need a special kind of geolocation provider (the mock provider) which allows us also to specify the position, so we can later check that the actual and expected results are the same.
> 
> As you can see in the patch for bug 59201, this new API is used in WebPage.cpp precisely to know when we will use the normal geolocation provider or the mock provider, so that's the reason of this API.

This is not how you are supposed to do those tests.

Even if we had to change a client, that should be done through the injected bundle.

-- 
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