On Tue, Apr 15, 2014 at 9:21 AM, <rossb...@chromium.org> wrote: > On 2014/04/15 13:05:23, arv wrote: > >> How are the callables in DOM represented? We use >> ObjectTemplate::SetCallAsFunctionHandler for these >> > > > https://code.google.com/p/chromium/codesearch#search/&q= > LegacyCallAsFunction%20file:%5C.idl&sq=package:chromium&type=cs > > https://code.google.com/p/chromium/codesearch#chromium/ > src/third_party/WebKit/Source/bindings/v8/V8NPObject.cpp&l=441 > > Hm, good question. I honestly don't know.
The good thing is that these DOM features are all legacy and we are removing NPAPI and Java applet support this year. That only leaves document.all as a callable dom object. So in practice assuming only JS_FUNCTION and JS_FUNCTION_PROXY seems sufficient. -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.