WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
93089
window.parent.postMessage not working
https://bugs.webkit.org/show_bug.cgi?id=93089
Summary
window.parent.postMessage not working
Alon
Reported
2012-08-03 04:45:19 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-08-03 09:47:25 PDT
Perhaps targetOrigin doesn't match? Do you have a test case where we could see this in action?
Alon
Comment 2
2012-08-03 14:05:47 PDT
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't happens on Chrome on Windows (or even canary for mac) Thanks, A.
Alexey Proskuryakov
Comment 3
2012-08-06 10:03:39 PDT
Tested with Safari 6 and the latest nightly from <
http://nightly.webkit.org
>, and cannot reproduce.
> This error doesn't happens on Chrome on Windows (or even canary for mac)
So you'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.
Karl Dubost
Comment 4
2023-04-06 01:39:54 PDT
Probably configuration Changed here. The script is not available anymore. So it's hard to know if there is (still) a bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug