Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/resources/feature-policy-vibrate-disabled.html |
| diff --git a/third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/resources/feature-policy-vibrate-disabled.html b/third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/resources/feature-policy-vibrate-disabled.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f5ac2d0a46a6a76a3c823c750223410e9d07dbeb |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/resources/feature-policy-vibrate-disabled.html |
| @@ -0,0 +1,11 @@ |
| +<!DOCTYPE html> |
| +<title>Feature-Policy Vibrate Disabled</title> |
|
iclelland
2016/11/18 04:46:48
<title> should go inside of the <head> element
lunalu1
2016/11/23 00:25:03
Done.
|
| +<head> |
| + <script src="/resources/testharness.js"></script> |
| + <script src="/resources/testharnessreport.js"></script> |
| +</head> |
| +<script> |
| + test(function() { |
| + assert_false(navigator.vibrate(200)); |
| + }. 'No iframe may call navigator.vibrate when disabled.'); |
| +</script> |