Bug 271099
Summary: | Remove non-standard `DeviceOrientationEvent.initDeviceOrientationEvent` | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | annevk, cdumez, marcosc, rakuco, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=271891 |
Ahmad Saleem
Hi Team,
Similar to bug 271098 (in this Blink commit is referrenced, which removed it as part of other init* in 2017), it is not in Web Specification anymore.
Web Spec: https://w3c.github.io/deviceorientation/#deviceorientation
WebKit Source: https://searchfox.org/wubkat/rev/e6b945d8d215583ba34dffcc8f93a0c1c2662c0b/Source/WebCore/dom/DeviceOrientationEvent.idl#51
I think we might have to also expose `absolute` to iOS and I am not sure why we are restricting it to non-iOS platform (Privacy?).
Also not sure about these two (for iOS Compass app?):
[ImplementedAs=compassHeading] readonly attribute unrestricted double? webkitCompassHeading;
[ImplementedAs=compassAccuracy] readonly attribute unrestricted double? webkitCompassAccuracy;
__
Just wanted to raise so we can fix and align on web-spec at least on this removal part for other `absolute` etc., good to get opinion but will be good to fix them separately.
CCing @Anne - for his input.
Thanks!
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/125272387>