Re: Implied Context Parsing (DocumentFragment.innerHTML, or similar) proposal details to be sorted out

On Fri, Jun 8, 2012 at 11:03 PM, Yehuda Katz <wycats@gmail.com> wrote:
> It's intentional. If you look at the implementation, we explicitly extract
> the <script> tags and use our globalEval implementation to execute them.

Okay. Let's make document.parse() make scripts executable, then, for
consistency with what script libraries want. I think it will be a
total foot gun when a fragment contains more than one script, though.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Monday, 11 June 2012 12:07:30 UTC