Vibration API doesn't work
Categories
(Fenix :: Browser Engine, defect, P3)
Tracking
(Not tracked)
People
(Reporter: csadilek, Unassigned)
References
Details
From github: https://github.com/mozilla-mobile/fenix/issues/2371.
Steps to reproduce
- visit https://www.audero.it/demo/vibration-api-demo.html
- click any of the buttons (vibrate once, vibrate trice)
Expected behavior
Fenix shows a permission prompt to use the API and if granted the device will vibrate.
Actual behavior
Nothing happens.
Device information
- Android device: 7.1.1
- Fenix version: 1.0.1919
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 2•2 years ago
|
||
According to https://developer.mozilla.org/en-US/docs/Web/API/Vibration_API, this is disabled intentionally due to abuse concerns.
https://bugzilla.mozilla.org/show_bug.cgi?id=1653318 and https://bugzilla.mozilla.org/show_bug.cgi?id=1591113 are referenced.
A permission-based approach, like we have on other features for websites ( notably autoplay) might work if we ever decide to fix this.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
I think we can resolve this bug as a duplicate of navigator.vibrate()
bug 1653318.
Description
•