1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 01:28:06 +02:00
pdf.js/test/unit
Tim van der Meij 1d96854019 Widget annotation: implement field name according to the specification
The original code is difficult to read and, more importantly, performs
actions that are not described in the specification. It replaces empty
names with a backtick and an index, but this behavior is not described
in the specification. While the specification is not entirely clear
about what should happen in this case, it does specify that the `T`
field is optional and that multiple field dictionaries may have the same
fully qualified name, so to achieve this it makes the most sense to
ignore missing `T` fields during construction of the field name. This is
the most specification-compliant solution and, judging by opened issue #6623, also the required and expected behavior.
2016-11-02 21:44:44 +01:00
..
annotation_layer_spec.js Widget annotation: implement field name according to the specification 2016-11-02 21:44:44 +01:00
api_spec.js [api-minor] Add support for relative URLs, in both annotations and the outline, by adding a docBaseUrl parameter to PDFJS.getDocument (bug 766086) 2016-10-19 22:20:24 +02:00
cff_parser_spec.js Attempt to recover valid format 3 FDSelect data from broken CFF fonts (bug 1146106) 2016-06-06 18:20:52 +02:00
cmap_spec.js Remove the remaining usages of new {Name,Cmd} in favor of {Name,Cmd}.get 2016-04-08 12:14:05 +02:00
crypto_spec.js Lint: correct code style violations 2016-11-01 15:04:21 +01:00
dom_utils_spec.js Use beforeAll/afterAll in isExternalLinkTargetSet in dom_utils_spec.js (issue 6905) 2016-04-07 14:00:40 +02:00
evaluator_spec.js Updates Jasmine version. 2016-03-29 09:34:13 -05:00
fonts_spec.js Remove unused globals from fonts unit test file 2016-08-27 23:20:03 +02:00
function_spec.js Updates Jasmine version. 2016-03-29 09:34:13 -05:00
jasmine-boot.js Add basic unit-tests for unicode.js 2016-05-19 19:45:45 +02:00
metadata_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
network_spec.js Removes hijack describe() hack from unit tests. 2016-04-11 07:37:35 -05:00
parser_spec.js Ensure that Lexer_getName does not fail if a Name contains in invalid usage of the NUMBER SIGN (#) (issue 6692) 2015-11-28 11:59:09 +01:00
primitives_spec.js Add unit-tests for asynchronous methods in primitives.js 2016-08-21 18:44:58 +02:00
stream_spec.js Updates Jasmine version. 2016-03-29 09:34:13 -05:00
testreporter.js Updates Jasmine version. 2016-03-29 09:34:13 -05:00
type1_parser_spec.js Split the font_spec.js unit-tests into cff_parser_spec.js and type1_parser_spec.js 2016-05-03 09:37:36 +02:00
ui_utils_spec.js Adds EventBus. 2016-04-28 06:57:24 -05:00
unicode_spec.js Add basic unit-tests for unicode.js 2016-05-19 19:45:45 +02:00
unit_test.html Add a unit-test to check that ProblematicCharRanges contains valid entries 2016-08-27 11:56:00 +02:00
util_spec.js Move isDict unit-tests from util_spec.js to primitives_spec.js 2016-04-16 20:32:46 +02:00