Skip to content

DocumentCloud embed fails to render PDF pages in Pale Moon #1313

@Gittyperson

Description

@Gittyperson

Per your email request, I am filing this as a GitHub ticket.

Reporting a rendering issue with DocumentCloud in the Pale Moon desktop browser.

The issue is easily reproducible for example on this direct embed URL:

https://embed.documentcloud.org/documents/6223343-Gary-Goforth/?mode=document&embed=1

What happens:

  • the viewer shell loads
  • the page count is detected
  • page placeholders appear
  • but the actual PDF page content does not render

Browser console reports:
SyntaxError: export declarations may only appear at top level of a module

in:
pdf.worker.ByF8NTMy.mjs

There is also an integrity-related console message, but the PDF worker/module error appears to be the key issue, because the viewer initializes while page rendering fails.

This is reproducible on a direct DocumentCloud embed URL, so it does not appear to depend on a third-party site’s layout wrapper.

Screenshot of the rendered result:

Image

Environment:
Browser: Pale Moon 34.1.0 (64-bit)
OS: Windows 10 22H2 (build 19045.7058)

Metadata

Metadata

Assignees

No one assigned

    Labels

    spring cleaningThings to discuss (and maybe close) at spring cleaning.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions