[webkit-dev] Invocation with undefined this on JS binding object

Xabier Rodríguez Calvar calvaris at igalia.com
Wed Jul 1 11:05:00 PDT 2015


	Hi,

O Mér, 01-07-2015 ás 19:59 +0200, Xabier Rodríguez Calvar escribiu:
> The problem is that it checks that "this" casts to the class and of
> course it fails because the spec says it has to be undefined. I 
> haven't
> found any way to overcome this, even making the method custom.

I guess the most obvious answer is that I have to create the function
manually and set it as object property but I wondered if there were any
other way.

Br.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20150701/ae2a00d6/attachment.sig>


More information about the webkit-dev mailing list