diff --git a/source b/source index b99a3a21c71..c6005bb1f76 100644 --- a/source +++ b/source @@ -78098,11 +78098,18 @@ interface Window : Eve void cancelAnimationFrame(unsigned long handle); void postMessage(any message, USVString targetOrigin, optional sequence<object> transfer = []); + void postMessage(any message, optional sequence<object> transfer = [], optional WindowPostMessageOptions options); }; Window includes GlobalEventHandlers; Window includes WindowEventHandlers; -callback FrameRequestCallback = void (DOMHighResTimeStamp time); +callback FrameRequestCallback = void (DOMHighResTimeStamp time); + +dictionary WindowPostMessageOptions +{ + USVString targetOrigin = "/"; +}; + @@ -95433,6 +95451,8 @@ function receiver(e) { window, in same-origin cases. See discussion at https://github.com/whatwg/html/issues/1542#issuecomment-233502636 --> +
  • Let targetOrigin be options's targetOrigin.

  • +
  • If targetOrigin is a single U+002F SOLIDUS character (/), then set targetOrigin to incumbentSettings's origin.