pdf.js/test/unit
Jonas Jenwald 746eaf3154 [api-minor] Fix the return value of PDFDocumentProxy.getViewerPreferences when no viewer preferences are present (PR 10738 follow-up)
This patch fixes yet another instalment in the never-ending series of "what the *bleep* was I thinking", by changing the `PDFDocumentProxy.getViewerPreferences` method to return `null` by default.
Not only is this method now consistent with many other API methods, for the data not present case, but it also avoids having to e.g. loop through an object to check if it's actually empty (note the old unit-test).
2020-04-14 23:25:50 +02:00
..
annotation_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
api_spec.js [api-minor] Fix the return value of PDFDocumentProxy.getViewerPreferences when no viewer preferences are present (PR 10738 follow-up) 2020-04-14 23:25:50 +02:00
bidi_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
cff_parser_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
clitests_helper.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
clitests.json Fail early, in modern GENERIC builds, if certain required browser functionality is missing (issue 11762) 2020-04-01 19:42:48 +02:00
cmap_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
colorspace_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
core_utils_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
crypto_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
custom_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
display_svg_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
display_utils_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
document_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
encodings_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
evaluator_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
fetch_stream_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
function_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
jasmine-boot.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
message_handler_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
metadata_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
murmurhash3_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
network_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
network_utils_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
node_stream_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
parser_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
pdf_find_controller_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
pdf_find_utils_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
pdf_history_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
primitives_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
stream_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
test_utils.js Enable the ESLint prefer-const rule globally (PR 11450 follow-up) 2020-01-25 00:20:22 +01:00
testreporter.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
type1_parser_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
ui_utils_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
unicode_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
unit_test.html Replaces RequireJS to SystemJS. 2017-02-27 08:32:39 -06:00
util_spec.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00