зеркало из https://github.com/mozilla/pjs.git
Bug 491230 - assignment used when comparison wanted in /dom/src/threads/test/test_throwingOnerror.html; r=bent.mozilla
This commit is contained in:
Родитель
384cc7b4c9
Коммит
e90a49b95d
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче