Fix and switch Vibration API to the new Mojo JS bindings

This patch fixes bugs in the Vibration API LayoutTests and switches them
to using the new Mojo JS bindings.

Bug: 699569
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
Change-Id: I3fb19ddc3bb2415dec0f2f047aba68d98cb1e4d5
Reviewed-on: https://chromium-review.googlesource.com/584022
Reviewed-by: Michael van Ouwerkerk <mvanouwerkerk@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489751}
14 files changed