Bug 62457
| Summary: | [QT] - cannot load a netscape plugin type in Linux QT mode | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Migounette <yann.stephan> |
| Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Migounette
System - Ubuntu 10.10 / x64
webKit (r88490) - QT mode
Build command - build-webkit --qt --debug
Summary: A netscape plugin type cannot be loaded, it fails during the initialization phase.
Possible cause:
If you try to load a Netscape plugin (embed mode), during the initialize phase (NetscapePlugin::initialize)
The following code prevent a Netscape plugin type to be loaded:
if (!platformPostInitialize()) { <== Return false
destroy();
return false;
}
due to ./Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginNone.cpp which seems to be a stub.
bool NetscapePlugin::platformPostInitialize()
{
return false;
}
I can't find NetscapePluginQt.cpp which was present in earlier build (r74228)
So, the init phase is stopped and the plugin is unloaded and destroyed before the setwindow is done.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jocelyn Turcotte
=== Bulk closing of Qt bugs ===
If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.
If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.