зеркало из https://github.com/mozilla/gecko-dev.git
Use passed scope instead of the object parent scope
This commit is contained in:
Родитель
27d9b80c10
Коммит
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче