[webkit-dev] NPN_IdentifierIsString always return true?

2009-12-09 Thread Eddy Bruël
Hi everybody, I'm currently in the process of building a scriptable plugin using NPAPI/NPRuntime, and I'm trying to make the thing work with both ordinary property access and array access. To this end, I have the following check in the implementation of my hasProperty() / getProperty() if

Re: [webkit-dev] NPN_IdentifierIsString always return true?

2009-12-09 Thread Darin Adler
On Dec 9, 2009, at 4:41 AM, Eddy Bruël wrote: However, when I trace my plugin, I notice that NPN_IdentifierIsString() always returns true, even if I do an array access. It looks like the array index gets converted to a string before it is passed to any of my callbacks. This doesn't seem