Skip to content

Commit

Permalink
[o] (2) Clarify that postMessage() is synchronous.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@991 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 9, 2007
1 parent c679052 commit f654beb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -32208,6 +32208,12 @@ Target: #image1
that is the <a href="#active">active document</a> of the <code><a
href="#window">Window</a></code> object on which the method was invoked.

<p>The <code title=dom-window-postMessage><a
href="#postmessage">postMessage()</a></code> method must only return once
the event dispatch has been completely processed by the target document
(i.e. all three of the capture, target, and bubble phases have been done,
and event listeners have been executed as appropriate).

<p class=warning>Authors should check the <code
title=dom-MessageEvent-domain><a href="#domain2">domain</a></code>
attribute to ensure that messages are only accepted from domains that they
Expand Down
6 changes: 6 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -29650,6 +29650,12 @@ Target: #image1
object that is the <span>active document</span> of the
<code>Window</code> object on which the method was invoked.</p>

<p>The <code title="dom-window-postMessage">postMessage()</code>
method must only return once the event dispatch has been completely
processed by the target document (i.e. all three of the capture,
target, and bubble phases have been done, and event listeners have
been executed as appropriate).</p>

<p class="warning">Authors should check the <code
title="dom-MessageEvent-domain">domain</code> attribute to ensure
that messages are only accepted from domains that they expect to
Expand Down

0 comments on commit f654beb

Please sign in to comment.