[Webkit-unassigned] [Bug 136478] New: Initialize m_usesNetworkProcess earlier in WebProcess::initializeWebProcess()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 3 03:32:01 PDT 2014


           Summary: Initialize m_usesNetworkProcess earlier in
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cgarcia at igalia.com
                CC: andersca at apple.com, beidson at apple.com, gns at gnome.org,
                    svillar at igalia.com

I realized that we were initializing some network features like the disk cache in all the web processes even when using the network process. The reason is because we rely on WebProcess::usesNetworkProcess() method in WebProcess::platformSetCacheModel() and WebProcess::platformInitializeWebProcess() and both are called before m_usesNetworkProcess is initialized. So, we are initializing everything, but not freeing it, because after the initializeWebProcess(), usesNetworkProcess() always returns true.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list