brave/brave-browser

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

オープン

#46,348 opened on 2025/05/26

 (3 件のコメント) (4 件のリアクション) (0 人の担当者)JavaScript (2,164 件のフォーク)batch import
OS/DesktopOS/iOSgood first issuepriority/P4

Repository metrics

Stars
 (16,194 個のスター)
PR merge metrics
 (平均マージ 4h 38m) (30d で 19 merged PRs)

説明

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

コントリビューターガイド