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
parent 9b7ba0c850
commit ee06177120

View File

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