[Webkit-unassigned] [Bug 39589] Add LayoutTestController methods to test DeviceOrientation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 27 07:46:21 PDT 2010


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





--- Comment #18 from Satish Sampath <satish at chromium.org>  2010-07-27 07:46:21 PST ---
Looks like WebDeviceOrientationClient is used only decide whether to use the real Webcore client or a mock client. To handle the Webcore client methods startUpdating() etc, you'd need to add more methods to WebDeviceOrientationClient or define a new interface which needs to be implemented by the WebKit embedder.

To simplify things, how about making DRT set a flag in WebKit to create mock objects instead of real ones? That way the embedder doesn't need to know the implementation (real or mock) of these objects. Access to the mock objects can be via an exported/public interface in WebKit and layoutTestController could call WebView after initialization to get a struct filled with all the mock object pointers.

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