Now with Firefox ESR 102 released, we can start to porting jsauthority for mozjs 102.
The change is trivial.
And we can use -Djs_engine to support both 91 and 102 easily.
Please note that https://bugzilla.mozilla.org/show_bug.cgi?id=1776254 needs to be addressed or this will fail to build. This will be fixed in Firefox ESR 102.2 release. You can use SpiderMonkey code from https://github.com/ptomato/mozjs/tree/mozjs102, or manually install
ProfilingCategoryList.h if you want to try this out with 102.1.