[whatwg] Storage events

Adam Barth whatwg at adambarth.com
Sun Oct 18 08:14:30 PDT 2009


On Sun, Oct 18, 2009 at 2:53 AM, Darin Fisher <darin at chromium.org> wrote:
> On Sat, Oct 17, 2009 at 11:58 PM, Jonas Sicking <jonas at sicking.cc> wrote:
>> On Sat, Oct 17, 2009 at 8:37 PM, Darin Fisher <darin at chromium.org> wrote:
>> > Gecko and WebKit appear to both support documentURI.  Only WebKit allows
>> > it
>> > to be modified.
>>
>> Huh? So WebKit effectively have one of the main features of pushState
>> already? Does the URL-bar change? Does the referrer change for
>> subsequent requests such as navigation? I'm guessing it doesn't hook
>> the back-button the way that pushState does though.
>>
>> / Jonas
>
> It appears to impact the baseURL for the document.

WebKit's behavior of documentURI was my attempt to reconcile the DOM
spec with security and reality.  Previously, WebKit actually let you
assign the internal representation of the documentURI, which was
obviously disaster from a security point of view.

Adam



More information about the whatwg mailing list