Bug 1136925 part 4. Stop passing parents to ProxyObject::New. r=waldo
This commit is contained in:
@@ -1803,7 +1803,7 @@ js::CloneObject(JSContext *cx, HandleObject obj, Handle<js::TaggedProto> proto)
|
||||
ProxyOptions options;
|
||||
options.setClass(obj->getClass());
|
||||
|
||||
clone = ProxyObject::New(cx, GetProxyHandler(obj), JS::NullHandleValue, proto, nullptr, options);
|
||||
clone = ProxyObject::New(cx, GetProxyHandler(obj), JS::NullHandleValue, proto, options);
|
||||
if (!clone)
|
||||
return nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user