mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 632206: remove unneeded rooting, r=lw
This commit is contained in:
parent
d7d452bef1
commit
a19b006a53
6
js/src/jit-test/tests/basic/bug632206.js
Normal file
6
js/src/jit-test/tests/basic/bug632206.js
Normal file
@ -0,0 +1,6 @@
|
||||
// don't crash
|
||||
x = <x/>
|
||||
for (a = 0; a < 9; a++) {
|
||||
x.elements()
|
||||
}
|
||||
|
@ -5657,7 +5657,6 @@ xml_elements(JSContext *cx, uintN argc, jsval *vp)
|
||||
nameqn = ToXMLName(cx, name, &funid);
|
||||
if (!nameqn)
|
||||
return JS_FALSE;
|
||||
vp[2] = OBJECT_TO_JSVAL(nameqn);
|
||||
|
||||
if (!JSID_IS_VOID(funid))
|
||||
return xml_list_helper(cx, xml, vp) != NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user