[Webkit-unassigned] [Bug 72010] Support for Vibration API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 19 18:05:39 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=72010
MORITA Hajime <morrita at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #127696|review?, commit-queue? |review-, commit-queue-
Flag| |
--- Comment #51 from MORITA Hajime <morrita at google.com> 2012-02-19 18:05:37 PST ---
(From update of attachment 127696)
View in context: https://bugs.webkit.org/attachment.cgi?id=127696&action=review
Considering that the API is now dynamically configurable,
I think it's OK to enable this for at least one port. (It would be EFL.)
It will greatly help this code being part of the tree greenness.
> Source/WebCore/Modules/vibration/NavigatorVibration.cpp:57
> + Vibration::from(navigator->frame()->page())->vibrate(time);
Please don't rely on the fact that the Vibrator object being provided and check the NULL case.
That will allow us to ENABLE this safely without providing the Vibrator object from the API layer, and make it easy to keep this option ENABLE-d.
> Source/WebCore/Modules/vibration/NavigatorVibration.cpp:75
> + Vibration::from(navigator->frame()->page())->vibrate(pattern);
Ditto.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list