Summary: | Crash trying to empty caches with no WebProcess. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brady Eidson <beidson> | ||||||
Component: | WebKit2 | Assignee: | Brady Eidson <beidson> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | Keywords: | InRadar | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Brady Eidson
2010-12-03 13:48:56 PST
Created attachment 75538 [details]
Proprosed fix v1
Comment on attachment 75538 [details] Proprosed fix v1 View in context: https://bugs.webkit.org/attachment.cgi?id=75538&action=review > WebKit2/UIProcess/WebContext.cpp:182 > + if (m_clearResourceCachesForNewWebProcess) { > + m_process->send(Messages::WebProcess::ClearResourceCaches(), 0); > + m_clearResourceCachesForNewWebProcess = false; > + } > + > + if (m_clearApplicationCacheForNewWebProcess) { > + m_process->send(Messages::WebProcess::ClearApplicationCache(), 0); > + m_clearApplicationCacheForNewWebProcess = false; > + } This should use the process initialization message idiom used above in this function, instead of sending its own messages. Created attachment 75539 [details]
Fix v2
|