Bug 1065827 - Don't fail EME mochitests if XHR fails, as XHR can fail due to test finishing before XHR completes. r=edwin

This commit is contained in:
Chris Pearce 2014-11-06 14:38:00 +01:00
Родитель 25acd590ea
Коммит 9bbc85b5dc
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -139,8 +139,8 @@ function PlayFragmented(test, elem, token)
sb.appendBuffer(new Uint8Array(req.response));
});
req.addEventListener("error", bail(token + " error fetching " + fragmentFile));
req.addEventListener("abort", bail(token + " aborted fetching " + fragmentFile));
req.addEventListener("error", function(){info(token + " error fetching " + fragmentFile);});
req.addEventListener("abort", function(){info(token + " aborted fetching " + fragmentFile);});
Log(token, "addNextFragment() fetching next fragment " + fragmentFile);
req.send(null);