[webkit-changes] [WebKit/WebKit] 6d1954: Add some properties to WKDownload

Alex Christensen noreply at github.com
Wed Aug 7 13:57:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6d1954745ba4a691092405c17cc694849d91d8c5
      https://github.com/WebKit/WebKit/commit/6d1954745ba4a691092405c17cc694849d91d8c5
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKDownload.h
    M Source/WebKit/UIProcess/API/Cocoa/WKDownload.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/Download.mm

  Log Message:
  -----------
  Add some properties to WKDownload
rdar://120389237

Reviewed by Chris Dumez.

Safari uses the originating frame and whether a user gesture was used to start the download.

* Source/WebKit/UIProcess/API/Cocoa/WKDownload.h:
* Source/WebKit/UIProcess/API/Cocoa/WKDownload.mm:
(-[WKDownload isUserInitiated]):
(-[WKDownload originatingFrame]):

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