Closed
Bug 1241498
Opened 9 years ago
Closed 5 years ago
The documentation for Window.postMessage(msg, targetDomain); is unclear if partial domain strings are allowed
Categories
(Developer Documentation Graveyard :: API: Miscellaneous, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: stephen.cunliffe, Unassigned)
References
()
Details
:: Developer Documentation Request
Request Type: Correction
Gecko Version: Trunk
Technical Contact:
:: Details
Working on enterprise web applications when integrating with a 3rd party we need to make use of Window.postMessage() to enable a 3rd party partner rendering content in an iframe to tell the parent window (our window) that it should do something via a message.
Due to the way that large applications are hosted often times the *exact* domain being used may not be known.
e.g. the parent window could be on "https://cdn7.megacorp.com/" and the child iframe on "https://pool3.example.com/" where the subdomain is a variable on BOTH ends of the communication.
It isn't clear if "megacorp.com" is a valid partial domain to post a message to where any subdomain server under "megacorp.com" can receive the messages... or is "*.megacorp.com" a valid option?
As a follow up, if setting a partial domain is NOT a valid option, I'd love to know where to submit a bug to for the actual API spec, since this is a very likely scenario in any enterprise situation.
Comment 1•5 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•