[Webkit-unassigned] [Bug 137191] New: REGRESSION(r172919): WebKitPluginProcess fails to scan GTK+2 plugins after r172919.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 28 02:07:35 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=137191
Summary: REGRESSION(r172919): WebKitPluginProcess fails to scan
GTK+2 plugins after r172919.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Keywords: Gtk, Regression
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cgarcia at igalia.com
CC: gns at gnome.org, pnormand at igalia.com, svillar at igalia.com
In r172919 I moved the GTK+ symbols mix check earlier, before the plugin is loaded and initialized. That made impossible to use the gtk3 plugin process to scan gtk2 plugins, because we need to load the plugin to get its metadata.
$ bin/WebKitPluginProcess -scanPlugin /usr/lib/mozilla/plugins/flash-mozilla.so
$ echo $?
1
$ bin/WebKitPluginProcess2 -scanPlugin /usr/lib/mozilla/plugins/flash-mozilla.so
Shockwave Flash
Shockwave Flash 11.2 r202
application/x-shockwave-flash:swf:Shockwave Flash;application/futuresplash:spl:FutureSplash Player
requires-gtk2
We need to load and initialize the plugin to get its metadata, but not to check if it requires GTK2, so we can move that check to the UI process to decide also which plugin process to use when scanning a plugin. This problem hasn't been noticed earlier thanks to the plugins cache, but after a flash plugin upgrade of my distro, the cache forces a new scan of the plugin that always fails.
--
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