Bug 119953

Summary: Tries to fetch plugins information once and again when plugin process fails
Product: WebKit Reporter: Claudio Saavedra <csaavedra>
Component: WebKit2Assignee: 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
Reported 2013-08-17 10:09:37 PDT
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
Note You need to log in before you can comment on or make changes to this bug.