[Webkit-unassigned] [Bug 77404] New: [safari] Passing identicial JS objects to NP plugins results in new NPObject each time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 30 22:04:39 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=77404

           Summary: [safari] Passing identicial JS objects to NP plugins
                    results in new NPObject each time
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: duncantebbs at turbulenz.com


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list