[whatwg] Proposal: location.parentOrigin
Ian Hickson
ian at hixie.ch
Mon Nov 19 21:47:33 PST 2012
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list