mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Root PropertyNodeList.getNames, no bug, r=Ms2ger over irc
This commit is contained in:
parent
f00457a7a5
commit
6341ecade8
@ -445,7 +445,7 @@ PropertyNodeList::GetValues(JSContext* aCx, nsTArray<JS::Value >& aResult,
|
||||
{
|
||||
EnsureFresh();
|
||||
|
||||
JSObject* wrapper = GetWrapper();
|
||||
JS::RootedObject wrapper(aCx, GetWrapper());
|
||||
JSAutoCompartment ac(aCx, wrapper);
|
||||
uint32_t length = mElements.Length();
|
||||
for (uint32_t i = 0; i < length; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user