DeviceMotionEvent acceleration and rotationRate are null since r253357.
<rdar://problem/60720953>
Created attachment 395093 [details] Patch
Comment on attachment 395093 [details] Patch Optional seems OK. For floating point sometimes we use NaN instead as we would use null for a pointer or string.
(In reply to Darin Adler from comment #3) > Comment on attachment 395093 [details] > Patch > > Optional seems OK. For floating point sometimes we use NaN instead as we > would use null for a pointer or string. I personally really prefer Optional<double> than using special values like NaN. Makes the function declaration super clear.
Committed r259315: <https://trac.webkit.org/changeset/259315> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395093 [details].
*** Bug 210261 has been marked as a duplicate of this bug. ***