From dd4ed63a16006d2427f8b1f1fe60f0dcf8e90009 Mon Sep 17 00:00:00 2001 From: Luke Bjerring Date: Thu, 31 May 2018 19:25:55 +0000 Subject: [PATCH] Bug 1465923 [wpt PR 9838] - Update the vibration IDL file, a=testonly Automatic update from web-platform-testsUpdate the vibration IDL file (#9838) -- wpt-commits: badf1722b0794e9982324465b8fd65308abcc7f6 wpt-pr: 9838 --- testing/web-platform/meta/MANIFEST.json | 9 +++++++++ testing/web-platform/tests/interfaces/vibration.idl | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 testing/web-platform/tests/interfaces/vibration.idl diff --git a/testing/web-platform/meta/MANIFEST.json b/testing/web-platform/meta/MANIFEST.json index c899a750037d..2d32d3d403a0 100644 --- a/testing/web-platform/meta/MANIFEST.json +++ b/testing/web-platform/meta/MANIFEST.json @@ -291262,6 +291262,11 @@ {} ] ], + "interfaces/vibration.idl": [ + [ + {} + ] + ], "interfaces/wake-lock.idl": [ [ {} @@ -586373,6 +586378,10 @@ "416ee65b3ba9e438a3178c6c04a414f42d759fc8", "support" ], + "interfaces/vibration.idl": [ + "d1f3f51b0c6a46958d4bb3e9cc8bbc85e8a74512", + "support" + ], "interfaces/wake-lock.idl": [ "7d0ee3d60a923bf454e18f9116cded1cc3a16f9b", "support" diff --git a/testing/web-platform/tests/interfaces/vibration.idl b/testing/web-platform/tests/interfaces/vibration.idl new file mode 100644 index 000000000000..58b34bb58472 --- /dev/null +++ b/testing/web-platform/tests/interfaces/vibration.idl @@ -0,0 +1,9 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content of this file was automatically extracted from the Vibration API spec. +// See https://w3c.github.io/vibration/ + +typedef (unsigned long or sequence) VibratePattern; + +partial interface Navigator { + boolean vibrate (VibratePattern pattern); +};