Re: Document persistence for iframes when the node is moved in the DOM

> On Apr 13, 2015, at 8:15 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> 
> On 4/13/15 10:58 AM, Lewis, Eric wrote:
>> I request that iframes persist their document when moved around the DOM.
> 
> This has come up before.  Unfortunately, lots of web APIs assume that they're in an iframe tree that chains up in a sensible way to an actual browser window/tab, both in terms of implementations and specifications.  When browsers tried to not tear down documents when an iframe is removed from the tree, they ran into a whole bunch of security issues popping up all over the place as a result....
> 
> Hence the current browser behavior, which is in fact codified in the spec at the moment, since it's the behavior all the browsers agreed on.

FYI, we implemented such a feature in WebKit and removed it later three years ago: http://trac.webkit.org/changeset/111361

- R. Niwa

Received on Tuesday, 21 April 2015 05:25:05 UTC