[whatwg] Loading and executing script as quickly as possible using multipart/mixed

Henri Sivonen hsivonen at iki.fi
Tue Dec 4 00:58:35 PST 2012


On Tue, Dec 4, 2012 at 4:15 AM, Kyle Simpson <getify at gmail.com> wrote:
> One suggestion is to added a state to the readyState mechanism like "chunkReady", where the event fires and includes in its event object properties the numeric index, the //@sourceURL, the separator identifier, or otherwise some sort of identifier for which the author can tell which chunk executed.

If the script author needs to manually designate the chunk boundaries,
can’t the script authors insert a call to a function before each
boundary? That is, why is it necessary for the UA to generate events?

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



More information about the whatwg mailing list