| Index: modules/vibration/NavigatorVibration.idl
|
| diff --git a/modules/vibration/NavigatorVibration.idl b/modules/vibration/NavigatorVibration.idl
|
| index 8519266592b563604865226afc1a45167913f082..3307c6a77c1c750ada7c16b131cbaa0863dc68d4 100644
|
| --- a/modules/vibration/NavigatorVibration.idl
|
| +++ b/modules/vibration/NavigatorVibration.idl
|
| @@ -18,9 +18,11 @@
|
| */
|
|
|
| [
|
| - EnabledAtRuntime=Vibration
|
| + RuntimeEnabled=Vibration
|
| ] partial interface Navigator {
|
| + // FIXME: The contents of the pattern argument should be clamped.
|
| + // See https://code.google.com/p/chromium/issues/detail?id=310138
|
| boolean vibrate(sequence<unsigned long> pattern);
|
| - boolean vibrate(unsigned long time);
|
| + boolean vibrate([Clamp] unsigned long time);
|
| };
|
|
|
|
|