This is going to break a LOT of our surrogates.https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/noSuchMethod wrote:Obsolete since Gecko 39 (Firefox 39 / Thunderbird 39 / SeaMonkey 2.36)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/noSuchMethod wrote:While __noSuchMethod__ is non-standard, the ECMAScript Harmony (ES6) specification will have Proxy, with which you can achieve the below (and more).
EDIT SeaMonkey 2.37a1 gives this warning in the Error Console when a __noSuchMethod__ is hit:
Code: Select all
Warning: Error: __noSuchMethod__ is deprecated