Bug 491230 - assignment used when comparison wanted in /dom/src/threads/test/test_throwingOnerror.html; r=bent.mozilla

This commit is contained in:
tn 2009-05-06 01:11:21 +02:00
Родитель 384cc7b4c9
Коммит e90a49b95d
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -24,7 +24,7 @@ Tests of DOM Worker Threads
worker.onerror = function(event) { worker.onerror = function(event) {
var found = false; var found = false;
for (var index in errors) { for (var index in errors) {
if (event.message = "uncaught exception: " + errors[index]) { if (event.message == "uncaught exception: " + errors[index]) {
errors.splice(index, 1); errors.splice(index, 1);
found = true; found = true;
break; break;