[Webkit-unassigned] [Bug 87687] New: Check for GTK2/GTK3 symbol mismatch earlier
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 28 18:48:17 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=87687
Summary: Check for GTK2/GTK3 symbol mismatch earlier
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dsd at laptop.org
Daniel Drake <dsd at laptop.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #144423| |review?
Flag| |
Created an attachment (id=144423)
--> (https://bugs.webkit.org/attachment.cgi?id=144423&action=review)
patch
WebKit2 move plugins into their own process, but WebKit1 (built for GTK3) is left with the limitation that if a plugin links against GTK2, it will fail to run.
nspluginwrapper could maybe work around this issue, by adding in a process separation, but this doesn't work on current released WebKit. The affected sites just show an empty box where the content should be.
Using Flash as an example, I dug down and found that the behaviour is something like the following:
- Load both "real" libflashplayer and the wrapped libflashplayer
- Try to show the flash content using the real libflashplayer
- Abort because a mix of GTK2/GTK3 symbols was detected
And that's it - it didn't even try the wrapped libflashplayer which advertises support for the same mime types.
I found a way to fix this: Move the GTK2/GTK3 symbol check earlier, and don't even register plugins in the PluginDatabase if there is a symbol mismatch. See attached patch.
With this patch applied, I can finally view flash content in recent Epiphany versions, via nspluginwrapper!
--
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