[Webkit-unassigned] [Bug 80005] Implement strict testing criterion for callback function definition

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 7 00:23:59 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=80005





--- Comment #14 from Yanbin <yanbin.zhang at intel.com>  2012-03-07 00:23:59 PST ---
(In reply to comment #13)
> (From update of attachment 130557 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=130557&action=review
> 
> > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:1233
> > +            push(@andExpression, "(${value}.isNull() || ${value}.isFunction())");
> 
> Sorry. There is no method JSValue.isFunction():
> http://code.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/JavaScriptCore/runtime/JSValue.h&exact_package=chromium&q=jsvalue&type=cs
> 
> Is there any alternative in JavaScriptCore?

I have looked into JSValue.h. There is no suitable expect isObject in JavaScriptCore.

It seem we should keep the original version for CodeGeneratorJS.pm.
I will generate a new patch .

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list