UNPKG

@kcjpop/x-browser-compat

Version:

A Web Component to display browser compatibility data

1 lines 2.5 kB
{"mdn_url":"https://developer.mozilla.org/docs/Web/API/Window/prompt","source_file":"api/Window.json","spec_url":"https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-prompt-dev","status":{"deprecated":false,"experimental":false,"standard_track":true},"support":{"chrome":{"notes":"Starting with Chrome 46, this method is blocked inside an <code>&lt;iframe&gt;</code> unless its sandbox attribute has the value <code>allow-modals</code>.","version_added":"1"},"chrome_android":{"notes":"Starting with Chrome 46, this method is blocked inside an <code>&lt;iframe&gt;</code> unless its sandbox attribute has the value <code>allow-modals</code>.","version_added":"18"},"deno":{"version_added":"1.5"},"edge":{"version_added":"12"},"firefox":{"notes":"Firefox strips newline characters from the prompt response; see <a href='https://bugzil.la/1716229'>bug 1716229</a>.","version_added":"1"},"firefox_android":{"notes":"Firefox strips newline characters from the prompt response; see <a href='https://bugzil.la/1716229'>bug 1716229</a>.","version_added":"4"},"ie":{"notes":"This function has no effect in the Modern UI/Metro version of Internet Explorer for Windows 8. It does not display a prompt to the user, and always returns <code>undefined</code>. It is not clear whether this is a bug or intended behavior. Desktop versions of IE do implement this function.","version_added":"4"},"oculus":{"notes":"Starting with Chrome 46, this method is blocked inside an <code>&lt;iframe&gt;</code> unless its sandbox attribute has the value <code>allow-modals</code>.","version_added":"5.0"},"opera":{"notes":"Starting with Opera 33, this method is blocked inside an <code>&lt;iframe&gt;</code> unless its sandbox attribute has the value <code>allow-modals</code>.","version_added":"3"},"opera_android":{"notes":"Starting with Opera 33, this method is blocked inside an <code>&lt;iframe&gt;</code> unless its sandbox attribute has the value <code>allow-modals</code>.","version_added":"10.1"},"safari":{"version_added":"1"},"safari_ios":{"version_added":"1"},"samsunginternet_android":{"notes":"Starting with Samsung Internet 5.0, this method is blocked inside an <code>&lt;iframe&gt;</code> unless its sandbox attribute has the value <code>allow-modals</code>.","version_added":"1.0"},"webview_android":{"notes":"Starting with Chrome 46, this method is blocked inside an <code>&lt;iframe&gt;</code> unless its sandbox attribute has the value <code>allow-modals</code>.","version_added":"4.4"}}}