W3C home > Mailing lists > Public > public-device-apis@w3.org > October 2013

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

From: <Frederick.Hirsch@nokia.com>
Date: Fri, 11 Oct 2013 15:56:04 +0000
To: <public-device-apis@w3.org>
CC: <Frederick.Hirsch@nokia.com>
Message-ID: <6E259207-5F18-4294-AAC8-08F490B40400@nokia.com>
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.
</div>
]]

regards, Frederick

Frederick Hirsch
Nokia

For Tracker, this should complete ACTION-667
Received on Friday, 11 October 2013 16:05:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:33:01 UTC