Re: [heycam/webidl] How to tell the type of "construct a callback function"? (#557)

Fwiw, from Gecko's point of view it doesn't matter so far what we do here: there is only one use case and hardcoding it to call with no arguments was about 20 lines of code (<https://searchfox.org/mozilla-central/rev/2aa42f2cab4a110edf21dd7281ac23a1ea8901f9/dom/base/CustomElementRegistry.cpp#113-139>); way less code than it would take to change binding generation to allow constructing in addition to invoking, especially with arbitrary argument and return types...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/557#issuecomment-391045457

Received on Tuesday, 22 May 2018 15:59:24 UTC