Now CodeGeneratorV8.pm can generate Event constructors using [ConstructorTemplate=Event] IDL (bug 72055). CodeGeneratorJS.pm should also generate the Event constructors.
Created attachment 114911 [details] Patch
Comment on attachment 114911 [details] Patch Looks like the win-ews is red.
Created attachment 114975 [details] Try again to see if build succeeds
Created attachment 115152 [details] Try again to see if the win build looks happy
Created attachment 115159 [details] To see if win build looks happy
Created attachment 115422 [details] Another try
Adam: The patch has not yet passed win build... The problem seems to be related to how a template definition in a header file (i.e. JSDictionary::tryGetProperty) is treated when we try to separately compile cpp files which are using the header file and link them. By the way, this problem is just a "temporal" problem. If we land all the patches for bug 71379 and thus JSEventConstructors.cpp is removed, this problem will go away. (No error is occurring in win build with the WIP patch for bug 71379.) In summary, trying to address this problem is not so important in the end. So is it OK to give up this patch and land the WIP patch for bug 71379 at a breath? (If it is OK, I will create a new bug for it and upload the patch for review again.)
Sure. That's fine.
*** This bug has been marked as a duplicate of bug 72577 ***