<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION: MessageEvent.source for bound postMessage() is wrong for same-origin iframe"
   href="https://bugs.webkit.org/show_bug.cgi?id=163412#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION: MessageEvent.source for bound postMessage() is wrong for same-origin iframe"
   href="https://bugs.webkit.org/show_bug.cgi?id=163412">bug 163412</a>
              from <span class="vcard"><a class="email" href="mailto:dbates&#64;webkit.org" title="Daniel Bates &lt;dbates&#64;webkit.org&gt;"> <span class="fn">Daniel Bates</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=297469" name="attach_297469" title="Example">attachment 297469</a> <a href="attachment.cgi?id=297469&amp;action=edit" title="Example">[details]</a></span>
Example

Attached page that demonstrates this issue. Running the example in Safari version Version 10.0 (12602.1.50.0.10) I see &quot;Got message from A: hello&quot;. In Chrome for Mac version 56.0.2924.28 beta (64-bit) and Firefox for Mac version 49.0.1 I see &quot;Got message from B: hello&quot;. The expected result should be the latter, &quot;Got message from B: hello&quot;.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>