W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: WebIDL and prototype chains

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 17 Jul 2009 03:04:12 +0000 (UTC)
To: Maciej Stachowiak <mjs@apple.com>
Cc: Jonas Sicking <jonas@sicking.cc>, Adam Barth <w3c@adambarth.com>, public-webapps <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.62.0907170302470.12284@hixie.dreamhostps.com>
On Thu, 16 Jul 2009, Maciej Stachowiak wrote:
> > 
> > HTML5 just says that new History, Location, etc, objects are created 
> > for each (inner) Window object. Is this not accurate? What do browsers 
> > do?
> 
> Creating new ones on navigation is indeed correct, but a separate issue 
> from making sure cross-origin cross-frame access to things like 
> history.back() is safe for both parties.

In HTML5, you can't access .history cross-domain, and you can't get to the 
prototype of the .location object (the only thing you can do to .location 
is set the .href member).

Are these restrictions Web-incompatible?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 17 July 2009 03:04:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:32 GMT