Bug 80618
Summary: | Generated ObjC binding code is incorrect for static functions | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jon Lee <jonlee> |
Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.7 |
Jon Lee
In TestObj.idl:
static void classMethod();
static long classMethodWithOptional(in [Optional] long arg);
Leads to generated code:
- (void)classMethod
{
WebCore::JSMainThreadNullState state;
IMPL->classMethod();
}
- (int)classMethodWithOptional:(int)arg
{
WebCore::JSMainThreadNullState state;
return IMPL->classMethodWithOptional(arg);
}
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |