W3C home > Mailing lists > Public > public-device-apis@w3.org > June 2014

[Vibration] Proposed update and next steps

From: <frederick.hirsch@nokia.com>
Date: Thu, 5 Jun 2014 14:10:00 +0000
To: <public-device-apis@w3.org>
CC: <frederick.hirsch@nokia.com>
Message-ID: <53318D70-6616-4CF7-A2B8-BA5397245DF6@nokia.com>
We’ve had some discussion on the list regarding the Vibration API and alignment of implementations.

The only item of concern at this point appears to be step #5 [1]:

“5. If the length of pattern is even and is not zero, then remove the last entry in pattern."

Anssi provided an example to highlight the issue, as well as a pointer to chromium code [2]

To reiterate, if the pattern is even, then the last item is a pause, which should have no effect since there is no vibrate time following. In addition, as Mounir points out, a subsequent API invocation will cancel the previous one so the pause should have no effect. it is generally agreed that this step is not testable.

Thus I propose the following change:

[[

Remove step 5.

In its place add a Note “Note: if the length of the pattern is even and not zero then the last entry in the pattern will have no effect so an implementation can remove it from the pattern.”

]]

I suggest we stay away from RFC normative language for step 5 (e.g. MAY) given the testability concern.

Given we are changing normative language, I suggest we have another Last Call (currently Vibration is in LC), and publish this along with the other LC specifications (after a CfC)

Am I missing any other implementation alignment concerns?

Please comment on list, otherwise can the editors go ahead and update the editors draft so we can see this in place (along with an update to the status section)?

Thanks

regards, Frederick

Frederick Hirsch, Nokia
@fjhirsch

[1] http://dev.w3.org/2009/dap/vibration/#vibration-interface

[2] http://lists.w3.org/Archives/Public/public-device-apis/2014Jun/0006.html
Received on Thursday, 5 June 2014 14:10:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:03 UTC