This project is archived and is in readonly mode.

#1195 ✓resolved
Pri Sen

IE6 and Request.cancel throws an exception

Reported by Pri Sen | March 11th, 2011 @ 10:19 PM

In IE6, when the Request.cancel function is called when it gets to this line:

xhr.onreadystatechange = xhr.onprogress = xhr.onloadstart = function(){};

There is an error.

I am using mootools-core-1.3, build:'a3eed692dd85050d80168ec2c708efe901bb7db3'

I think because of

var progressSupport = ('onprogress' in new Browser.Request);

is false and

if (progressSupport){

        xhr.onloadstart = this.loadstart.bind(this);
        xhr.onprogress = this.progress.bind(this);

is never executed.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket