[whatwg] Script-related feedback
Ian Hickson
ian at hixie.ch
Wed Jul 24 11:29:47 PDT 2013
On Wed, 24 Jul 2013, Anne van Kesteren wrote:
> 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.
Ok. If anyone wants to implement something like this, and doesn't think
this is better handled by JS directly, then let me know.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list