Bug 154079

Summary: Fix assertions when loading from WebProcess
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

Description Alex Christensen 2016-02-10 11:11:46 PST
Fix assertions when loading from WebProcess
Comment 1 Alex Christensen 2016-02-10 11:21:34 PST
Created attachment 271008 [details]
Patch
Comment 2 Alex Christensen 2016-02-10 12:40:55 PST
Comment on attachment 271008 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=271008&action=review

> Source/WebKit2/UIProcess/WebPageProxy.cpp:486
> +        m_process->processPool().sendToAllProcesses(Messages::WebProcess::EnsurePrivateBrowsingSession(m_sessionID));

My one concern with this approach is that it will use more memory in each WebProcess for the private browsing sessions they probably won't use, but I can't think of another good solution other than ensuring the private browsing session for each load in a private browsing session.
Comment 3 Alex Christensen 2016-02-10 12:56:21 PST
http://trac.webkit.org/changeset/196384