Bug 271098
Summary: | Remove non-standard `DeviceMotionEvent.initDeviceMotionEvent` | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | DOM | Assignee: | Ahmad Saleem <ahmad.saleem792> |
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,
While comparing HTML Spec with IDL files in WebKit, I noticed that following is not in web specification:
Web Spec: https://w3c.github.io/deviceorientation/#device-motion-event-api
WebKit Source: https://searchfox.org/wubkat/rev/e6b945d8d215583ba34dffcc8f93a0c1c2662c0b/Source/WebCore/dom/DeviceMotionEvent.idl
___
Note - Blink does not have this but Gecko does.
Also Blink removed it in following (2017): https://chromium.googlesource.com/chromium/src.git/+/0921e8319f228e406019b434701ac9f181ee8ea1
They also removed `DeviceOrientationEvent.initDeviceOrientationEvent` for which I will create separate bug to make it easier to revert if needed and manage stuff.
CCing @Anne - for his input.
Thanks!
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
PR - https://github.com/WebKit/WebKit/pull/26001
Radar WebKit Bug Importer
<rdar://problem/125271931>