Summary: | Flash plugin on WebKit GTK needs null window quirk | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Aaron Bockover <abockover> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | alp | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Aaron Bockover
2008-07-02 11:55:24 PDT
I just tested Flash 9, and it is ok with having a NULL window set, so this crash is specific to Flash 10 from what I can tell. Created attachment 22052 [details]
Version parsing and null window on destroy quirk for Flash 10
This patch adds version parsing for the Flash plugin. I am not aware of a standardized way to read plugin version information, so parsing it from the description string on a per-plugin basis is unfortunately the best I could come up with.
On Windows, there is a standard API to read version and other metadata from a DLL, which WebKit uses in that port.
If Flash 10 is detected, the PluginQuirkDontSetNullWindowHandleOnDestroy is applied to the plugin. Additionally, since now the Flash version is detected, the PluginQuirkWantsMozillaUserAgent quirk is only applied if Flash 9 or older is detected, like in the Windows port.
Comment on attachment 22052 [details]
Version parsing and null window on destroy quirk for Flash 10
r=me
Nice
|