#38409 closed defect (bug) (fixed)
Customize: Failed to execute 'postMessage' on 'DOMWindow'
Reported by: | feedmymedia | Owned by: | westonruter |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | Customize | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
Guys, I'm receiving this message in my console when I try to use Customizer:
customize-base.js?ver=4.7-alpha-38178-src:753
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://tests.mamp') does not match the recipient window's origin ('http://tests.mamp:8888').
As you can see, I'm running a localhost with a specific port. I can change the port for this test if this issue happens only for me.
I downloaded from the master branch few minutes ago: git://develop.git.wordpress.org/
Thank you! And sorry if this issue is not appropriated here.
Attachments (4)
Change History (22)
#1
@
8 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 4.7
- Owner set to westonruter
- Status changed from new to accepted
This ticket was mentioned in Slack in #core-customize by westonruter. View the logs.
8 years ago
#5
follow-up:
↓ 6
@
8 years ago
- Keywords needs-testing added
@feedmymedia @mh-themes would you please give 38409.1.diff a try?
#6
in reply to:
↑ 5
@
8 years ago
@westonruter it's working perfect now: postMessage and XWP new feature (Additional CSS). Thank you!
Replying to westonruter:
@feedmymedia @mh-themes would you please give 38409.1.diff a try?
#7
@
8 years ago
@westonruter Has this been committed to trunk yet? We've tested the changes but for us the issue still remains, but maybe it's a mistake on our end. We'll test again as soon as it's committed to trunk and report back.
This ticket was mentioned in Slack in #core-customize by westonruter. View the logs.
8 years ago
#10
@
8 years ago
@MH-Themes No, it wasn't committed yet. I was providing a patch to test with. But it is now committed in r38890.
#11
@
8 years ago
@westonruter Thanks a lot, just tested the latest version in trunk and the issue is fixed.
#15
@
8 years ago
Found another "fun" bug related to this in IE11 for https
sites: the :443
port also gets spuriously added, causing the postMessage
bridge to fail.
Patch incoming, can move this to a new issue if needed, but this is where the work for port 80 was already done.
Originally reported at https://github.com/xwp/wordpress-develop/issues/178