Bug 677032, r=jimb

This commit is contained in:
Jason Orendorff 2012-08-01 16:49:35 -07:00
parent 224b2c0409
commit 6ed067133f
2 changed files with 10 additions and 1 deletions

View File

@ -3520,7 +3520,7 @@ EmitAssignment(JSContext *cx, BytecodeEmitter *bce, ParseNode *lhs, JSOp op, Par
return false;
if (Emit1(cx, bce, JSOP_BINDXMLNAME) < 0)
return false;
offset++;
offset += 2;
break;
#endif
default:

View File

@ -0,0 +1,9 @@
// |reftest| pref(javascript.options.xml.content,true)
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/
var a;
for (function::a in [1]) ;
assertEq(a, "0");
reportCompare(0, 0, 'ok');