[webkit-changes] [WebKit/WebKit] e3baf7: Cherry-pick 282835 at main (a9ad2809c622). https://bu...

Carlos Garcia Campos noreply at github.com
Wed Aug 28 04:16:49 PDT 2024


  Branch: refs/heads/webkitglib/2.46
  Home:   https://github.com/WebKit/WebKit
  Commit: e3baf7a1b6f3077507a351283c09cac452881373
      https://github.com/WebKit/WebKit/commit/e3baf7a1b6f3077507a351283c09cac452881373
  Author: Carlos Alberto Lopez Perez <clopez at igalia.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp

  Log Message:
  -----------
  Cherry-pick 282835 at main (a9ad2809c622). https://bugs.webkit.org/show_bug.cgi?id=277045

    [GTK][WPE] Add webkit://gpu/stdout to dump the info from webkit://gpu to stdout
    https://bugs.webkit.org/show_bug.cgi?id=277045

    Reviewed by Carlos Garcia Campos and Nikolas Zimmermann.

    This helps getting the info about the GPU on stdout when working with
    remote/headless/virtualized screens where sending input events or
    taking screenshots is complicated.

    * Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:
    (WebKit::prettyPrintJSON):
    (WebKit::WebKitProtocolHandler::handleGPU):

    Canonical link: https://commits.webkit.org/282835@main


  Commit: b720dd925c2e16a3ff7d2782249f834f49a2c058
      https://github.com/WebKit/WebKit/commit/b720dd925c2e16a3ff7d2782249f834f49a2c058
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  Cherry-pick 282837 at main (53e913bba2fa). https://bugs.webkit.org/show_bug.cgi?id=278644

    REGRESSION(281966 at main): [GTK] can't drag and drop files to a gitlab issue
    https://bugs.webkit.org/show_bug.cgi?id=278644

    Reviewed by Adrian Perez de Castro.

    The problem is that WebPageProxy::performDragOperation() no longer sends
    the request to the web process immediately, but after sending a message
    to the network process. In GTK the leave notification is emitted right
    after the drop, so we end up sending the exit operation to the web
    process before the actual drop operation. We don't really need to wait
    until the paths have been allowed in the network process to continue
    with the drag operation. Once the operation is performed and the upload
    request is sent to the network process, the previous message to allow
    the file has already been handled. Also make sure we only grant access
    to files when the operation is going to be performed, not for enter,
    update or exit operations.

    * Source/WebKit/UIProcess/WebPageProxy.cpp:
    (WebKit::WebPageProxy::performDragOperation):
    (WebKit::WebPageProxy::performDragControllerAction):

    Canonical link: https://commits.webkit.org/282837@main


Compare: https://github.com/WebKit/WebKit/compare/bb76b1e57b24...b720dd925c2e

To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list