Broken array access on NPObjects?

  • On some versions of QtWebkit the access of NPObjects via the '[]' operator seems to be broken:

    • if the index in the [] operator is a number, there is no interaction with the plugin and it does not receive calls to HasProperty, GetProperty, HasMethod or Invoke;

    • if the index is a string (e.g. array["1"]) everything works as expected;

    I saw this problem on:

    • Qt 4.8.6 distributed on Ubuntu

    • Qt 5.2.0 (I compiled it for an embedded platform)

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.