[Webkit-unassigned] [Bug 17099] Add Mozilla tests for postMessage, fix bugs they reveal

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 31 22:47:25 PST 2008


------- Comment #2 from sam at webkit.org  2008-01-31 22:47 PDT -------
(In reply to comment #1)
> This test http://virtuelvis.com/download/2005/12/crossdocument/sender.html also
> doesn't work.

I believe this doesn't work because it is using the following
  var receiver = document.getElementsByTagName("iframe")[0].contentDocument;

The issue is that it is using contentDocument instead of contentWindow. 
postMessage is a function of the window, not the document.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list