From 5744d59188e9efc89e48a5ccbaf42ecafd6faa15 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Fri, 13 Nov 2020 13:33:08 +0000 Subject: Issue #1682 - Remove vibrator DOM interface and support code. --- testing/web-platform/tests/vibration/OWNERS | 3 - .../tests/vibration/api-is-present.html | 27 -------- .../tests/vibration/cancel-when-hidden-manual.html | 38 ----------- .../tests/vibration/cancel-with-0-manual.html | 31 --------- .../vibration/cancel-with-array-0-manual.html | 33 --------- .../vibration/cancel-with-empty-array-manual.html | 31 --------- .../tests/vibration/cancel-with-new-manual.html | 32 --------- testing/web-platform/tests/vibration/idl.html | 23 ------- .../tests/vibration/invalid-values.html | 79 ---------------------- .../vibration/pattern-array-extra-manual.html | 27 -------- .../tests/vibration/pattern-array-manual.html | 26 ------- .../vibration/pattern-array-with-0-manual.html | 26 ------- .../tests/vibration/silent-ignore.html | 31 --------- .../tests/vibration/simple-array-manual.html | 23 ------- .../tests/vibration/simple-scalar-manual.html | 25 ------- 15 files changed, 455 deletions(-) delete mode 100644 testing/web-platform/tests/vibration/OWNERS delete mode 100644 testing/web-platform/tests/vibration/api-is-present.html delete mode 100644 testing/web-platform/tests/vibration/cancel-when-hidden-manual.html delete mode 100644 testing/web-platform/tests/vibration/cancel-with-0-manual.html delete mode 100644 testing/web-platform/tests/vibration/cancel-with-array-0-manual.html delete mode 100644 testing/web-platform/tests/vibration/cancel-with-empty-array-manual.html delete mode 100644 testing/web-platform/tests/vibration/cancel-with-new-manual.html delete mode 100644 testing/web-platform/tests/vibration/idl.html delete mode 100644 testing/web-platform/tests/vibration/invalid-values.html delete mode 100644 testing/web-platform/tests/vibration/pattern-array-extra-manual.html delete mode 100644 testing/web-platform/tests/vibration/pattern-array-manual.html delete mode 100644 testing/web-platform/tests/vibration/pattern-array-with-0-manual.html delete mode 100644 testing/web-platform/tests/vibration/silent-ignore.html delete mode 100644 testing/web-platform/tests/vibration/simple-array-manual.html delete mode 100644 testing/web-platform/tests/vibration/simple-scalar-manual.html (limited to 'testing/web-platform/tests/vibration') diff --git a/testing/web-platform/tests/vibration/OWNERS b/testing/web-platform/tests/vibration/OWNERS deleted file mode 100644 index 4020ed82e..000000000 --- a/testing/web-platform/tests/vibration/OWNERS +++ /dev/null @@ -1,3 +0,0 @@ -@dontcallmedom -@zqzhang -@xinliux diff --git a/testing/web-platform/tests/vibration/api-is-present.html b/testing/web-platform/tests/vibration/api-is-present.html deleted file mode 100644 index f5c976dff..000000000 --- a/testing/web-platform/tests/vibration/api-is-present.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Vibration API: test that the vibrate() method is present (with or without vendor prefix) - - - - - - -

Description

-

- This test checks for the presence of the vibrate() method, taking - vendor prefixes into account. -

-
- - - - - - diff --git a/testing/web-platform/tests/vibration/cancel-when-hidden-manual.html b/testing/web-platform/tests/vibration/cancel-when-hidden-manual.html deleted file mode 100644 index 569970758..000000000 --- a/testing/web-platform/tests/vibration/cancel-when-hidden-manual.html +++ /dev/null @@ -1,38 +0,0 @@ - - -Vibration API: cancel ongoing vibrate() when hidden by switching tab/window - - - - - - -

Description

-

- 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. -

- - - - diff --git a/testing/web-platform/tests/vibration/cancel-with-0-manual.html b/testing/web-platform/tests/vibration/cancel-with-0-manual.html deleted file mode 100644 index 6890d5764..000000000 --- a/testing/web-platform/tests/vibration/cancel-with-0-manual.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - Vibration API: cancel ongoing vibrate() with 0 - - - - - - -

Description

-

- 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. -

- - - - - 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 @@ - - -Vibration API: cancel ongoing vibrate() with [0] - - - - - - -

Description

-

- 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. -

- - - - diff --git a/testing/web-platform/tests/vibration/cancel-with-empty-array-manual.html b/testing/web-platform/tests/vibration/cancel-with-empty-array-manual.html deleted file mode 100644 index 9d4be2b3a..000000000 --- a/testing/web-platform/tests/vibration/cancel-with-empty-array-manual.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - Vibration API: cancel ongoing vibrate() with [] - - - - - - -

Description

-

- 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. -

- - - - - diff --git a/testing/web-platform/tests/vibration/cancel-with-new-manual.html b/testing/web-platform/tests/vibration/cancel-with-new-manual.html deleted file mode 100644 index 1cd9daf17..000000000 --- a/testing/web-platform/tests/vibration/cancel-with-new-manual.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Vibration API: cancel ongoing vibrate() with a new call to vibrate - - - - - - -

Description

-

- After hitting the button below, your device must vibrate continuously for a short period of time (roughly one - second), then vibrate a series of short bursts. If the initial continuously vibration is longer (roughly five - seconds, it should feel somewhat long) or if there is no series of short vibration bursts then the test has - failed. -

- - - - - diff --git a/testing/web-platform/tests/vibration/idl.html b/testing/web-platform/tests/vibration/idl.html deleted file mode 100644 index 167090cd6..000000000 --- a/testing/web-platform/tests/vibration/idl.html +++ /dev/null @@ -1,23 +0,0 @@ - - -IDL harness tests for Vibration API - -

Description

-

- This test validates the IDL defined by the Vibration API. -

-

- This test uses idlharness.js -

-
- - - - - diff --git a/testing/web-platform/tests/vibration/invalid-values.html b/testing/web-platform/tests/vibration/invalid-values.html deleted file mode 100644 index a544ac23c..000000000 --- a/testing/web-platform/tests/vibration/invalid-values.html +++ /dev/null @@ -1,79 +0,0 @@ - - -Vibration API: vibrate(invalid) - - - -

Description

-

- This test checks the vibrate() method with invalid parameter, - taking vendor prefixes into account. -

-
- - - - - diff --git a/testing/web-platform/tests/vibration/pattern-array-extra-manual.html b/testing/web-platform/tests/vibration/pattern-array-extra-manual.html deleted file mode 100644 index 3f5ccf386..000000000 --- a/testing/web-platform/tests/vibration/pattern-array-extra-manual.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Vibration API: test a pattern array parameter to vibrate() with an extra (even) item - - - - - - -

Description

-

- After hitting the button below, your device must vibrate three times for one second, separated - by one second intervals. -

- - - - - diff --git a/testing/web-platform/tests/vibration/pattern-array-manual.html b/testing/web-platform/tests/vibration/pattern-array-manual.html deleted file mode 100644 index 43674bf8c..000000000 --- a/testing/web-platform/tests/vibration/pattern-array-manual.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Vibration API: test a pattern array parameter to vibrate() - - - - - -

Description

-

- After hitting the button below, your device must vibrate three times for one second, separated - by one second intervals. -

- - - - - diff --git a/testing/web-platform/tests/vibration/pattern-array-with-0-manual.html b/testing/web-platform/tests/vibration/pattern-array-with-0-manual.html deleted file mode 100644 index dff2f1ed7..000000000 --- a/testing/web-platform/tests/vibration/pattern-array-with-0-manual.html +++ /dev/null @@ -1,26 +0,0 @@ - - -Vibration API: test a pattern array with 0ms vibration and still to vibrate() - - - - - -

Description

-

- After hitting the button below, your device must vibrate continuously for about two seconds, once. -

- -
- - - diff --git a/testing/web-platform/tests/vibration/silent-ignore.html b/testing/web-platform/tests/vibration/silent-ignore.html deleted file mode 100644 index c7447df51..000000000 --- a/testing/web-platform/tests/vibration/silent-ignore.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - Vibration API: test that calls to vibrate() are silently ignored when the device cannot vibrate - - - - - - -

Description

-

- This test is only useful on devices that do not have vibration capability. - If your device supports vibration, then skip this test. An implementation - supporting this API but running on a device that cannot vibrate must silently ignore the - call (we test that it doesn't throw). -

-
- - - - - - diff --git a/testing/web-platform/tests/vibration/simple-array-manual.html b/testing/web-platform/tests/vibration/simple-array-manual.html deleted file mode 100644 index 4a85bd6ad..000000000 --- a/testing/web-platform/tests/vibration/simple-array-manual.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Vibration API: test a simple array parameter to vibrate() - - - - -

Description

-

- After hitting the button below, your device must vibrate continuously for about two seconds, once. -

- -
- - - - diff --git a/testing/web-platform/tests/vibration/simple-scalar-manual.html b/testing/web-platform/tests/vibration/simple-scalar-manual.html deleted file mode 100644 index 0c7637bba..000000000 --- a/testing/web-platform/tests/vibration/simple-scalar-manual.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Vibration API: test a simple scalar parameter to vibrate() - - - - - -

Description

-

- After hitting the button below, your device must vibrate continuously for about two seconds, once. -

- - - - - -- cgit v1.2.3