atom feed12 messages in org.webkit.lists.webkit-devRe: [webkit-dev] Adding the Vibration...
FromSent OnAttachments
권기홍Nov 10, 2011 5:57 am 
Adam BarthNov 10, 2011 9:02 am 
Simon FraserNov 10, 2011 2:37 pm 
Hajime MorritaJan 29, 2012 11:14 pm 
권기홍Jan 31, 2012 4:50 am 
Simon FraserJan 31, 2012 10:00 am 
Wonsuk LeeJan 31, 2012 11:01 am 
Robin BerjonJan 31, 2012 11:55 am 
Soo-Hyun ChoiFeb 1, 2012 2:02 am 
Robin BerjonFeb 1, 2012 8:01 am 
Soo-Hyun ChoiFeb 1, 2012 10:11 am 
Soo-Hyun ChoiFeb 8, 2012 4:08 am 
Subject:Re: [webkit-dev] Adding the Vibration API to WebCore
From:권기홍 (
Date:Jan 31, 2012 4:50:23 am


I wrote my opinion about Adam and Simon's comments.

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.

Thanks for your comments Adam. I guess users can take care of security issues by themselves. As you know, the
vibration API works under the page visibility, in which the vibration should not
work when the page is set to hidden. Therefore, the mentioned battery issue, I
think, is not significant in terms of security in this regard.

For game pads that have vibration feedback, there's obviously a tie-in with the joystick API here: <>

Thanks for your comments Simon. I can see your point. However, while they can be tied-in each other, the current
specs are not related between them. Perhaps, I envisage the next version of the
vibration API might include the GamePad vibration feature, though I still think
that the current vibration API and the GamePad API are sufficiently meaningful
to be implemented in WebKit.

Thank you morrita. Kihong

------- Original Message ------- Sender : Hajime Morrita<> Date : 2012-01-30 16:14 (GMT+09:00) Title : Re: [webkit-dev] Adding the Vibration API to WebCore


The first patch for this feature is almost ready: But I found that there is not so positive atmosphere here.

Considering the feature is small and isolated enough and This API can be taken as a sort of Cookie for LocalStorage in the context of Gamepad API comparison, I personally feel that this change is OK to land.

Please let this thread know if there are any concern or objection, otherwise I'll r+ this in this week. Also, if the author of original proposal has any discussion around the points that Adam and Simon raised, it would be helpful to drop it here for supporting this to happen.


On Fri, Nov 11, 2011 at 7:37 AM, Simon Fraser wrote:

On Nov 10, 2011, at 5:57 AM, 권기홍 wrote:

Hi webkit-dev.

I want to let you know that I plan to add the Vibration API to WebKit. ( This support will be behind the ENABLE_VIBRATION feature define. see :

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.

For game pads that have vibration feedback, there's obviously a tie-in with the
joystick API here: