[vibration] proposed Note text for pattern truncation, ISSUE-149

On yesterday's teleconference we agreed to the following related to ISSUE-149:

RESOLUTION: Adopt proposal as in http://lists.w3.org/Archives/Public/public-device-apis/2013Oct/0012.html, adding Note that implementation may break into multiple pieces if list too long , potential concern if best effort does not meet application expectations

I agreed to draft text for a Note related to pattern truncation. I propose the following Note (to be associated with step 3 in the adopted proposal):

<div class='note'>
If the length of a pattern is greater than max length an implementation of this API could consider breaking the request effectively into multiple shorter requests internally to achieve the same effect, rather than ignoring what follows the max length.
There are cases, however, where it is appropriate to ignore the pattern exceeding the max length. An example is if the length is so long that it would effectively create a denial of service attack on the user.  A web application might also make multiple requests if it is known to the application that the length is too long for some implementations and a possible gap in between patterns is acceptable.

regards, Frederick

Frederick Hirsch

For Tracker, this should complete ACTION-667

Received on Friday, 11 October 2013 16:05:47 UTC