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