W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: StorageEvent.url (WAS: XMLHttpRequest.responseBlob)

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 29 Apr 2010 11:35:56 -0400
Message-ID: <4BD9A75C.1070206@mit.edu>
To: Jeremy Orlow <jorlow@chromium.org>
CC: Web Applications Working Group WG <public-webapps@w3.org>
On 4/29/10 9:23 AM, Jeremy Orlow wrote:
> Opera 10.50 does return false for your bit of javascript, but when I
> enumerate the properties on event after causing a storage event, "url"
> is there.  Weird.

All that means is that the property is an own property of the object, 
not a property getter/setter pair on the prototype, no?

It's interesting that you find this odd, given that this is exactly V8's 
behavior in general.  Compare:

   alert("body" in HTMLDocument.prototype);
   alert("body" in document");

in your favorite HTML page.

> My code did not work in Firefox 3.6.
> https://developer.mozilla.org/en/DOM/Storage makes no mention of
> StorageEvent.  Do they actually support events?

Sure seem to, with "url" as the property name.  Or at least there's 
definitely code in the tree to dispatch it when storage changes happen.

Received on Thursday, 29 April 2010 15:36:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 13:55:33 UTC