- Over time the number and size of these factories have increased, especially the `DOMFilterFactory` class, and this split should thus aid readability/maintainability of the code. - By introducing a couple of new import maps we can avoid bundling the `DOMCMapReaderFactory`/`DOMStandardFontDataFactory` classes in the Firefox PDF Viewer, since they are dead code there given that worker-thread fetching is always being used. - This patch has been successfully tested, by running `$ ./mach test toolkit/components/pdfjs/`, in a local Firefox artifact-build. *Note:* This patch reduces the size of the `gulp mozcentral` output by `1.3` kilo-bytes, which isn't a lot but still cannot hurt.
60 lines
1.4 KiB
JSON
60 lines
1.4 KiB
JSON
{
|
|
"spec_dir": "build/lib-legacy/test/unit",
|
|
|
|
"helpers": ["clitests_helper.js"],
|
|
|
|
"spec_files": [
|
|
"annotation_spec.js",
|
|
"annotation_storage_spec.js",
|
|
"api_spec.js",
|
|
"app_options_spec.js",
|
|
"bidi_spec.js",
|
|
"canvas_factory_spec.js",
|
|
"cff_parser_spec.js",
|
|
"cmap_spec.js",
|
|
"colorspace_spec.js",
|
|
"core_utils_spec.js",
|
|
"crypto_spec.js",
|
|
"custom_spec.js",
|
|
"default_appearance_spec.js",
|
|
"display_utils_spec.js",
|
|
"document_spec.js",
|
|
"editor_spec.js",
|
|
"encodings_spec.js",
|
|
"evaluator_spec.js",
|
|
"event_utils_spec.js",
|
|
"fetch_stream_spec.js",
|
|
"font_substitutions_spec.js",
|
|
"function_spec.js",
|
|
"message_handler_spec.js",
|
|
"metadata_spec.js",
|
|
"murmurhash3_spec.js",
|
|
"network_utils_spec.js",
|
|
"node_stream_spec.js",
|
|
"parser_spec.js",
|
|
"pdf.image_decoders_spec.js",
|
|
"pdf.worker_spec.js",
|
|
"pdf_find_controller_spec.js",
|
|
"pdf_find_utils_spec.js",
|
|
"pdf_history_spec.js",
|
|
"pdf_spec.js",
|
|
"pdf_viewer.component_spec.js",
|
|
"pdf_viewer_spec.js",
|
|
"primitives_spec.js",
|
|
"stream_spec.js",
|
|
"struct_tree_spec.js",
|
|
"svg_factory_spec.js",
|
|
"text_layer_spec.js",
|
|
"type1_parser_spec.js",
|
|
"ui_utils_spec.js",
|
|
"unicode_spec.js",
|
|
"util_spec.js",
|
|
"writer_spec.js",
|
|
"xfa_formcalc_spec.js",
|
|
"xfa_parser_spec.js",
|
|
"xfa_serialize_data_spec.js",
|
|
"xfa_tohtml_spec.js",
|
|
"xml_spec.js"
|
|
]
|
|
}
|