mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 515885 - Assertion failure: !scope->owned(), at ../jsobj.cpp. r=brendan.
This commit is contained in:
parent
efdbb8da44
commit
e66886b51c
@ -6625,8 +6625,7 @@ ComprehensionTail(JSParseNode *kid, uintN blockid, JSTreeContext *tc,
|
||||
pn2->pn_kid = kid;
|
||||
*pnp = pn2;
|
||||
|
||||
if (type == TOK_ARRAYPUSH)
|
||||
PopStatement(tc);
|
||||
PopStatement(tc);
|
||||
return pn;
|
||||
}
|
||||
|
||||
|
@ -79,3 +79,4 @@ script regress-496922.js
|
||||
script regress-507053.js
|
||||
script regress-507295.js
|
||||
script regress-507424.js
|
||||
script regress-515885.js
|
||||
|
6
js/src/tests/js1_8_1/regress/regress-515885.js
Normal file
6
js/src/tests/js1_8_1/regress/regress-515885.js
Normal file
@ -0,0 +1,6 @@
|
||||
// Any copyright is dedicated to the Public Domain.
|
||||
// http://creativecommons.org/licenses/publicdomain/
|
||||
var it = (x for (x in [function(){}]));
|
||||
it.next();
|
||||
|
||||
reportCompare("no assertion failure", "no assertion failure", "See bug 515885.");
|
Loading…
Reference in New Issue
Block a user