embedpdf failures in a self-contained page

This page is built with embed-resources: true, so each PDF is inside the page. No embed on it can show its PDF. The checks in tests/ open a copy of the page with no other file beside it.

A file that is not a PDF

The file files/broken.pdf holds text, not a PDF, so PDF.js cannot load it. The embed shows “This PDF cannot be shown here.” and a “Download the PDF” link that saves the file as broken.pdf.

Inlined PDFs that cannot be decoded

These two embeds are written by hand, not by the shortcode. Each data-src is a data: address whose base64 holds @, which is not a base64 character, so the browser cannot decode it. The first embed is set to renderer=pdfjs and the second to renderer=native. Each shows “This PDF cannot be shown here.” with no link.