mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
Bug 491230 - assignment used when comparison wanted in /dom/src/threads/test/test_throwingOnerror.html; r=bent.mozilla
This commit is contained in:
parent
9b7ba0c850
commit
ee06177120
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user