W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2012

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 4 Dec 2012 10:58:35 +0200
Message-ID: <CAJQvAucxhgbmKXepXHJ6p_rH8G8ZayRC2xa=FDuUhEMo4pAchA@mail.gmail.com>
To: whatwg@lists.whatwg.org
On Tue, Dec 4, 2012 at 4:15 AM, Kyle Simpson <getify@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@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 4 December 2012 08:59:08 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:50 UTC