Bug 80619

Summary: Generated cpp binding code is incorrect for static functions
Product: WebKit Reporter: Jon Lee <jonlee>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Jon Lee
Reported 2012-03-08 11:38:36 PST
In TestObj.idl: static void classMethod(); static long classMethodWithOptional(in [Optional] long arg); Leads to generated code: WebDOMTestObj.h: void classMethod(); int classMethodWithOptional(int arg); WebDOMTestObj.cpp: void WebDOMTestObj::classMethod() { if (!impl()) return; impl()->classMethod(); } int WebDOMTestObj::classMethodWithOptional(int arg) { if (!impl()) return 0; return impl()->classMethodWithOptional(arg); }
Attachments
Note You need to log in before you can comment on or make changes to this bug.