Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

pdf.js.refs Reference images

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.

Layout

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 the browsertest label to request one). Open pr/<number>/<run id>/<platform>/reftest-analyzer.html#web=eq.log to compare the differing pages with their references. Reports are removed after 30 days.
  • per-test-index.json: the per-test coverage index used by npx gulp coverage_search.
  • makeref-badge.json: a shields.io endpoint telling whether the last reference images update on main succeeded, shown as a badge in the pdf.js README.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors