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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...