Closed Bug 1924685 Opened 1 month ago Closed 1 month ago

window.navigator.vibrate is not a function

Categories

(Core :: DOM: Core & HTML, defect)

Firefox 131
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: galadrielmap, Unassigned)

References

(Regression)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0

Steps to reproduce:

Run window.navigator.vibrate in Developer Tools Console:

window.navigator.vibrate(500);

Actual results:

Uncaught TypeError: window.navigator.vibrate is not a function

Expected results:

As describe in https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate :
"If the device doesn't support vibration, this method has no effect."

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Component: Widget: Gtk → Layout

Seems like it was intentionally removed in bug 1900037

Component: Layout → DOM: Core & HTML
Keywords: regression
Regressed by: 1900037

:saschanaz, since you are the author of the regressor, bug 1900037, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(krosylight)

WONTFIX, we don't support this API.

Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Flags: needinfo?(krosylight)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.