Bug 256994 - [macOS] Expose DeviceMotionEvent / DeviceOrientationEvent on the global Window object
Summary: [macOS] Expose DeviceMotionEvent / DeviceOrientationEvent on the global Windo...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-18 15:59 PDT by Chris Dumez
Modified: 2023-05-19 13:29 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-05-18 15:59:32 PDT
Expose DeviceMotionEvent / DeviceOrientationEvent on the global Window object on macOS. Historically, we've only exposed the event types on iOS since we only fire those events on iOS. However, Chrome and Firefox expose those event types on desktop even though they don't fire them. Exposing the event types doesn't hurt so align with other browsers.
Comment 1 Chris Dumez 2023-05-18 16:01:14 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14043
Comment 2 EWS 2023-05-19 13:28:02 PDT
Committed 264271@main (2746089d71f2): <https://commits.webkit.org/264271@main>

Reviewed commits have been landed. Closing PR #14043 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-05-19 13:29:28 PDT
<rdar://problem/109580299>