In SpiderMonkey 1.8.0 we used call JS_InitStandardClasses(cx, non_global_obj) to get a copy of standard built-in objects in the non_global_object. Later we used to pass this non_global_object inside JS_EvaluateUCScript so that it gets treated as the "this" object and it used to have a copy of built-in objects.
Now we are trying to port to SpiderMonkey 24. But here JS_InitStandardClasses seems not to work with non global objects. Our whole workflow is broken. Any solution? _______________________________________________ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals