WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
271099
Remove non-standard `DeviceOrientationEvent.initDeviceOrientationEvent`
https://bugs.webkit.org/show_bug.cgi?id=271099
Summary
Remove non-standard `DeviceOrientationEvent.initDeviceOrientationEvent`
Ahmad Saleem
Reported
2024-03-15 18:21:20 PDT
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
Comment 1
2024-03-22 18:22:13 PDT
<
rdar://problem/125272387
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug