Skip to content

Support providing a filename unconditionally, when passing binary data to PDFViewerApplication.open#21249

Merged
Snuffleupagus merged 1 commit into
mozilla:masterfrom
Snuffleupagus:open-filename-unconditional
May 10, 2026
Merged

Support providing a filename unconditionally, when passing binary data to PDFViewerApplication.open#21249
Snuffleupagus merged 1 commit into
mozilla:masterfrom
Snuffleupagus:open-filename-unconditional

Conversation

@Snuffleupagus
Copy link
Copy Markdown
Collaborator

Previously this was only supported in Firefox, however when merging PDFs the PDFViewerApplication.onSaveAndLoad method will provide a filename unconditionally.

…ata to `PDFViewerApplication.open`

Previously this was only supported in Firefox, however when merging PDFs the `PDFViewerApplication.onSaveAndLoad` method will provide a `filename` unconditionally.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.00%. Comparing base (e86e9d9) to head (0763c69).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #21249      +/-   ##
==========================================
+ Coverage   54.57%   56.00%   +1.43%     
==========================================
  Files         216      220       +4     
  Lines       58860    58964     +104     
==========================================
+ Hits        32120    33020     +900     
+ Misses      26740    25944     -796     
Flag Coverage Δ
unittest 55.33% <ø> (?)
unittestcli 54.55% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@timvandermeij timvandermeij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; thanks!

@Snuffleupagus Snuffleupagus merged commit 1079535 into mozilla:master May 10, 2026
18 checks passed
@Snuffleupagus Snuffleupagus removed the request for review from calixteman May 10, 2026 13:48
@Snuffleupagus Snuffleupagus deleted the open-filename-unconditional branch May 10, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants