Bug 256994

Summary: [macOS] Expose DeviceMotionEvent / DeviceOrientationEvent on the global Window object
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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>