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

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

Received on Wednesday, 11 August 2010 16:49:36 UTC