Function mozjs::jsapi::js::SetWindowProxy

source ยท
pub unsafe extern "C" fn SetWindowProxy(
    cx: *mut JSContext,
    global: Handle<*mut JSObject>,
    windowProxy: Handle<*mut JSObject>,
)
Expand description

Associates a WindowProxy with a Window (global object). windowProxy must have the Class set by SetWindowProxyClass.