Bug 656253: Fix intermittent orange due to variables colliding. r=sicking

This commit is contained in:
Masatoshi Kimura 2011-05-11 11:06:47 -07:00
Родитель 881f62c5c8
Коммит 0d206b9f66
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -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();