UNPKG

@kcjpop/x-browser-compat

Version:

A Web Component to display browser compatibility data

1 lines 3.28 kB
{"mdn_url":"https://developer.mozilla.org/docs/Web/API/Navigator/vibrate","source_file":"api/Navigator.json","spec_url":"https://w3c.github.io/vibration/#dom-navigator-vibrate","status":{"deprecated":false,"experimental":false,"standard_track":true},"support":{"chrome":{"version_added":"32"},"chrome_android":{"notes":["Beginning in Chrome 55, this is not supported in cross-origin iframes.","Beginning in Chrome 60, this method requires a user gesture. Otherwise it returns <code>false</code>."],"version_added":"32"},"edge":{"version_added":"79"},"firefox":[{"notes":["Until Firefox 26 included, when the vibration pattern was too long or any of its elements too large, Firefox threw an exception instead of returning <code>false</code> (<a href='https://bugzil.la/884935'>bug 884935</a>).","From Firefox 32 onwards, when the vibration pattern is too long or any of its elements too large, it returns <code>true</code> but truncates the pattern (<a href='https://bugzil.la/1014581'>bug 1014581</a>).","Beginning in Firefox 72, this is not supported in cross-origin iframes."],"version_added":"16"},{"prefix":"moz","version_added":"11","version_removed":"16"}],"firefox_android":[{"notes":"Vibration is disabled. If the window is visible, then <code>navigator.vibrate()</code> returns <code>true</code>, but no vibration takes place (regardless of hardware support). Originally, the intent was to disable it for cross-origin frames only (<a href='https://bugzil.la/1591113'>bug 1591113</a>), but the feature was not re-enabled due to abuse concerns (<a href='https://bugzil.la/1653318'>bug 1653318</a>).","partial_implementation":true,"version_added":"79"},{"notes":["Until Firefox 26 included, when the vibration pattern was too long or any of its elements too large, Firefox threw an exception instead of returning <code>false</code> (<a href='https://bugzil.la/884935'>bug 884935</a>).","From Firefox 32 onwards, when the vibration pattern is too long or any of its elements too large, it returns <code>true</code> but truncates the pattern (<a href='https://bugzil.la/1014581'>bug 1014581</a>)."],"version_added":"16","version_removed":"79"},{"prefix":"moz","version_added":"14","version_removed":"16"}],"ie":{"version_added":false},"oculus":{"notes":["Beginning in Chrome 55, this is not supported in cross-origin iframes.","Beginning in Chrome 60, this method requires a user gesture. Otherwise it returns <code>false</code>."],"version_added":"5.0"},"opera":{"version_added":"19"},"opera_android":{"notes":["Beginning in Opera 42, this is not supported in cross-origin iframes.","Beginning in Opera 47, this method requires a user gesture. Otherwise it returns <code>false</code>."],"version_added":"19"},"safari":{"version_added":false},"safari_ios":{"version_added":false},"samsunginternet_android":{"notes":["Beginning in Samsung Internet 6.0, this is not supported in cross-origin iframes.","Beginning in Samsung Internet 8.0, this method requires a user gesture. Otherwise it returns <code>false</code>."],"version_added":"2.0"},"webview_android":{"notes":["Beginning in version 55, this is not supported in cross-origin iframes.","Beginning in version 60, this method requires a user gesture. Otherwise it returns <code>false</code>."],"version_added":"4.4.3"}}}