e04113a35b
The standard viewer implicitly depends on the `onPassword` and `onProgress` callbacks, in order to open password protected PDF files, respectively to report file loading progress. We currently have no unit-tests for this functionality, which seems unfortunate; hence this patch. *Please note:* Rather than adding more unit-tests to `api_spec.js`, I slightly extended/reworked two existing tests. Specifically for the password test, this *does not* really change what we actually test, just how the test is done. |
||
---|---|---|
.. | ||
annotation_layer_spec.js | ||
api_spec.js | ||
cmap_spec.js | ||
crypto_spec.js | ||
evaluator_spec.js | ||
font_spec.js | ||
function_spec.js | ||
metadata_spec.js | ||
obj_spec.js | ||
parser_spec.js | ||
stream_spec.js | ||
testreporter.js | ||
ui_utils_spec.js | ||
unit_test.html | ||
util_spec.js |