THREE.FileLoader missing ResponseType value

Hi,

While implementing R84, I needed to code a function to load ZipFile.

I have created a ZipLoader class to do so, in this class I am expecting to get a Arraybuffer from the xhr request.

I have tested to set the requesttype to ‘arraybuffer’ using function setResponseType. Thus, in case we pass an URL to ‘load’ function the responsetype is never assigned. I beleive it is missing.

To solve my problem, In my local copy, I have set it at the following line :

var request = new XMLHttpRequest();
request.open( 'GET', url, true );
request.responseType = this.responseType;
request.addEventListener( 'load', function ( event ) {
	var response = event.target.response;

Doing so, It works.

Hmm…?