javascript - Does postMessage's origin include www? -
if postmessage
used website uses www
, included in origin?
for example, if postmessage sent http://www.example.com
, origin example . com
or www . example . com
?
similarly, if wanted send postmessage http:// www . example . com
, send http:// example . com
or http:// www . example. com
?
yes, origin consists of whole scheme , authority, containing complete host name , port. include www
domain part.
Comments
Post a Comment