pdf.js/test
mduan eb8f4e8343 Handle some illegal characters in hex string
Do not throw exception when hex strings are in the wrong format

Currently pdf.js is throwing an exception for the following hex string:

`<7 0 2 15 5 2 2 2 4 3 2 4>`

The issue is that the 15 is not a valid hex character so pdf.js ends up
throwing an exception.

This diff changes the parser to process the above hex string as follow:

`70 21 55 2 24 32` (Note: the final 4 of the hex string is ignored)

replicating the behaviour of MuPDF, and doesn't throw an exception.
2013-01-08 15:29:24 -08:00
..
features Tests presence of the xhr-response in the worker 2012-12-11 11:07:58 -06:00
font Rejects post table if maxp numGlyph does not match 2012-11-14 16:17:06 -06:00
mozcentral Sync with m-c http://hg.mozilla.org/mozilla-central/rev/162130598df0 2012-09-07 20:21:07 -05:00
pdfs Merge pull request #2463 from brendandahl/remove-cid-keys 2013-01-03 10:24:49 -08:00
resources Changing special-power version to 13.0 2012-02-19 14:49:08 -06:00
stats Start of the stat utilities. 2012-12-10 10:19:02 -08:00
ttx Adds ttx test harness 2012-11-01 19:29:04 -05:00
unit Handle some illegal characters in hex string 2013-01-08 15:29:24 -08:00
.gitignore Ignore test log files 2012-10-26 08:46:58 -05:00
driver.js Start of the stat utilities. 2012-12-10 10:19:02 -08:00
test_manifest.json Temporarily remove cid_cff test file. 2013-01-03 16:56:44 -08:00
test_slave.html Change to the Apache v2 license. 2012-08-31 15:48:21 -07:00
test.py Start of the stat utilities. 2012-12-10 10:19:02 -08:00