W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: [XHR]

From: Glenn Maynard <glenn@zewt.org>
Date: Mon, 8 Oct 2012 09:28:56 -0500
Message-ID: <CABirCh8i5w8-8k86iF-DQ9hL5p5F3zMYOjqHuVJfBV3M10gu5g@mail.gmail.com>
To: Jakub Łopuszański <qbolec@gmail.com>
Cc: public-webapps@w3.org
On Sat, Oct 6, 2012 at 11:09 AM, Jakub Łopuszański <qbolec@gmail.com> wrote:

> Spec at http://www.w3.org/TR/XMLHttpRequest/ says that:

"TR" drafts are typically out of date; the version you're reading is ten
months old.  Please use the editor's draft:

1. each change of state must fire an event
> 2. readyState must always be equal to the current state
> it follows that it is possible for eventhandler to be called more than
> once with the same value of readyState

(What text are you reading?  It's helpful to quote exact text.)

Can you point to where in the spec this can happen?  All of the places
readystatechange is fired are explicit; search for the text "Fire an event
named readystatechange".  They always happen after "Change the state to
(new state)", and I don't believe there are any places in the spec where
"change the state to..." names a state that it can already be in.

Glenn Maynard
Received on Monday, 8 October 2012 14:29:27 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:49 UTC