W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2011

[whatwg] Proposal for separating script downloads and execution

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 22 Feb 2011 21:18:32 -0500
Message-ID: <4D646E78.9080504@mit.edu>
On 2/22/11 8:05 PM, Will Alexander wrote:
> I ask because at one point you stated if DOM attachment triggers the
> pre-load (instead of src assignment), that would address the memory
> consumption.

Well, more precisely it would make it less likely that someone would 
accidentally author broken content.  Because all current browsers load a 
script anyway, once it's in the DOM.

 > Given you don't sound thrilled with some of the
> concessions required for Images, it sounds like you're more concerned
> with the consequences of pre-loading in general, not the specifics of
> an interface.

I'm mostly concerned with changes from existing UA behavior that can 
cause scripts that don't blow up memory usage in current UAs to blow up 
memory usage in UAs that implement the new functionality, because such 
changes are risky for UA implementors.  If a change has this property, 
then that just needs to be taken into account when evaluating it.

Received on Tuesday, 22 February 2011 18:18:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:04 UTC