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

Hallvord R M Steen hallvors at gmail.com
Wed Aug 11 16:49:36 PDT 2010

2010/8/11 Boris Zbarsky <bzbarsky at mit.edu>:
> On 8/10/10 9:11 PM, Ian Hickson wrote:
>> Specifically, this means the magic "/" string is no longer supported
> Why?  That seemed like a useful feature, and not something likely to break
> anyone out there....
> In particular, it allows use cases that are not possible right now (e.g.
> reasonable postMessage from an about:blank page to a page that has the same
> origin as the about:blank page).

I stated somewhere that reverting the path validation stuff should
include removing the magic '/' feature, given this use case it was
probably better to keep '/'.

Hallvord R. M. Steen

More information about the whatwg mailing list