Skip to content

[Bug]: Print is broken with prebuilt on Firefox #19988

Open
@SuperPat45

Description

@SuperPat45

Attach (recommended) or Link to PDF file

.

Web browser and its version

Firefox 139

Operating system and its version

Windows 11

PDF.js version

5.3.31

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Host the latest version of the prebuild on a personal server without any modifications.
  2. Open the viewer page with the default PDF or upload any pdf.
  3. I note that the PDF is fully loaded in the viewer.
  4. Try to print.

What is the expected behavior?

The print window open and show the PDF pages

What went wrong?

A blank page is previewed, except a broken image in the center
If you press Shift + the browser reload button, the print preview works.
But if I refresh again the page without the shift, the print preview is broken again.

No error in console.

This works correctly with Chrome.

The demo of the https://mozilla.github.io/pdf.js/web/viewer.html site works correctly.

Link to a viewer

No response

Additional context

Image

What could be causing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions