[webkit-dev] Adding the Vibration API to WebCore

Adam Barth abarth at webkit.org
Thu Nov 10 09:02:55 PST 2011


On Thu, Nov 10, 2011 at 5:57 AM, 권기홍 <kihong.kwon at samsung.com> wrote:
> Hi webkit-dev.
>
> I want to let you know that I plan to add the Vibration API to WebKit.
> (http://dev.w3.org/2009/dap/vibration/)
> This support will be behind the ENABLE_VIBRATION feature define.
> see : https://bugs.webkit.org/show_bug.cgi?id=72010
>
> Spec is not mature because it's recently added.
> But Mozila is already implemented this.
>
> I'm going to support this until finishing both the spec and patch.
> If you have any comment, please let me know.
>
> Thank you

One minor comment: you might want to add a security consideration to
the spec about spam issues.  An unfriendly web site might spam the
vibration API and deplete the user's battery.

Adam


More information about the webkit-dev mailing list