Commit ff951314 authored by Oleg's avatar Oleg

Remove old try...catch for old FF

parent c6de8210
...@@ -90,11 +90,6 @@ if ( xhrSupported ) { ...@@ -90,11 +90,6 @@ if ( xhrSupported ) {
callback = function( _, isAbort ) { callback = function( _, isAbort ) {
var status, statusText, responses; var status, statusText, responses;
// Firefox throws exceptions when accessing properties
// of an xhr when a network error occurred
// http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)
try {
// Was never called and is aborted or complete // Was never called and is aborted or complete
if ( callback && ( isAbort || xhr.readyState === 4 ) ) { if ( callback && ( isAbort || xhr.readyState === 4 ) ) {
// Clean up // Clean up
...@@ -140,11 +135,6 @@ if ( xhrSupported ) { ...@@ -140,11 +135,6 @@ if ( xhrSupported ) {
} }
} }
} }
} catch( firefoxAccessException ) {
if ( !isAbort ) {
complete( -1, firefoxAccessException );
}
}
// Call complete if needed // Call complete if needed
if ( responses ) { if ( responses ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment