W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

Re: [whatwg] Script-related feedback

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 24 Jul 2013 11:26:03 -0700
Message-ID: <CADnb78i-ug5KWh25ywEysWYCiSvt=M+gd2aqzNne+8O9ijZZ7g@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: WHATWG <whatwg@whatwg.org>, Adam Barth <w3c@adambarth.com>
On Wed, Jul 24, 2013 at 11:18 AM, Ian Hickson <ian@hixie.ch> wrote:
> Yeah, but the multipart logic has pretty big disadvantages -- mainly the
> opposite of the advantages for a built-in feature:
>
>  - not backwards compatible
>  - not as simple to understand, use, implement, or spec
>  - doesn't really work outside HTTP
>  - harder to shim
>  - more edge cases to define (e.g. what if the MIME types of the parts
>    change unexpectedly)
>  - requires setting MIME types, which authors hate
>
> I think JavaScript would be the logical place to support this. We don't
> use multipart/* logic to do incremental rendering of HTML, we don't use it
> for incremental rendering of images (only for animating them), why would
> we use it for incremental execution of script? I think scripts, just like
> image formats, HTML, XML, etc, should have built-in support for
> incremental processing.

Given module loaders, new features to control script loading from HTML
(in parallel thread) and lack of interest from implementers in this
feature since it was last discussed we should probably hold off on
this.


-- 
http://annevankesteren.nl/
Received on Wednesday, 24 July 2013 18:26:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC