btw: This isn't a big deal, as JSInterop can easily do it:
import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public interface NavigatorVibrate {
@JsMethod
boolean vibrate(double milliseconds);
@JsMethod
boolean vibrate(double[] pattern);
}
NavigatorVibrate nav = Js.cast(DomGlobal.navigator);
Just found it odd that this one thing (maybe others too?) is missing.