-
Philip Chimento authored
In some places where we use gjs_get_import_global(), we are guaranteed to be in the main realm already, so we can get the main realm's global simply with JS::CurrentGlobalOrNull().
43e0a4c9
In some places where we use gjs_get_import_global(), we are guaranteed to be in the main realm already, so we can get the main realm's global simply with JS::CurrentGlobalOrNull().