Index: third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-vibrate-disabled.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-vibrate-disabled.html b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-vibrate-disabled.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4fdb34be1e232066d531027e2fb7569a5ef815df |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-vibrate-disabled.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<head> |
+ <title>Feature-Policy Vibrate Disabled</title> |
+ <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> |