aguivip / in-spirit

Automatically exported from code.google.com/p/in-spirit
0 stars 0 forks source link

Failing in Firefox on a Mac #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Code calls MultipartURLLoader with all listeners
2. Run in all browsers

What is the expected output? What do you see instead?
It works in all tested browsers except for Firefox on a Mac.  In this I get a 
2032 stream error.  

Original issue reported on code.google.com by aims.lon...@gmail.com on 16 Apr 2012 at 11:28

GoogleCodeExporter commented 9 years ago
Update - if I do the call without actually sending the file it works, so 
without the addFile line, it works

var ml:MultipartURLLoader = new MultipartURLLoader();
ml.addEventListener(Event.COMPLETE, complete);
ml.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
ml.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
ml.addEventListener(Event.OPEN, openHandler);
ml.addEventListener(ProgressEvent.PROGRESS, progressHandler);
ml.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
ml.addFile(sba, new Date().time+'.mp3', 'audio_file');
ml.load(url);

Original comment by aims.lon...@gmail.com on 16 Apr 2012 at 11:51

GoogleCodeExporter commented 9 years ago
Watching the header requests being made, it's never even sent.  Which would 
account for why I never get anything from the event listeners.

Original comment by aims.lon...@gmail.com on 16 Apr 2012 at 12:49

GoogleCodeExporter commented 9 years ago
Ok, I solved it, it has to be on https! Why is this not mentioned anywhere?!!

Original comment by aims.lon...@gmail.com on 16 Apr 2012 at 4:42