Changeset 256302 in webkit


Ignore:
Timestamp:
Feb 11, 2020 5:09:59 AM (4 years ago)
Author:
commit-queue@webkit.org
Message:

[WPE][WebDriver] MiniBrowser should react to close session commands
https://bugs.webkit.org/show_bug.cgi?id=207529

Patch by Lauro Moura <Lauro Moura> on 2020-02-11
Reviewed by Carlos Garcia Campos.

WebDriver delete session command asks to close the WebView associated to the
current automation session. We must react to it to avoid lots of
timeouts and errors.

  • MiniBrowser/wpe/main.cpp:

(main): Listen to "close" signal on the main WebView.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r256297 r256302  
     12020-02-11  Lauro Moura  <lmoura@igalia.com>
     2
     3        [WPE][WebDriver] MiniBrowser should react to close session commands
     4        https://bugs.webkit.org/show_bug.cgi?id=207529
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        WebDriver delete session command asks to close the WebView associated to the
     9        current automation session. We must react to it to avoid lots of
     10        timeouts and errors.
     11
     12        * MiniBrowser/wpe/main.cpp:
     13        (main): Listen to "close" signal on the main WebView.
     14
    1152020-02-11  Wenson Hsieh  <wenson_hsieh@apple.com>
    216
  • trunk/Tools/MiniBrowser/wpe/main.cpp

    r250722 r256302  
    301301    g_signal_connect(webView, "permission-request", G_CALLBACK(decidePermissionRequest), nullptr);
    302302    g_signal_connect(webView, "create", G_CALLBACK(createWebView), nullptr);
     303    g_signal_connect(webView, "close", G_CALLBACK(webViewClose), nullptr);
    303304
    304305    if (ignoreTLSErrors)
Note: See TracChangeset for help on using the changeset viewer.