pdf.js/test
Jonas Jenwald 56a43a3181 Make XRef_indexObjects more robust against bad PDF files (issue 5752)
This patch improves the detection of `xref` in files where it is followed by an arbitrary whitespace character (not just a line-breaking char).
It also adds a check for missing whitespace, e.g. `1 0 obj<<`, to speed up `readToken` for the PDF file in the referenced issue.
Finally, the patch also replaces a bunch of magic numbers with suitably named constants.

Fixes 5752.

Also improves 6243, but there are still issues.
2015-08-21 20:33:02 +02:00
..
features cleaned whitespace 2015-02-17 11:07:37 -05:00
font cleaned whitespace 2015-02-17 11:07:37 -05:00
mozcentral cleaned whitespace 2015-02-17 11:07:37 -05:00
pdfs Make XRef_indexObjects more robust against bad PDF files (issue 5752) 2015-08-21 20:33:02 +02:00
resources Merge pull request #5905 from timvandermeij/specialpowers 2015-04-27 10:36:54 -07:00
stats cleaned whitespace 2015-02-17 11:07:37 -05:00
ttx Update fonttools location and version (issue 6223) 2015-07-17 12:51:09 +02:00
unit Merge pull request #6236 from Rob--W/print-javascript-action 2015-07-25 19:42:31 +02:00
.gitignore Ignore test snapshots directory. 2013-03-15 11:24:08 -07:00
downloadutils.js Fixes lint warning W004 in /test 2014-04-11 00:02:33 +02:00
driver.js Add --testfilter (-t) flag to run a specific test 2015-07-18 17:31:56 +02:00
test_manifest.json Make XRef_indexObjects more robust against bad PDF files (issue 5752) 2015-08-21 20:33:02 +02:00
test_slave.html Implement an option to disable automatic scrolling 2015-05-21 20:19:36 +02:00
test.js Add --testfilter (-t) flag to run a specific test 2015-07-18 17:31:56 +02:00
testutils.js Improve robustness of builder (esp. on Windows) 2015-07-16 21:40:57 +02:00
webbrowser.js Merge pull request #6222 from Rob--W/botio-robustness 2015-08-03 10:10:35 -07:00
webserver.js Fix lint error: "test/webserver.js: line 177, col 106, Line is too long." 2015-01-08 12:22:34 +01:00