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   

Description Karl Dubost 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`
Comment 1 Karl Dubost 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
Comment 2 Chris Dumez 2023-03-07 13:22:51 PST

*** This bug has been marked as a duplicate of bug 253435 ***