WebKit / standards-positions

WebKit's positions on emerging web specifications
https://webkit.org/standards-positions/
241 stars 18 forks source link

Vibration API (Second Edition) #267

Closed MrBrain295 closed 8 months ago

MrBrain295 commented 9 months ago

WebKittens

No response

Title of the spec

Vibration API (Second Edition)

URL to the spec

https://w3c.github.io/vibration/

URL to the spec's repository

https://github.com/w3c/vibration/

Issue Tracker URL

https://github.com/w3c/vibration/issues

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

https://github.com/mozilla/standards-positions/issues/907

WebKit Bugzilla URL

No response

Radar URL

No response

Description

In their words "The API is specifically designed to address use cases that require simple tactile feedback only. Use cases requiring more fine-grained control are out of scope for this specification. This API is not meant to be used as a generic notification mechanism. Such use cases may be handled using the Notifications API [NOTIFICATIONS] specification. In addition, determining whether vibration is enabled is out of scope for this specification."

marcoscaceres commented 9 months ago

I think the problem with the API is exactly the one described by API itself, in that it's too simple:

So it's not clear what the use case for this API is for or how it benefits users in a meaningful way.

marcoscaceres commented 8 months ago

Discussed with colleagues internally and they also pointed out that it wouldn't even be possible to support this API on Apple's native platforms (concern: integration).

Taking what I already wrote above, and unless anyone from the WebKit community objects, we will be labeling this as "opposed" within a week or so.

MrBrain295 commented 8 months ago

@marcoscaceres could you please add the oppose label? Thanks!