Update js.

This commit is contained in:
Ms2ger 2015-08-18 12:20:46 +02:00
parent 0d6d6a0500
commit a9671550ff
5 changed files with 32 additions and 5 deletions

View file

@ -690,7 +690,7 @@ unsafe extern fn wrap(cx: *mut JSContext,
-> *mut JSObject {
// FIXME terrible idea. need security wrappers
// https://github.com/servo/servo/issues/2382
WrapperNew(cx, obj, GetCrossCompartmentWrapper())
WrapperNew(cx, obj, GetCrossCompartmentWrapper(), ptr::null(), false)
}
unsafe extern fn pre_wrap(cx: *mut JSContext, _existing: HandleObject,