mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-21 20:54:02 +02:00
The last unit-test didn't work correctly, since an error was thrown in `PDFDocument._hasOnlyDocumentSignatures` because the mocked `XRef`-instance wasn't actually being set correctly. Also, updates the `XRefMock` to use `async` methods where appropriate.