Re: upload progress events

On Wed, 07 Mar 2007 08:37:15 +1100, Maciej Stachowiak <mjs@apple.com> wrote:

> On Mar 6, 2007, at 1:21 PM, Boris Zbarsky wrote:

>> That is would an implementation which dispatches the upload events
>> both as "progress" events on xhr.upload and "uploadprogress" events
>> on xhr be conformant to the specification.  If so, that would allow
>> existing code to continue working while allowing spec-compliant
>> code to also work.
>>
>> I realize that there is an issue with providing non-standard ways
>> to do what the standard allows in that authors might use code that
>> works in one UA but not others.  So I'm not even sure doing the
>> above would be a good idea.  But would it be allowed per the standard?
>
> I don't think any standard forbids dispatching additional events,
> though you are correct that doing so creates interoperability risks.

Agreed. There is nothing in the spec that says either way about events it doesn't actually define.

cheers

Chaals

-- 
  Charles McCathieNevile, Opera Software: Standards Group
  hablo español  -  je parle français  -  jeg lærer norsk
chaals@opera.com          Try Opera 9.1     http://opera.com

Received on Wednesday, 7 March 2007 00:46:19 UTC