{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.Window.postMessage",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.Window.postMessage",
    "cat": "api",
    "mdn": "API/Window/postMessage",
    "spec": "https://html.spec.whatwg.org/multipage/web-messaging.html#dom-window-postmessage-options-dev",
    "st": 1,
    "wf": "postmessage",
    "bl": "high",
    "bld": 16645,
    "s": {
      "chrome": {
        "v": "2",
        "d": 14385
      },
      "firefox": {
        "v": "3",
        "d": 14047
      },
      "safari": {
        "v": "4",
        "d": 14403
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "firefox_android": {
        "v": "4",
        "d": 15062
      },
      "safari_ios": {
        "v": "3.2",
        "d": 14702
      },
      "webview_android": {
        "v": "4.4",
        "d": 16048
      },
      "webview_ios": {
        "v": "3.2",
        "d": 14702
      },
      "samsunginternet_android": {
        "v": "1.0",
        "d": 15822
      },
      "opera": {
        "v": "9.5",
        "d": 14042
      },
      "opera_android": {
        "v": "10.1",
        "d": 14922
      },
      "oculus": {
        "v": "5.0",
        "d": 17713
      },
      "ie": {
        "v": "10",
        "d": 15639
      }
    },
    "notes": [
      {
        "t": "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.",
        "b": [
          "firefox"
        ]
      },
      {
        "t": "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.",
        "b": [
          "firefox"
        ]
      },
      {
        "t": "Firefox for Android 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.",
        "b": [
          "firefox_android"
        ]
      },
      {
        "t": "Before Firefox for Android 6, the <code>message</code> parameter must be a string. Since Firefox for Android 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.",
        "b": [
          "firefox_android"
        ]
      },
      {
        "t": "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.",
        "b": [
          "ie"
        ]
      },
      {
        "t": "Support only for <code>&lt;frame&gt;</code> and <code>&lt;iframe&gt;</code>.",
        "b": [
          "ie"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "postmessage",
    "name": "postMessage",
    "description": "The postMessage() global method sends cross-origin messages to windows and workers, including popups and iframes. Also known as cross-document messaging.",
    "group": "messaging",
    "groupName": "Messaging",
    "spec": "https://html.spec.whatwg.org/multipage/web-messaging.html#web-messaging",
    "baseline": "high",
    "baselineLowDate": "2015-07-29",
    "baselineLowDay": 16645,
    "baselineHighDate": "2018-01-29",
    "compatCount": 13,
    "cats": [
      "api"
    ],
    "compatKeysSample": [
      "api.DedicatedWorkerGlobalScope.message_event",
      "api.DedicatedWorkerGlobalScope.postMessage",
      "api.MessageEvent",
      "api.MessageEvent.MessageEvent",
      "api.MessageEvent.data",
      "api.MessageEvent.lastEventId",
      "api.MessageEvent.origin",
      "api.MessageEvent.source",
      "api.Window.message_event",
      "api.Window.postMessage",
      "api.Window.postMessage.transfer_parameter",
      "api.Worker.message_event",
      "api.Worker.postMessage"
    ],
    "s": {
      "chrome": {
        "v": "2",
        "d": 14385
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "firefox": {
        "v": "3",
        "d": 14047
      },
      "firefox_android": {
        "v": "4",
        "d": 15062
      },
      "safari": {
        "v": "4",
        "d": 14403
      },
      "safari_ios": {
        "v": "3.2",
        "d": 14702
      }
    }
  }
}