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