Re: [whatwg] @sandbox and navigation top

2010-03-24 Thread Ian Hickson
On Fri, 12 Feb 2010, Adam Barth wrote: > > Can a frame in @sandbox ever navigation the top-level frame? Not without a user prompt, currently. > If not, that would make it hard to use @sandbox to contain > advertisements, which want to navigate |top| when the user clicks on the > ad. On Fri, 1

Re: [whatwg] @sandbox and navigation top

2010-02-13 Thread Maciej Stachowiak
On Feb 12, 2010, at 11:54 PM, Adam Barth wrote: On Fri, Feb 12, 2010 at 11:48 PM, Michal Zalewski wrote: Can a frame in @sandbox ever navigation the top-level frame? If not, that would make it hard to use @sandbox to contain advertisements, which want to navigate |top| when the user click

Re: [whatwg] @sandbox and navigation top

2010-02-13 Thread Adam Barth
On Sat, Feb 13, 2010 at 12:08 AM, Michal Zalewski wrote: >> Perhaps we want an "allow-frame-busting" directive?  In the >> implementation we have an "allow-navigation" bit that covers >> navigation |top| as well as window.open, etc.  Maybe we want a more >> general directive that twiddles this bit

Re: [whatwg] @sandbox and navigation top

2010-02-13 Thread Michal Zalewski
> Perhaps we want an "allow-frame-busting" directive?  In the > implementation we have an "allow-navigation" bit that covers > navigation |top| as well as window.open, etc.  Maybe we want a more > general directive that twiddles this bit? I'm wondering if sites want to have control over the type o

Re: [whatwg] @sandbox and navigation top

2010-02-12 Thread Adam Barth
On Fri, Feb 12, 2010 at 11:48 PM, Michal Zalewski wrote: >> Can a frame in @sandbox ever navigation the top-level frame?  If not, >> that would make it hard to use @sandbox to contain advertisements, >> which want to navigate |top| when the user clicks on the ad. > > Ads would want to be able to d

Re: [whatwg] @sandbox and navigation top

2010-02-12 Thread Michal Zalewski
> Can a frame in @sandbox ever navigation the top-level frame?  If not, > that would make it hard to use @sandbox to contain advertisements, > which want to navigate |top| when the user clicks on the ad. Ads would want to be able to do that, but user-controlled gadgets shouldn't. I suppose the top

[whatwg] @sandbox and navigation top

2010-02-12 Thread Adam Barth
Can a frame in @sandbox ever navigation the top-level frame? If not, that would make it hard to use @sandbox to contain advertisements, which want to navigate |top| when the user clicks on the ad. Adam