Baseline Widely DOM API

api.Window.postMessage

Granular MDN Browser Compat Data support history across 14 tracked browsers.

Specification Area
DOM API
Standard track
First Core Launch
Firefox 3
2008-06-17
Core-3 Stability
356d
Last: Safari (2009-06-08)
Baseline Feature
Widely
postMessage

Browser Support Timeline

Opera v9.5 (2008-06-12) Firefox v3 (2008-06-17) Chrome v2 (2009-05-21) Safari v4 (2009-06-08) Safari on iOS v3.2 (2010-04-03) WebView on iOS v3.2 (2010-04-03) Opera Android v10.1 (2010-11-09) Firefox for Android v4 (2011-03-29) Chrome Android v18 (2012-06-27) Internet Explorer v10 (2012-10-26) Samsung Browser v1.0 (2013-04-27) WebView Android v4.4 (2013-12-09) Edge v12 (2015-07-29) Quest Browser v5.0 (2018-07-01)
Green dot marks the first browser release (2008-06-12); blue dots show subsequent browser launches (+3671d total span).
Notes (6)Firefox: Firefox 8 and up supports sending File and FileList objects between windows. This is only allowed if the recipient's principal is contained within the sender's principal for security reasons.Firefox: Before Firefox 6, the message parameter must be a string. Since Firefox 6, the message parameter is serialized using the structured clone algorithm. This means you can pass a broad variety of data objects safely to the destination window without having to serialize them yourself.FF And: Firefox for Android 8 and up supports sending File and FileList objects between windows. This is only allowed if the recipient's principal is contained within the sender's principal for security reasons.FF And: Before Firefox for Android 6, the message parameter must be a string. Since Firefox for Android 6, the message parameter is serialized using the structured clone algorithm. This means you can pass a broad variety of data objects safely to the destination window without having to serialize them yourself.IE: IE10 had an important limitation: see this article for details.IE: Support only for <frame> and <iframe>.

Full Browser Compatibility Table

BrowserTypeVersionRelease DateStatus / Caveats
Chrome desktop 2 2009-05-21 Supported
Firefox desktop 3 2008-06-17 Supported
Safari desktop 4 2009-06-08 Supported
Edge desktop 12 2015-07-29 Supported
Chrome Android mobile 18 2012-06-27 Supported
Firefox for Android mobile 4 2011-03-29 Supported
Safari on iOS mobile 3.2 2010-04-03 Supported
WebView Android mobile 4.4 2013-12-09 Supported
WebView on iOS mobile 3.2 2010-04-03 Supported
Samsung Browser mobile 1.0 2013-04-27 Supported
Opera desktop 9.5 2008-06-12 Supported
Opera Android mobile 10.1 2010-11-09 Supported
Deno server — — —
Node.js server — — —
Bun server — — —
Quest Browser xr 5.0 2018-07-01 Supported
Internet Explorer desktop 10 2012-10-26 Supported