Opened 11 years ago
Closed 11 years ago
#20892 closed defect (bug) (fixed)
Customizer: Separate message url from preview url in customizer JS Previewer and PreviewFrame objects
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.4 | Priority: | high |
Severity: | blocker | Version: | 3.4 |
Component: | Customize | Keywords: | commit |
Focuses: | Cc: |
Description
Currently, the message url and preview url are cobbled together inside the previewer — this worked when we did not have robust PreviewFrame objects. However, now that we have first class preview objects, we need to properly distinguish between the url the messages are sent over (the control url, because we're using dynamically created iframes), and the URL of the preview request.
Without this, cross-domain requests are failing based on origin mismatches, which is bad. Patch coming soon.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Looks good.