We should send a message to network process to create a privateBrowsing session instead of using the creation parameter.
Created attachment 347844 [details] Patch
Comment on attachment 347844 [details] Patch This doesn't accomplish anything useful except separating a message into two messages.
I was trying to remove the whole networkProcessCreationParameters, aiming to stop the initializing network process from processPool. But it seems we still need to send a lot of setting messages through webprocesspool, so I am not sure if this is a correct idea now...
Comment on attachment 347844 [details] Patch You only need to remove the NetworkProcessCreationParameters members that come from a WebProcessPool. This one comes from a static function WebPreferences::anyPagesAreUsingPrivateBrowsing