Bug 1292751 (gyrophone)

Sampling frequency of DeviceMotionEvent is not capped

NEW
Unassigned

Status

()

Core
DOM: Device Interfaces
P3
normal
2 years ago
5 months ago

People

(Reporter: francois, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
Created attachment 8778520 [details]
Copy of the full paper

According to the linked paper, Firefox is the only Android browser which allows full 200 Hz sampling of the gyroscope via the DeviceMotionEvent which can lead to using the gyroscope like a microphone.

The spec suggests limitting the frequency of events to 60 Hz:

https://w3c.github.io/deviceorientation/spec-source-orientation.html#security-and-privacy

but we should probably do the same as Chrome (25 Hz cap) or Opera (20 Hz cap).

Updated

2 years ago
Priority: -- → P3
(Reporter)

Updated

a year ago
See Also: → bug 1357733
You need to log in before you can comment on or make changes to this bug.