Comment #2 on issue 264 by [email protected]: Allow  
__noSuchMethod__ implementations
http://code.google.com/p/v8/issues/detail?id=264

I am the original requestor for this enhancement to be added to the Mozilla  
codebase
years ago (back in 2003 actually). Therefore, I am very, very excited that  
you guys
add it to V8! ECMA e4 is now a dead branch of the language and the ECMA  
committee has
decided to move more slowly, starting with ECMA e5.

I would say that both the C-based Spidermonkey JS engine and the Java-based  
Rhino
engine have implemented __noSuchMethod__ and, for us ex-Smalltalkers,  
having a
'doesNotUnderstand'-like functionality is very empowering :-).

Here is the original URL in the Mozilla Bugzilla bug database that added  
support for it:

https://bugzilla.mozilla.org/show_bug.cgi?id=196097

I've attached the same test case file that I used for that bug here. It  
exercises the
hook quite well, especially 'scott's test'.

I've also proposed this to the ECMA committee and have attached that  
proposal to this
bug as another file. It explains the rationale for such a mechanism in  
detail.

Feel free to contact me for further details or for someone to test this  
when you add it!!

Thanks very much!

Cheers,

- Bill


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to