W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

[Bug 16224] Change .readyState to use string values rather than numeric constants

From: <bugzilla@jessica.w3.org>
Date: Tue, 13 Mar 2012 03:57:52 +0000
To: public-webapps@w3.org
Message-Id: <E1S7Irw-00059W-R1@jessica.w3.org>

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |WONTFIX

--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch> 2012-03-13 03:57:52 UTC ---
While I agree with the design principle, I think it's not a big enough win to
be worth the churn here. People complain all the time that we keep changing
things — we should only do it when we have a truly compelling reason (e.g. a
security problem).

In practice, little non-debug code will likely end up using
eventsource.readyState anyway. It's easier to use the events. It was mostly
added for consistency with XMLHttpRequest, which also uses numbers — and people
don't generally find it onerous to remember which readyState is which for that

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 13 March 2012 03:58:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:31 UTC