From b6061b3599391eb6c7856fef1d52883459878fba Mon Sep 17 00:00:00 2001 From: "igor.bukanov%gmail.com" Date: Mon, 8 Jan 2007 20:29:14 +0000 Subject: [PATCH] Bug 366312: fixing document.all detecting regression from bug 365608. r=brendan --- js/src/jsobj.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/jsobj.c b/js/src/jsobj.c index ce84844979b..c5994ef6cae 100644 --- a/js/src/jsobj.c +++ b/js/src/jsobj.c @@ -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; }