[Webkit-unassigned] [Bug 20141] Cannot call pointer to function console.log
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 11 00:01:22 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=20141
--- Comment #12 from Victor Costan <costan at gmail.com> 2013-04-10 23:59:37 PST ---
(copied from the description of #114406)
In order to achieve this, the patch introduces the [LenientThis] WebKitIDL attribute, which is heavily inspired from the LenientThis WebIDL.
http://www.w3.org/TR/WebIDL/#LenientThis
I implemented LenientThis for methods. I figured the only way to not require a specific type for "this" is to completely ignore the value, so a LenientThis method calls a static method in WebCore. A LenientMethod is similar to a static method, but it can be accessed as a property of the interface instances, instead of being a property of the interface object. I hope this makes sense, and I look forward to feedback.
--
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