pdf.js/test/unit
Tim van der Meij f7fd1db52f
Introduce DOMSVGFactory
This patch provides a new unit tested factory for creating SVG
containers and elements. This code is duplicated twice in the
codebase, but with upcoming changes this would need to be duplicated
even more. Moreover, consolidating this code in one factory allows
us to replace it easily for e.g., supporting Node.js. Therefore, move
this to a central place and update/ES6-ify the related code.

Finally, we replace `setAttributeNS` with `setAttribute` because no
namespace is provided.
2017-09-09 21:36:27 +02:00
..
annotation_spec.js Let the two annotation factories use static methods 2017-08-27 01:02:40 +02:00
api_spec.js Add test for withCredentials option 2017-08-31 14:30:00 +02:00
bidi_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
cff_parser_spec.js Fixes CFF data glyph widths 2017-07-25 12:29:51 -05:00
clitests.json Add a isDestsEqual helper function, to allow comparing explicit destinations, in pdf_history.js 2017-08-30 19:45:13 +02:00
cmap_spec.js Enable the object-shorthand ESLint rule 2017-04-30 11:13:34 +02:00
colorspace_spec.js Move the XRefMock in the unit tests to a central location 2017-07-29 15:16:19 +02:00
crypto_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
custom_spec.js Fix inconsistent spacing and trailing commas in objects in test/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 13:04:04 +02:00
display_svg_spec.js __non_webpack_require__ -> require in SystemJS 2017-08-15 12:14:30 +02:00
document_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
dom_utils_spec.js Introduce DOMSVGFactory 2017-09-09 21:36:27 +02:00
evaluator_spec.js Move the XRefMock in the unit tests to a central location 2017-07-29 15:16:19 +02:00
fonts_spec.js Replace the isInt helper function with the native Number.isInteger function 2017-09-01 16:52:50 +02:00
function_spec.js Replace the isArray helper function with the native Array.isArray function 2017-09-01 20:27:13 +02:00
jasmine-boot.js Add a isDestsEqual helper function, to allow comparing explicit destinations, in pdf_history.js 2017-08-30 19:45:13 +02:00
metadata_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
murmurhash3_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
network_spec.js Adds Streams API support for networking task of PDF.js project. 2017-07-28 02:32:30 +05:30
node_stream_spec.js Adds tests for node_stream 2017-08-24 12:46:44 +05:30
parser_spec.js Ignore line-breaks between operator and digit in Lexer.getNumber 2017-05-02 20:59:42 +02:00
pdf_history_spec.js Add a isDestsEqual helper function, to allow comparing explicit destinations, in pdf_history.js 2017-08-30 19:45:13 +02:00
primitives_spec.js Move the XRefMock in the unit tests to a central location 2017-07-29 15:16:19 +02:00
stream_spec.js Fix inconsistent spacing and trailing commas in objects in test/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 13:04:04 +02:00
test_utils.js Move the XRefMock in the unit tests to a central location 2017-07-29 15:16:19 +02:00
testreporter.js Enable the object-shorthand ESLint rule 2017-04-30 11:13:34 +02:00
type1_parser_spec.js Fix inconsistent spacing and trailing commas in objects in test/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on 2017-06-02 13:04:04 +02:00
ui_utils_spec.js Add a waitOnEventOrTimeout helper function that allows waiting for an event or a timeout, whichever occurs first 2017-08-30 19:45:13 +02:00
unicode_spec.js Convert the files in the /test/unit folder to ES6 modules 2017-04-30 00:34:02 +02:00
unit_test.html Replaces RequireJS to SystemJS. 2017-02-27 08:32:39 -06:00
util_spec.js Added sendWithStream method in MessageHandler. 2017-06-07 21:05:27 +05:30
util_stream_spec.js Adds ready capability rejection logic for stream sink. 2017-07-25 02:07:38 +05:30