WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
80619
Generated cpp binding code is incorrect for static functions
https://bugs.webkit.org/show_bug.cgi?id=80619
Summary
Generated cpp binding code is incorrect for static functions
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug