[whatwg] "first script" and impersonating other pages - pushState(url)

On Thu, 3 Sep 2009, Mike Wilson wrote:
>
> - calling pushState(..., "/pages/section1/thing2") when
>   first script's basedir=/pages/section1 will be ok
>
> - calling pushState(..., "/pages/section2/thing2") when
>   first script's basedir=/pages/section1 will not be 
>   allowed (and throw).
> 
> Is any of these wrong?

The path part of the URL is ignored when deciding whether or not to allow 
the call.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 3 September 2009 15:19:30 UTC