Reference images for the pdf.js reference tests.
The reference (ref) tests render PDF pages and compare the output against the known-good images stored here. This repository holds those baseline images.
The main branch mirrors the test/ref/ directory of a pdf.js checkout:
<platform>/<browser>/<test id>/<page>.png
with <platform> being Node's process.platform (linux, win32) and
<browser> currently always firefox. The images are regenerated by the
Reference tests
workflow of mozilla/pdf.js.pdfs on every push to pdf.js master. The history is
not kept: main is a single commit, rewritten by each update. Each update is
tagged makeref-<date>-<run id> for 60 days, because the reports pin the
revision they were compared against.
The gh-pages branch is served at https://mozilla.github.io/pdf.js.refs/ and
holds:
pr/<number>/: the report of the last reference test run requested on a pull request (a user with write access adds thebrowsertestlabel to request one). Openpr/<number>/<run id>/<platform>/reftest-analyzer.html#web=eq.logto compare the differing pages with their references. Reports are removed after 30 days.per-test-index.json: the per-test coverage index used bynpx gulp coverage_search.makeref-badge.json: a shields.io endpoint telling whether the last reference images update onmainsucceeded, shown as a badge in the pdf.js README.