[webkit-changes] [WebKit/WebKit] 3c68f7: [glib] Call completion handler when download is ca...

ziransun noreply at github.com
Thu Dec 5 09:07:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3c68f7247f6bb68fa7e5ddc5892992c1d2958231
      https://github.com/WebKit/WebKit/commit/3c68f7247f6bb68fa7e5ddc5892992c1d2958231
  Author: Ziran Sun <zsun at igalia.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/glib/WebKitDownload.cpp
    M Tools/TestWebKitAPI/glib/TestExpectations.json

  Log Message:
  -----------
  [glib] Call completion handler when download is cancelled.
https://bugs.webkit.org/show_bug.cgi?id=281811

Reviewed by Michael Catanzaro and Carlos Garcia Campos.

We need to handle the case when download is cancelled in
webkitDownloadDecideDestinationWithSuggestedFilename in glib
as well to avoid memory leak etc..

* Source/WebKit/UIProcess/API/glib/WebKitDownload.cpp:
(webkitDownloadDecideDestinationWithSuggestedFilename):
* Tools/TestWebKitAPI/glib/TestExpectations.json:

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



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