WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
207565
WebDriver: return invalidSessionID exception if the WebProcess doesn't respond (crashes)
https://bugs.webkit.org/show_bug.cgi?id=207565
Summary
WebDriver: return invalidSessionID exception if the WebProcess doesn't respon...
Carlos Alberto Lopez Perez
Reported
2020-02-11 11:02:18 PST
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
Attachments
Patch
(1.51 KB, patch)
2020-02-11 11:08 PST
,
Carlos Alberto Lopez Perez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Alberto Lopez Perez
Comment 1
2020-02-11 11:08:47 PST
Created
attachment 390394
[details]
Patch
Carlos Alberto Lopez Perez
Comment 2
2020-02-12 05:16:09 PST
Comment on
attachment 390394
[details]
Patch Clearing flags on attachment: 390394 Committed
r256430
: <
https://trac.webkit.org/changeset/256430
>
Carlos Alberto Lopez Perez
Comment 3
2020-02-12 05:16:13 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4
2020-02-12 05:17:14 PST
<
rdar://problem/59383477
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug