W3C home > Mailing lists > Public > public-html@w3.org > April 2015

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

From: Ryosuke Niwa <rniwa@apple.com>
Date: Mon, 20 Apr 2015 22:24:36 -0700
Message-id: <7B574CC3-89C8-43D4-84A8-258037C5BCF1@apple.com>
To: public-html@w3.org

> 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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:43 UTC