W3C home > Mailing lists > Public > public-device-apis@w3.org > December 2012

Proximity Events Feedback

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 7 Dec 2012 11:39:42 +0100
Message-ID: <CADnb78hLPekTxfeLL_vm1R6Lxfx5ORiY_HMoNRUi+Sy44O0vZA@mail.gmail.com>
To: public-device-apis@w3.org

I would kindly suggest you reorder the requirement for queueing with
the requirement for firing. E.g. "The user agent must queue a task to
fire a device proximity event." (and then remove the requirement for
queueing from the firing steps). This matches phraseology in other
specifications better and allows for reuse of the firing definition in
other contexts.

You defined "ondeviceproximity" and "onuserproximity" twice. This
seems to be because of the legacy-DOM-style formatting.

Do not use RFC 2119 terms in notes, such as "may".

If your device is not doing anything, e.g. completely stationary,
these sensors would theoretically not change and you would never be
able to get the actual state. That might be a mostly academic problem,
but this seems like another set of events that violate the spirit of
DOM Events. Kinda ambivalent on whether that's good or bad, but I
think it at least ought to be pointed out more clearly. And perhaps we
ought to define this more explicitly by having some kind of hook in

Kind regards,

Received on Friday, 7 December 2012 10:40:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:47 UTC