[whatwg] Script-related feedback

Anne van Kesteren annevk at annevk.nl
Wed Jul 24 11:26:03 PDT 2013


On Wed, Jul 24, 2013 at 11:18 AM, Ian Hickson <ian at 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/



More information about the whatwg mailing list