Jonas Jenwald e04113a35b Add unit-tests for the onPassword/onProgress callbacks of the API
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.
2015-10-21 00:01:52 +02:00
..
2014-07-18 22:34:50 +02:00
2015-02-17 11:07:37 -05:00
2015-02-17 11:07:37 -05:00
2015-02-17 11:07:37 -05:00
2015-04-03 20:17:20 +02:00