[webkit-changes] [WebKit/WebKit] 55447b: BLOB download is not being moved to its final dest...

Per Arne Vollan noreply at github.com
Fri Nov 1 16:58:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 55447b15afbc50aba4ee45a453061def772c6d1e
      https://github.com/WebKit/WebKit/commit/55447b15afbc50aba4ee45a453061def772c6d1e
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M Source/WebKit/NetworkProcess/NetworkDataTaskBlob.cpp

  Log Message:
  -----------
  BLOB download is not being moved to its final destination
https://bugs.webkit.org/show_bug.cgi?id=282453
rdar://138012063

Reviewed by Chris Dumez.

This is because we are revoking the sandbox extension to the downloaded file before the system moves
the file to its final location. This patch transfers the sandbox extension to the Download object,
in the same way we do for standard downloads. This change makes sure that we are not revoking the
sandbox extension until the file has been moved to its final location.

* Source/WebKit/NetworkProcess/NetworkDataTaskBlob.cpp:
(WebKit::NetworkDataTaskBlob::didFinishDownload):

Canonical link: https://commits.webkit.org/286037@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