Re: innerHTML in DocumentFragment

I don't really follow. Script won't execute until you append the fragment
to the DOM, at which point the fragment itself doesn't go in the DOM, just
it's children. So, I'm not really sure what sandboxing on fragments would
do.

On Fri, Nov 4, 2011 at 11:14 PM, Ryan Seddon <seddon.ryan@gmail.com> wrote:

> This would be a great addition, another thought would be the ability to
> sandbox the documentFragment. Much the same way you can sanitise
> responseText from an XHR using and iframe with the sandbox attribute being
> able to do this with fragments would be might handy.
>

Received on Monday, 7 November 2011 17:30:58 UTC