Currently on Safari 16.4 on macOS 13.3 `window.orientation` returns `0`. while Firefox and Chrome returns `undefined`
> 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
*** This bug has been marked as a duplicate of bug 253435 ***