[Webkit-unassigned] [Bug 207565] New: WebDriver: return invalidSessionID exception if the WebProcess doesn't respond (crashes)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 11 11:02:18 PST 2020


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

            Bug ID: 207565
           Summary: WebDriver: return invalidSessionID exception if the
                    WebProcess doesn't respond (crashes)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: bburg at apple.com, bugs-noreply at webkitgtk.org,
                    cgarcia at igalia.com

One method the WPT runner uses to detect a crash inside the browser its to check if WebDriver continues to respond to a simple property get over the connection like current_window_handle

If an exception its returned then its assumed the browser has crashed and WebDriver its restarted

Currently the WebKitGTK webdriver hangs instead of returning an exception.

The Chrome WebDriver returns an InvalidSessionID message in case of crash with the error code "session deleted because of page crash"

We can do something similar for WebKitGTK WebDriver

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200211/0f7801bf/attachment-0001.htm>


More information about the webkit-unassigned mailing list