[whatwg] postMessage's target origin argument can be a full URL in some implementations

Boris Zbarsky bzbarsky at MIT.EDU
Thu Jul 15 05:24:03 PDT 2010


On 7/15/10 8:13 AM, Simon Pieters wrote:
> Do you think the special value "/" is a good enough replacement for
> location.href as the targetOrigin to remove the ability to pass in a
> path in Gecko?

I don't know.  It's good enough for me on technical grounds; I can't 
speak to compat issues or existing levels of deployment, since I haven't 
been following that part of things.  I've only dealt with postMessage as 
an API consumer, not an implementor...

-Boris



More information about the whatwg mailing list