Bug 253526 - Remove window.orientation on Safari desktop
Summary: Remove window.orientation on Safari desktop
Status: RESOLVED DUPLICATE of bug 253435
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-07 12:53 PST by Karl Dubost
Modified: 2023-03-07 13:22 PST (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 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 ***