[whatwg] Readiness of script-created documents

Ian Hickson ian at hixie.ch
Thu Jan 12 16:26:05 PST 2012


On Mon, 20 Jun 2011, Henri Sivonen wrote:
>
> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1039
> 
> It says "complete" in Firefox, "loading" in Chrome and Opera and 
> "uninitialized" in IE. The spec requires "complete". readyState is 
> originally an IE API. Why doesn't the spec require "uninitialized"?
> 
> (The implementation in Gecko is so recent that it's quite possible that 
> Gecko followed the spec and the spec just made stuff up as opposed to 
> the spec following Gecko.)

On Mon, 20 Jun 2011, Jonas Sicking wrote:
> 
> "complete" seems like the most useful and consistent value which would 
> seem like a good reason to require that.

Jonas is correct. Since there was no interop here I figured we might as 
well go with what made sense.

-- 
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