зеркало из https://github.com/mozilla/gecko-dev.git
Bug 656253: Fix intermittent orange due to variables colliding. r=sicking
This commit is contained in:
Родитель
881f62c5c8
Коммит
0d206b9f66
|
@ -152,7 +152,7 @@ b = xhr.mozResponse;
|
|||
ok(b, "should have a non-null blob");
|
||||
is(b.size, "hello pass\n".length, "wrong blob size");
|
||||
|
||||
fr = new FileReader();
|
||||
var fr = new FileReader();
|
||||
fr.onload = function() {
|
||||
ok(fr.result, "hello pass\n", "wrong values");
|
||||
checkOnloadCount();
|
||||
|
@ -172,7 +172,7 @@ xhr.onreadystatechange = function() {
|
|||
ok(b != null, "should have a non-null blob");
|
||||
is(b.size, 12, "wrong blob size");
|
||||
|
||||
fr = new FileReader();
|
||||
var fr = new FileReader();
|
||||
fr.onload = function() {
|
||||
is(fr.result, "\xaa\xee\0\x03\xff\xff\xff\xff\xbb\xbb\xbb\xbb", "wrong values");
|
||||
checkOnloadCount();
|
||||
|
|
Загрузка…
Ссылка в новой задаче