mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Use passed scope instead of the object parent scope
This commit is contained in:
parent
27d9b80c10
commit
85fcb8e2bc
@ -68,7 +68,7 @@ public class NativeRegExpCtor extends NativeFunction {
|
||||
{
|
||||
return args[0];
|
||||
}
|
||||
return construct(cx, parent, args);
|
||||
return construct(cx, scope, args);
|
||||
}
|
||||
|
||||
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
|
||||
|
Loading…
Reference in New Issue
Block a user