Merge pull request #5448 from thejdeep/androidfix
Added try/catch #5427
This commit is contained in:
commit
7f24b1d602
@ -116,7 +116,10 @@ var NetworkManager = (function NetworkManagerClosure() {
|
||||
}
|
||||
|
||||
if (args.onProgressiveData) {
|
||||
xhr.responseType = 'moz-chunked-arraybuffer';
|
||||
// Some legacy browsers might throw an exception.
|
||||
try {
|
||||
xhr.responseType = 'moz-chunked-arraybuffer';
|
||||
} catch(e) {}
|
||||
if (xhr.responseType === 'moz-chunked-arraybuffer') {
|
||||
pendingRequest.onProgressiveData = args.onProgressiveData;
|
||||
pendingRequest.mozChunked = true;
|
||||
|
Loading…
Reference in New Issue
Block a user