diff options
author | Moonchild <moonchild@palemoon.org> | 2020-11-13 13:33:08 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-11-13 13:33:08 +0000 |
commit | 13f505539c5c0deff72cc1c007eaa9be1979d294 (patch) | |
tree | b115bf7f8c8933412282687146cd4f55118c4806 /testing/web-platform/tests/vibration/cancel-with-array-0-manual.html | |
parent | 5262e01a4e56b8727fba5710320ccc74918f1300 (diff) | |
download | UXP-13f505539c5c0deff72cc1c007eaa9be1979d294.tar UXP-13f505539c5c0deff72cc1c007eaa9be1979d294.tar.gz UXP-13f505539c5c0deff72cc1c007eaa9be1979d294.tar.lz UXP-13f505539c5c0deff72cc1c007eaa9be1979d294.tar.xz UXP-13f505539c5c0deff72cc1c007eaa9be1979d294.zip |
Issue #1682 - Remove vibrator DOM interface and support code.
Resolves #1682
Diffstat (limited to 'testing/web-platform/tests/vibration/cancel-with-array-0-manual.html')
-rw-r--r-- | testing/web-platform/tests/vibration/cancel-with-array-0-manual.html | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/testing/web-platform/tests/vibration/cancel-with-array-0-manual.html b/testing/web-platform/tests/vibration/cancel-with-array-0-manual.html deleted file mode 100644 index 60689cc2c..000000000 --- a/testing/web-platform/tests/vibration/cancel-with-array-0-manual.html +++ /dev/null @@ -1,33 +0,0 @@ -<!DOCTYPE html> -<meta charset='utf-8'> -<title>Vibration API: cancel ongoing vibrate() with [0]</title> -<link rel='author' title='Intel' href='http://www.intel.com'> -<link rel='help' href='http://dev.w3.org/2009/dap/vibration/#vibration-interface'> -<meta name='flags' content='interact'> -<meta name='assert' content='If pattern contains a single entry with a value of 0, cancel the pre-existing instance of the processing vibration patterns algorithm'> -<style> - button { - height: 100px; - width: 100px; - } -</style> - -<h1>Description</h1> -<p> - After hitting the button below, your device must vibrate for a short period of time (roughly one - second). If it vibrates for a longer time (roughly five seconds, it should feel somewhat long) then - the test has failed. -</p> -<button id='vib'>Vibrate!</button> -<script src='/common/vendor-prefix.js' data-prefixed-objects='[{"ancestors":["navigator"], "name":"vibrate"}]'></script> -<script> - if (undefined !== navigator.vibrate) { - document.getElementById('vib').onclick = function () { - navigator.vibrate(5000); - setTimeout(function () { - navigator.vibrate([0]); - }, 1000); - }; - } -</script> - |