brave/brave-browser

PDFs with a "blob:" URL cannot be saved on desktop or iOS

Open

#46,348 建立於 2025年5月26日

在 GitHub 查看
 (3 留言) (4 反應) (0 負責人)JavaScript (2,164 fork)batch import
OS/DesktopOS/iOSgood first issuepriority/P4

倉庫指標

Star
 (16,194 star)
PR 合併指標
 (平均合併 10小時 41分鐘) (30 天內合併 15 個 PR)

描述

Description

PDFs with URLs of type “blob:” are displayed correctly but cannot be saved. This occurs in both desktop and iOS versions, but on desktop you can use "Print to PDF" as a workaround.

Steps to reproduce

PDFs with blob-type URLs: are typically generated upon user request (e.g., when clicking a button). My file is from an area reserved to registered users and I cannot share the URL.

Actual result

  • In the desktop version (I use Windows) the "Save As" command in context menu is disabled and CTRL+S does not work
  • On iOS, “Save to File” is missing from the share menu because the file is shared as link only.

Expected result

  • On desktop, the "Save as" command should be available, if possible. Other Chromium browsers have the same behavior as Brave, while Firefox can download the document normally.
  • On iOS, Safari can download the file because the share menu mode is “1 document and 1 link” and Save to File is available. Brave should probably implement this feature in the same way as Safari.

Reproduces how often

Easily reproduced

Brave version

1.78

Device/iOS version

iPhone, iOS 18.5 Windows 11

Affected browser versions

  • latest AppStore
  • latest TestFlight
  • previous TestFlight

Reproducibility

  • with Brave Shields disabled
  • in the latest version of mobile Safari

Miscellaneous information

No response

貢獻者指南