Skip to content
  • Ray Strode's avatar
    jsauthority: redo how global objects are set up · 2e970bed
    Ray Strode authored
    This commit drops usage of JS_AddObjectRoot and switches
    the global object over to being wrapped in a JS::Heap
    pointer. It stops using JS_DefineObject which no longer
    seems to be available, and adds a new JS::FireOnNewGlobalHook
    which seems to be required.
    2e970bed