Bug 253526
| Summary: | Remove window.orientation on Safari desktop | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | cdumez |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | macOS 13 | ||
Karl Dubost
Currently on Safari 16.4 on macOS 13.3
`window.orientation` returns `0`.
while Firefox and Chrome returns `undefined`
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Karl Dubost
> 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
*** This bug has been marked as a duplicate of bug 253435 ***