Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Broken array access on NPObjects?
Forum Updated to NodeBB v4.3 + New Features

Broken array access on NPObjects?

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 626 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    obs_sergio
    wrote on last edited by
    #1

    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)

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved