UNPKG

@kcjpop/x-browser-compat

Version:

A Web Component to display browser compatibility data

1 lines 2.38 kB
{"mdn_url":"https://developer.mozilla.org/docs/Web/API/Window/postMessage","source_file":"api/Window.json","spec_url":"https://html.spec.whatwg.org/multipage/web-messaging.html#dom-window-postmessage-options-dev","status":{"deprecated":false,"experimental":false,"standard_track":true},"support":{"chrome":{"version_added":"2"},"chrome_android":{"version_added":"18"},"edge":{"version_added":"12"},"firefox":{"notes":["Firefox 8 and up supports sending <code>File</code> and <code>FileList</code> objects between windows. This is only allowed if the recipient's principal is contained within the sender's principal for security reasons.","Before Firefox 6, the <code>message</code> parameter must be a string. Since Firefox 6, the <code>message</code> parameter is serialized using the <a href='https://developer.mozilla.org/docs/Web/API/Web_Workers_API/Structured_clone_algorithm'>structured clone algorithm</a>. This means you can pass a broad variety of data objects safely to the destination window without having to serialize them yourself."],"version_added":"3"},"firefox_android":{"notes":["Firefox 8 and up supports sending <code>File</code> and <code>FileList</code> objects between windows. This is only allowed if the recipient's principal is contained within the sender's principal for security reasons.","Before Firefox 6, the <code>message</code> parameter must be a string. Since Firefox 6, the <code>message</code> parameter is serialized using the <a href='https://developer.mozilla.org/docs/Web/API/Web_Workers_API/Structured_clone_algorithm'>structured clone algorithm</a>. This means you can pass a broad variety of data objects safely to the destination window without having to serialize them yourself."],"version_added":"4"},"ie":[{"notes":"IE10 had an important limitation: see this <a href='https://stackoverflow.com/questions/16226924/is-cross-origin-postmessage-broken-in-ie10'>article</a> for details.","version_added":"10"},{"notes":"Support only for <code>&lt;frame&gt;</code> and <code>&lt;iframe&gt;</code>.","partial_implementation":true,"version_added":"8","version_removed":"10"}],"oculus":{"version_added":"5.0"},"opera":{"version_added":"9.5"},"opera_android":{"version_added":"10.1"},"safari":{"version_added":"4"},"safari_ios":{"version_added":"3.2"},"samsunginternet_android":{"version_added":"1.0"},"webview_android":{"version_added":"≤37"}}}