[Webkit-unassigned] [Bug 272589] New: device orientation: Consider implementing Automation section from the spec (i.e. WebDriver support)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 12 09:05:57 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=272589
Bug ID: 272589
Summary: device orientation: Consider implementing Automation
section from the spec (i.e. WebDriver support)
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rakuco at webkit.org
See https://w3c.github.io/deviceorientation/#automation, which covers some WebDriver endpoints that are helpful for providing fake readings useful for testing the API. We currently use in web-platform-tests, as this is the only way to make sure that this API is reporting the right events in a predictable way that does not depend on actual hardware.
To be clear, https://w3c.github.io/deviceorientation/#automation relates to https://w3c.github.io/sensors/#automation since both specs use similar automation concepts and sensors, but special care has been taken to avoid making the Device Orientation spec depend on the Generic Sensors one and on definitions from other sections of the latter.
WPT's test_driver already has support for it in https://web-platform-tests.org/writing-tests/testdriver.html#sensors
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240412/2e1182bd/attachment.htm>
More information about the webkit-unassigned
mailing list