mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 22:53:04 +00:00
reverting these changes in order to fix crash for now:
- Bug 1136925 part 1. Stop passing a parent to JS_CloneObject (02806f3cb) - Bug 1136925 part 2. Stop passing a parent to Wrapper::New. (1d51cbd34) - Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. (dc13db8da) - Bug 1136925 part 4. Stop passing parents to ProxyObject::New. (e2d30e340)
This commit is contained in:
@@ -1206,7 +1206,7 @@ NewScriptedProxy(JSContext* cx, CallArgs& args, const char* callerName)
|
||||
RootedValue priv(cx, ObjectValue(*target));
|
||||
JSObject* proxy_ =
|
||||
NewProxyObject(cx, &ScriptedDirectProxyHandler::singleton,
|
||||
priv, TaggedProto::LazyProto);
|
||||
priv, TaggedProto::LazyProto, cx->global());
|
||||
if (!proxy_)
|
||||
return false;
|
||||
Rooted<ProxyObject*> proxy(cx, &proxy_->as<ProxyObject>());
|
||||
|
||||
Reference in New Issue
Block a user