This contains the required code changes to upgrade to SM 102, the next ESR. See the migration guide: https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples/blob/esr102/docs/Migration%20Guide.md
The main thing affecting us is the removal of the private slot. We should probably standardize more on the reserved slot we want to use.
TODO: I ran into a weird crash because of deepFreeze being called on g_Settings. I debugged this in debug mode, and it doesn't happen if we don't deepfreeze/if we 'deep-freeze' manually in JS by recursing.
I have asked in the mozilla chatroom, maybe I'll get an answer there. Needs investigation.
There is also a crash in debug mode because it seems we need to set a header define that isn't set by default.
TODO: provide tarball and test on other platforms. I had weird pkg-config issues on my system.
As things currently stand, I am able to get ingame in debug mode so I think this should be basically all we need with the above caveats.