mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 677032, r=jimb
This commit is contained in:
parent
224b2c0409
commit
6ed067133f
@ -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:
|
||||
|
9
js/src/tests/e4x/Regress/regress-677032.js
Normal file
9
js/src/tests/e4x/Regress/regress-677032.js
Normal 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');
|
Loading…
Reference in New Issue
Block a user