We've deprecated [0] __noSuchMethod__ [1] support in SpiderMonkey. It's a non-standard feature that no other engine supports, and it's been hindering ongoing performance work as __noSuchMethod__ is not trivial to support in the JITs.
I've posted patches to convert all in-tree and add-on SDK uses and we'll add a console warning when __noSuchMethod__ is used [2]. There's no drop-in replacement, but in most cases you can either use ES6 proxies or rewrite the code to add the properties you care about manually. I don't know when/if we can remove this feature from SpiderMonkey, but we'll likely wait at least a few months to avoid breaking too many add-ons. In the meantime, please don't add or review code that uses __noSuchMethod__. Thanks, Jan [0] https://bugzilla.mozilla.org/show_bug.cgi?id=683218 [1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/noSuchMethod [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1140428 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform