
Description
Our server is configured to redirect any 404s to our index page using a 302 redirect. Requests to a missing sound file using PreloadJS return with a 302, with the resultant content being of mime type "text/html" not an audio type. PreloadJS fires a catchable "error" event in Firefox (v 45) and IE (v11) but no event of any kind fires in Chrome (v50) on desktop or Android.
Worth noting that PreloadJS does correctly fire an "error" event on Chrome if server is configured to respond with 404 when file not found instead of a 302 so you may not consider this critical.
The issue looks similar to this:
#96
More notes:
Firefox: PreloadJS recognises that an error has occured, but the browser still tries to do something and I get console output "The buffer passed to decodeAudioData contains an unknown content type.". This is fine because I've already received an event from PreloadJS telling me the file has failed to load.
Chrome: console outputs "Chrome DOMException: Unable to decode audio data" but PreloadJS fires no event, and in turn the queue never fires a "complete" event.