W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Mon, 11 Jun 2012 15:06:37 +0300
Message-ID: <CAJQvAuf=YccWfSnQfji02jBZv_ySeW_NV2tmuS=FR_cT9czp0A@mail.gmail.com>
To: Yehuda Katz <wycats@gmail.com>
Cc: Rafael Weinstein <rafaelw@google.com>, Ryosuke Niwa <rniwa@webkit.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, Jonas Sicking <jonas@sicking.cc>, Webapps WG <public-webapps@w3.org>, Scott González <scott.gonzalez@gmail.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT