To handle the case of the session being closed by the browser, for example in case of a network process crash. This is currently causing WebDriver tests to timeout in the bot.
Created attachment 340978 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment on attachment 340978 [details] Patch Attachment 340978 [details] did not pass win-ews (win): Output: http://webkit-queues.webkit.org/results/7765003 New failing tests: http/tests/security/contentSecurityPolicy/userAgentShadowDOM/allow-audio.html
Created attachment 340982 [details] Archive of layout-test-results from ews201 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews201 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Comment on attachment 340978 [details] Patch r=me, though you may want to consult a GTK reviewer as well.
Comment on attachment 340978 [details] Patch GTK changes are fine.
Committed r232111: <https://trac.webkit.org/changeset/232111>