From ee061771203cefbdb5a7c0b74ac052188408b0cf Mon Sep 17 00:00:00 2001 From: tn Date: Wed, 6 May 2009 01:11:21 +0200 Subject: [PATCH] Bug 491230 - assignment used when comparison wanted in /dom/src/threads/test/test_throwingOnerror.html; r=bent.mozilla --- dom/src/threads/test/test_throwingOnerror.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/src/threads/test/test_throwingOnerror.html b/dom/src/threads/test/test_throwingOnerror.html index 5e692e562aa8..9b07abb64e49 100644 --- a/dom/src/threads/test/test_throwingOnerror.html +++ b/dom/src/threads/test/test_throwingOnerror.html @@ -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;