__noSuchMethod__ and direct proxies

William Edney bedney at technicalpursuit.com
Mon Dec 5 08:56:12 PST 2011

John -

Well, obviously I have use cases or otherwise I wouldn't have put the time and effort into continuing to ask for this functionality.

As I've said before, as long as I can hook proxies into the prototype chain such that I can use proxy functionality with objects where I don't have control over their creation, I would happily get rid of a non-standard solution like __noSuchMethod__. The threads you mention have snippets of code that I use in real world applications all-day, every-day. Unfortunately, I can only use an elegant solution with Firefox right now, since its the only one that has __noSuchMethod__. For other platforms, I must use much hackier solutions.


- Bill

On Dec 5, 2011, at 10:20 AM, John J Barton wrote:

> On Mon, Dec 5, 2011 at 2:48 AM, Tom Van Cutsem <tomvc.be at gmail.com> wrote:
>> Hi,
>> There have previously been discussions on this list and elsewhere about
>> whether or not proxies cover the __noSuchMethod__ use case [1,2].
> ...
>> [1] https://mail.mozilla.org/pipermail/es-discuss/2011-October/017467.html
>> [2] https://bugzilla.mozilla.org/show_bug.cgi?id=683218#c8
> The references here discuss how proxies can/cannot implement
> __noSuchMethod__. Is there a use case for __noSuchMethod__? As in why
> would anyone want such a thing?
> Thanks,
> jjb
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

More information about the es-discuss mailing list