Jump to content

Spidermonkey 68 (and 78) (WIP) (Running game!)


Recommended Posts

  • 3 months later...
  • 2 weeks later...
10 minutes ago, Bellaz89 said:

Just a question: since in SM78 uneval() and .toSource()  were removed, how did you get around that? did you modify the JS scripts or did you write a wrapper?

They aren't actually removed yet :) You need to set the Realm creation option "SetToSourceEnabled" : https://github.com/wraitii/0ad/commit/08fe2e8e86a671228c3cffac6734e16b0b896087

I do think it'll probably be removed entirely in a future ESR, but in the interest of going fast I'll tackle that problem later.

(BTW thanks for noticing the JS_PUBLIC_API thing of structure clones)

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...