| Index: third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-vibrate-enabled.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-vibrate-enabled.html b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-vibrate-enabled.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..81d57692cb5f314a039e16df4052865a942c0faa
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-vibrate-enabled.html
|
| @@ -0,0 +1,11 @@
|
| +<!DOCTYPE html>
|
| +<head>
|
| + <title>Feature-Policy Vibrate Enabled</title>
|
| + <script src="/resources/testharness.js"></script>
|
| + <script src="/resources/testharnessreport.js"></script>
|
| +</head>
|
| +<script>
|
| + test(function() {
|
| + assert_true(navigator.vibrate(200));
|
| + }, 'Any iframe may call navigator.vibrate when enabled.');
|
| +</script>
|
|
|