[Webkit-unassigned] [Bug 166392] New: [iOS] Background assertion not taken if Web process crashes while loading and the navigation delegate initiates a new load from under -webViewWebContentProcessDidTerminate:

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 21 14:01:02 PST 2016


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

            Bug ID: 166392
           Summary: [iOS] Background assertion not taken if Web process
                    crashes while loading and the navigation delegate
                    initiates a new load from under
                    -webViewWebContentProcessDidTerminate:
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: NeedsRadar
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mitz at webkit.org
                CC: barraclough at apple.com

When a web view is loading and its Web Content process crashes, if the navigation delegate initiates a new load from -webViewWebContentProcessDidTerminate:, then the PageLoadingState’s isLoading() never transitions to false. As a result, NavigationState::didChangeIsLoading doesn’t get called, and as a result of that, we fail to obtain an activity token for the new process, and as a result, the process may fail to receive a background assertion (if the web view is offscreen) and will fail to start the load.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161221/51372fdd/attachment.html>


More information about the webkit-unassigned mailing list