parallax / parallax/jsPDF

Save causes open in Firefox

Open
#3,391 15 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug difficulty:medium help wanted
Dominant language
JavaScript
Stars
31.3k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

On Windows 10 using the latest Firefox this
pdfdoc.save("sample.pdf");
only causes the PDF to be opened as a blob in the current window. No file gets saved to the computer.

I thought it was my code but the same thing happens from your demo page on Github.

It works fine with Chrome (and Edge).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing pdfdoc.save("sample.pdf") from the GitHub demo in the latest Firefox on Windows 10, then compare its behavior with Chrome and Edge. Trace the save entry point and identify why Firefox opens a blob instead of saving a file; done means the demo and the reported call save sample.pdf in Firefox.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.