pdf.js/test/unit
Jonas Jenwald e416032b38 Prevent browser console errors during testing
The `Driver._cleanup` method is removing all stylesheets between test runs, which causes "TypeError: styleElement.parentNode is null" console errors in `FontLoader.clear`.

As can also be seen during various tests, some of the changes I made in PR 7972 unfortunately causes console errors.
It seems that I didn't test this properly, since it *should* have been obvious to me that while tests are triggered using Node.js, the files in question are run within the *browser*.
My apologies for not testing this thoroughly, and for causing unnecessary churn in the code!
2017-02-05 13:23:42 +01:00
..
annotation_spec.js Simplify the FileAttachmentAnnotation unit-test to avoid having to use the entire API in the test 2017-01-12 19:10:37 +01:00
api_spec.js Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
bidi_spec.js Fix inverted calculation of RTL text percentage in bidi. 2017-01-12 23:54:06 +08:00
cff_parser_spec.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
clitests.json Simplify the FileAttachmentAnnotation unit-test to avoid having to use the entire API in the test 2017-01-12 19:10:37 +01:00
cmap_spec.js Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
crypto_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
document_spec.js Replace direct lookup of uniquePrefix/idCounters, in Page instances, with an idFactory containing an createObjId method instead 2017-01-09 23:16:25 +01:00
dom_utils_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
evaluator_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
fonts_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
function_spec.js Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
jasmine-boot.js Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
metadata_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
murmurhash3_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
network_spec.js Enable the no-unused-vars ESLint rule 2017-01-29 23:23:17 +01:00
parser_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
primitives_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
stream_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
testreporter.js Prevent browser console errors during testing 2017-02-05 13:23:42 +01:00
type1_parser_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
ui_utils_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
unicode_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00
unit_test.html unit test files as UMD modules 2017-01-09 11:40:57 -05:00
util_spec.js unit test files as UMD modules 2017-01-09 11:40:57 -05:00