Re: Executing script-inserted external scripts in insertion order

> Having a script execution mechanism that's not tied to
> HTMLScriptElement nodes means that over time we'd potentially have to
> duplicate everything that now assumes HTMLScriptElement nodes
> including:
> * document.currentScript (so far a Gecko-only thing with a proposal
> posted to WHATWG)
> * various event handlers for tracking the script
> * setting the script type (The current executeScript() proposal seems
> to be limited to "text/javascript" scripts. I realize that some people
> may consider this a feature rather than a bug.)

 * Setting the charset override for the script.

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

Received on Thursday, 28 October 2010 07:43:14 UTC