RESOLVED INVALID 77404
[safari] Passing identicial JS objects to NP plugins results in new NPObject each time
https://bugs.webkit.org/show_bug.cgi?id=77404
Summary [safari] Passing identicial JS objects to NP plugins results in new NPObject ...
duncantebbs
Reported 2012-01-30 22:04:39 PST
When passing objects from JS to the plugin. var a = {}; plugin.f(a, a); The plugin sees an argument list containing two different NPObject pointers. On Firefox and Chrome, the same NPObject pointer appears twice in the list, allowing the plugin to test whether the arguments are the same. Observed with Safari 5.1.2 (6534.52.7) on OS X 10.6. Under Windows (Windows 7, 64 bit, Safari 5.1.2(7534.52.7)) the same NPObject pointer seems to be passed to the plugin.
Attachments
Anders Carlsson
Comment 1 2016-05-30 11:13:51 PDT
I think this works with WebKit2. If it doesn't work, we're not likely to fix it - our plug-in code is in maintenance mode only.
Note You need to log in before you can comment on or make changes to this bug.