зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
25acd590ea
Коммит
9bbc85b5dc
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче