unsafe fn global_scope_from_global(
    global: *mut JSObject,
    cx: *mut JSContext
) -> Root<Dom<GlobalScope>>
Expand description

Returns the Rust global scope from a JS global object.