Bug 253526

Summary: Remove window.orientation on Safari desktop
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cdumez
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: macOS 13   

Karl Dubost
Reported 2023-03-07 12:53:55 PST
Currently on Safari 16.4 on macOS 13.3 `window.orientation` returns `0`. while Firefox and Chrome returns `undefined`
Attachments
Karl Dubost
Comment 1 2023-03-07 12:55:32 PST
> User agents implementing the window.orientation attribute and its associated orientationchange event must not expose them on non-Mobile platforms. > — https://compat.spec.whatwg.org/#windoworientation-interface
Chris Dumez
Comment 2 2023-03-07 13:22:51 PST
*** This bug has been marked as a duplicate of bug 253435 ***
Note You need to log in before you can comment on or make changes to this bug.