mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Add a (linked) load
test for PR 4731
Re: PR 4731. Since the URL points to the Internet Archive, I think that adding a linked test-case should be OK. (Also, it's difficult to create reduced, or even `unit`, tests that accurately captures the brokenness of real-world PDF files.) *Please note:* Since this is a `load` test, `makeref`ing won't be needed.
This commit is contained in:
parent
678b662720
commit
09b825d1be
2 changed files with 9 additions and 0 deletions
1
test/pdfs/pr4731.pdf.link
Normal file
1
test/pdfs/pr4731.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
http://web.archive.org/web/20150830132600/http://rudar.ruc.dk/bitstream/1800/12945/1/samlet-29Nov1035.pdf
|
|
@ -1035,6 +1035,14 @@
|
|||
"link": false,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "pr4731",
|
||||
"file": "pdfs/pr4731.pdf",
|
||||
"md5": "0121642027e525c4b95357f1b5669e64",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"lastPage": 1,
|
||||
"type": "load"
|
||||
},
|
||||
{ "id": "S2-eq",
|
||||
"file": "pdfs/S2.pdf",
|
||||
"md5": "d0b6137846df6e0fe058f234a87fb588",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue