Tim van der Meij
b0349cd184
Use strict equalities in test/unit/{function_spec, stream_spec, testreporter}.js
11 years ago
Tim van der Meij
e525902241
Use strict equalities in test/driver.js
11 years ago
Jonas Jenwald
26f5b1b2d3
Add a couple of reduced test-cases for PR 4259
...
PR 4259 fixed a large number of font bugs, but none of those where added as test-cases. This was, in my opinion, unfortunate since it increases the risk of regressions in the future when other font bugs are fixed.
This PR simply adds a few more test-cases, to improve our test coverage somewhat.
11 years ago
Jonas Jenwald
50eeff2fab
Add a reduced test-case for issue 4800
11 years ago
Jonas Jenwald
e5f249605c
Add a reduced test-case for bug 1027533
11 years ago
Jonas Jenwald
2485f11829
Fix loading of PDF files with invalid or missing Type3 characters (issue 5039)
11 years ago
Jonas Jenwald
f13c217b25
Fix another seac regression (issue 4801)
11 years ago
Tim van der Meij
7586d777eb
Enforcing JSHint's undef option
11 years ago
Tim van der Meij
34728ee49b
Removing unused code
11 years ago
Jonas Jenwald
cbe097c0cb
In the reftest analyzer, make it possible to toggle "Circle differences" with the D key
...
It's currently possible to step through the test results using the <kbd>N</kbd> and <kbd>P</kbd> keys, and you can also switch between test and reference images with the <kbd>T</kbd> key.
However if you want to highlight the differences, that can only be done by clicking. This has always annoyed me somewhat, so this patch adds support for toggling the differences view with the <kbd>D</kbd> key.
11 years ago
Jonas Jenwald
a7c786775d
[CIDFontType2] Map characters missing in toUnicode to the private use area (bug 1028735 and issue 4881)
11 years ago
Jonas Jenwald
04975acceb
Prevent CMapFactory.create from failing by passing the necessary parameters from PartialEvaluator_readToUnicode (issue 5010)
11 years ago
Nicholas Nethercote
081866a184
Use null instead of [] for ops with no args.
...
This reduces peak RSS on one test file from ~600 to ~560 MiB.
11 years ago
Yury Delendik
bdeca30fbf
Splits shared/annotation.js into core/ and display/
11 years ago
pramodhkp
1d00e9d13c
Added getOperatorList to api.js
11 years ago
Jonas Jenwald
158790981c
Don't blindly trust toUnicode when building toFontChar for non-standard fonts without a font file (issue 4934)
11 years ago
Yury Delendik
34298e4ba7
Adds test case for JPX COC marker
11 years ago
Daniel West
1fce2856c6
Added support for decrypting PDF 1.7/2.0 Algorithm 5 revision 5 and 6.
...
*Added AES128 Encryption
*Added AES258 Encryption/Decryption
*Added SHA256
*Added SHA512
*Added class to handle 8 byte integers and associated bit operations
*Added SHA384
*Added routines to handle new algorithm and perform PDF2.0 hashing.
11 years ago
Nicholas Nethercote
7923eb7edb
Fix mishandling of incomplete, inverted masks.
11 years ago
Tim van der Meij
e9e5ac5a11
Removes statcmp.py
11 years ago
Yury Delendik
d379e31d7b
Adds CMYK JPEG test
11 years ago
fkaelberer
7492699543
Add cache expire time to test server
11 years ago
fkaelberer
d7aba7b98b
translate statcmp.py to javascript
11 years ago
Ole Michaelis
b4fb161255
adjust the aurora path in the tests browser.json
...
to match a default OSX installation path
11 years ago
Yury Delendik
fcc4dfd9b5
Moves shared/function.js to core/
11 years ago
Yury Delendik
7a19085159
Moves shared/colorspace.js into core/
11 years ago
Yury Delendik
d8eb8b1de1
Adds Promise to the getOperatorList
11 years ago
Jonas Jenwald
a984fe5b55
Add more unit tests for the API
11 years ago
Jonas Jenwald
3e1db41ddd
Fix loading of fonts with empty font files (bug 866395 and issue 3522)
11 years ago
Christian Krebs
3e7bcaa892
Handle nested post script arguments in the preprocessor
...
Fix for issue #4785
11 years ago
Jonas Jenwald
3adab8b183
Fix unit test for getDestinations
11 years ago
Jonas Jenwald
e00b986bd3
Add unit test for getData
11 years ago
Jonas Jenwald
b907e15a90
Build paths for glyph accents when drawing text as curves
11 years ago
Michał Gołębiowski
e625af3fef
Remove type="text/javascript" from script tags.
...
"text/javascript" is not a correct MIME type (the correct one is
"application/javascript") but it's not even needed; all browsers default
to the correct type and treat it as executable JS when type is ommited.
Since not all browsers recognize the "application/javascript" MIME type
the only way to both stay compliant and to support all popular browsers
is to omit the type. It's also shorter this way.
11 years ago
Yury Delendik
9f9454d2ae
Refactors new extension find bar code to support old FF versions
11 years ago
Adam Dane [:hobophobe]
bc66c8119e
Add getFindBar for Fx extension
11 years ago
Tim van der Meij
4caf5b694e
Completes unit tests for PostScript evaluator and fixes two bugs in the evaluator itself
11 years ago
Yury Delendik
ab2d376757
Removs missing test file for #926
11 years ago
Yury Delendik
b7bb016b98
Missing test for #2537 ( e4c3b4501d
)
11 years ago
Yury Delendik
63d5aae3f6
Groups path commands into single command
11 years ago
Jonas Jenwald
747dec16b2
Prevent trying to map characters to the specials unicode block in adjustMapping (issue 4650)
11 years ago
Yury Delendik
31f2a24e78
Reduces memory used during testing
11 years ago
Yury Delendik
98e023e464
Guesses Type1C font type based on file content
11 years ago
Thorben Bochenek
e8f0700bfa
Move the colour conversion to jpg.js
...
Benchmarking shows that this improves performance for the invitation document
from https://github.com/mozilla/pdf.js/issues/3809 by 35%
11 years ago
Yury Delendik
bf3a2488df
Recognizes ascii type1 encoding
11 years ago
Yury Delendik
98ab547140
Fixes webbrowser.js to avoid undefined callback call
11 years ago
Brendan Dahl
339f8f0ac9
Call correct quit function and wait request sending.
11 years ago
Brendan Dahl
70ce3a88a1
Use special powers quit in unit tests.
11 years ago
Yury Delendik
1b636532d6
Adjusts mozcentral test files
11 years ago
Brendan Dahl
da522d42d4
Fix special powers add-on for firefox.
11 years ago