[Webkit-unassigned] [Bug 110743] New: [WK2] WebPageProxy loadURL() won't work when called just after terminateProcess()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 25 03:28:45 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=110743

           Summary: [WK2] WebPageProxy loadURL() won't work when called
                    just after terminateProcess()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: savagobr at yahoo.com


Issue #109980 has a unit test that demonstrate this scenario.

loadURL() tests for the state of WebProcess to decide if there is a need to re-spawn it (in cases where a crash happened).

The issue is that the check depends in a variable that will not be updated when terminateProcess() has executed, thus, loading a page will fail. What would be expected is:

terminateProcess() --> loadURL() --> reattachtoWebProcess()

But what really is happening:

terminateProcess() --> loadURL() --> processDidCrash()


This is due to the fact that the complete WebProcess's resources teardown happens in processDidCrash(). Ideally, all cleanup should be done at terminateProcess().

-- 
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