This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html Multipage: http://www.whatwg.org/C#the-document-object Complete: http://www.whatwg.org/c#the-document-object Comment: readyState should be an IDL enum Posted from: 173.48.81.109 by bzbarsky@mit.edu User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:19.0) Gecko/19.0 Firefox/19.0
It has a finite set of values; there's no reason to make it DOMString.
There's one reason. enum didn't exist when it was specced. :-)
Well, so it's a bug in the spec and we can fix it. ;)
Checked in as WHATWG revision r7781. Check-in comment: Make document.readyState explicitly an enum, not that that has any real effect. http://html5.org/tools/web-apps-tracker?from=7780&to=7781