<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>93089</bug_id>
          
          <creation_ts>2012-08-03 04:45:19 -0700</creation_ts>
          <short_desc>window.parent.postMessage not working</short_desc>
          <delta_ts>2023-04-06 01:39:54 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore JavaScript</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alon">alon.nativ</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>karlcow</cc>
    
    <cc>windrakerltd</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>686571</commentid>
    <comment_count>0</comment_count>
    <who name="Alon">alon.nativ</who>
    <bug_when>2012-08-03 04:45:19 -0700</bug_when>
    <thetext>When there is an iFrame window.parent.postMessage not working
Unable to post message to https://www.google.com. Recipient has origin http://***

It happens on the latest version of chrome (only on mac 21.0.1180.57</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>686851</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-08-03 09:47:25 -0700</bug_when>
    <thetext>Perhaps targetOrigin doesn&apos;t match?

Do you have a test case where we could see this in action?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>687125</commentid>
    <comment_count>2</comment_count>
    <who name="Alon">alon.nativ</who>
    <bug_when>2012-08-03 14:05:47 -0700</bug_when>
    <thetext>Here is a case:
1. go to http://instore-script.bestmat.ch/launcher/bestbuy
2. copy the script to the clipboard
3. go to http://www.bestbuy.com/site/index.jsp
4. open chrome console and paste the script (from #1)

You will see an error:
Unable to post message to https://www.google.com. Recipient has origin http://www.bestbuy.com.

This error doesn&apos;t happens on Chrome on Windows (or even canary for mac)

Thanks,
A.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>688231</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-08-06 10:03:39 -0700</bug_when>
    <thetext>Tested with Safari 6 and the latest nightly from &lt;http://nightly.webkit.org&gt;, and cannot reproduce.

&gt; This error doesn&apos;t happens on Chrome on Windows (or even canary for mac)

So you&apos;re saying that this happens in stable Chrome, but not in canary? That would mean that the bug is fixed as fat as the WebKit project is concerned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1946969</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-04-06 01:39:54 -0700</bug_when>
    <thetext>Probably configuration Changed here. 
The script is not available anymore. 
So it&apos;s hard to know if there is (still) a bug</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>