Bug 119953
| Summary: | Tries to fetch plugins information once and again when plugin process fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Claudio Saavedra <csaavedra> |
| Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cgarcia, mrobinson |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://bugzilla.gnome.org/show_bug.cgi?id=706210 | ||
Claudio Saavedra
This is problematic when GetPlugins fails somehow:
void WebPlatformStrategies::populatePluginCache()
{
if (m_pluginCacheIsPopulated)
return;
ASSERT(m_cachedPlugins.isEmpty());
// FIXME: Should we do something in case of error here?
if
(!WebProcess::shared().parentProcessConnection()->sendSync(Messages::WebProcessProxy::GetPlugins(m_shouldRefreshPlugins),
Messages::WebProcessProxy::GetPlugins::Reply(m_cachedPlugins,
m_cachedApplicationPlugins), 0))
return;
m_shouldRefreshPlugins = false;
m_pluginCacheIsPopulated = true;
}
If this fails we shouldn't be checking once an again.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |