pdf.js/test/font
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
..
font_core_spec.js Updates Jasmine version. 2016-03-29 09:34:13 -05:00
font_fpgm_spec.js Updates Jasmine version. 2016-03-29 09:34:13 -05:00
font_os2_spec.js Updates Jasmine version. 2016-03-29 09:34:13 -05:00
font_post_spec.js Updates Jasmine version. 2016-03-29 09:34:13 -05:00
font_test.html Updates Jasmine version. 2016-03-29 09:34:13 -05:00
fontutils.js Prevent browser console errors during testing 2017-02-05 13:23:42 +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
ttxdriver.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00