[Webkit-unassigned] [Bug 36667] Plugin versions are not propagated to navigator.plugins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 17 15:01:43 PDT 2010


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


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #4 from Alexey Proskuryakov <ap at webkit.org>  2010-05-17 15:01:43 PST ---
My other question was how plug-ins expose this information. In particular, there are several places in a plist on Mac OS X that contain version. Looking at QuickTime plug-in for example:

    <key>CFBundleShortVersionString</key>
    <string>7.6.6</string>
    <key>CFBundleVersion</key>
    <string>1674</string>
    <key>CFBundleGetInfoString</key>
    <string>QuickTime Plugin, 7.6.6 Copyright Apple Inc. 1989-2010</string>

Firefox seems to use CFBundleShortVersionString. Is this what Chromium uses to populate this field in PluginData? Where does it come from for unpackaged plug-ins?

It doesn't really make a lot of sense to only implement this for Chrome, but expose an always empty version string in every other WebKit-based browser. It can be challenging to implement this property on all platforms at once, but something needs to be done to solve this. Personally, I'd try to fix as many platforms as I can, then hide the IDL attribute behind an #if check for others.

This definitely needs a regression test - we have a test plug-in that can be accessed from automated tests.

Sorry that this take a while. To make sure that a patch sticks in review queue for everyone to see, please follow <http://webkit.org/coding/contributing.html>.

-- 
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