Re: [whatwg] Proposal: location.parentOrigin

On Mon, 26 Mar 2012, Adam Barth wrote:
> 
> For nested browsing contexts, expose the origin of the parent browsing 
> context via location.parentOrigin.  (For non-nested browsing context, 
> the property would null.)

This ended up implemented in WebKit as Location.ancestorOrigins(), a 
method that returns a static DOMStringList with the origins of the 
ancestor browsing contexts in reverse order (top-level browsing context 
last, parent browsing context first). It doesn't respect sandboxing.

Are other browser vendors interested in implementing this?

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

Received on Tuesday, 20 November 2012 06:34:08 UTC