W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

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

From: Hallvord R M Steen <hallvors@gmail.com>
Date: Thu, 12 Aug 2010 08:49:36 +0900
Message-ID: <AANLkTimh0y=0TzWW+V2sdat_Dy5rnf3h_sVfuYt8tDu1@mail.gmail.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:59 UTC