Re: [dev-servo] Parallel content with iframes of different origins

2013-02-25 Thread Devdatta Akhawe
Hi First, I think this is a fantastic idea! Thanks David for bringing this up. >> Its also not time-invariant when document.domain is used, correct? > > True. I guess the cases of "iframe initially has a different origin than its > parent, but JS can change that" are more numerous than I original

Re: [dev-servo] Parallel content with iframes of different origins

2013-02-25 Thread David Bruant
Le 25/02/2013 22:51, Brian Smith a écrit : David Bruant wrote: It seems like in theory, it could be possible to handle the content of a cross-origin iframe in a specific Rust task (or bunch of tasks). I thought Rust tasks were supposed to be very lightweight. If so, why not put every iframe in

Re: [dev-servo] Parallel content with iframes of different origins

2013-02-25 Thread Brian Smith
David Bruant wrote: > It seems like in theory, it could be possible to handle the content > of a cross-origin iframe in a specific Rust task (or bunch of tasks). I thought Rust tasks were supposed to be very lightweight. If so, why not put every iframe in a separate task, whether it is same-origi

Re: [dev-servo] Parallel content with iframes of different origins

2013-02-25 Thread David Bruant
Le 25/02/2013 21:03, Boris Zbarsky a écrit : On 2/25/13 2:33 PM, David Bruant wrote: 2) different-origin iframe. JS from the parent can only interact with it through message passing via postMessage. Note that whether an iframe is same-origin or not is not time-invariant across navigations. Wh

Re: [dev-servo] Parallel content with iframes of different origins

2013-02-25 Thread Boris Zbarsky
On 2/25/13 3:09 PM, Andreas Gal wrote: On Feb 25, 2013, at 9:03 PM, Boris Zbarsky wrote: On 2/25/13 2:33 PM, David Bruant wrote: 2) different-origin iframe. JS from the parent can only interact with it through message passing via postMessage. Note that whether an iframe is same-origin or n

Re: [dev-servo] Parallel content with iframes of different origins

2013-02-25 Thread Andreas Gal
On Feb 25, 2013, at 9:03 PM, Boris Zbarsky wrote: > On 2/25/13 2:33 PM, David Bruant wrote: >> 2) different-origin iframe. JS from the parent can only interact with it >> through message passing via postMessage. > > Note that whether an iframe is same-origin or not is not time-invariant > acro

Re: [dev-servo] Parallel content with iframes of different origins

2013-02-25 Thread Boris Zbarsky
On 2/25/13 2:33 PM, David Bruant wrote: 2) different-origin iframe. JS from the parent can only interact with it through message passing via postMessage. Note that whether an iframe is same-origin or not is not time-invariant across navigations. It seems like in theory, it could be possible

[dev-servo] Parallel content with iframes of different origins

2013-02-25 Thread David Bruant
Hi, Servo is new and opens new opportunities, so I'm going to share an idea. And maybe someone else had it already (I haven't read such a thing yet) or maybe it's too crazy of an idea, but the discussion may be interesting anyway. HTML has s. JavaScript can interact with it. There are 2 type