Bug 366312: fixing document.all detecting regression from bug 365608. r=brendan

This commit is contained in:
igor.bukanov%gmail.com 2007-01-08 20:29:14 +00:00
Родитель 383deae9a7
Коммит f1e30ac704
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -3135,10 +3135,10 @@ Detecting(JSContext *cx, jsbytecode *pc)
default:
/*
* At this point, anything but grouping means we're not detecting
* unless we see an extended atom index prefix.
* At this point, anything but an extended atom index prefix means
* we're not detecting.
*/
if (js_CodeSpec[op].format & JOF_ATOMBASE)
if (!(js_CodeSpec[op].format & JOF_ATOMBASE))
return JS_FALSE;
break;
}