pdf.js/test
Jonas Jenwald 23c62cc321 Consume the current character when encountering illegal characters in Lexer.getObject, in order to prevent infinite loops during reading of streams (issue 8061)
*Please note:* The rendering of the PDF file in issue 8061 first regressed in PR 7039, and then PR 7493 exacerbated the problem even further by causing an infinite loop.

In this particular case, when errors were encountered inside of the `Lexer.getObject` method *itself*, we didn't advance the stream position. This thus caused an inifinite loop in `parseCMap`, since the exact same character was then parsed over and over again.

Fixes 8061.
2017-02-11 19:32:48 +01:00
..
chromium Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
features Remove usage of mozFillRule 2017-01-29 23:24:44 +01:00
font Prevent browser console errors during testing 2017-02-05 13:23:42 +01:00
pdfs Consume the current character when encountering illegal characters in Lexer.getObject, in order to prevent infinite loops during reading of streams (issue 8061) 2017-02-11 19:32:48 +01:00
resources Remove 'use strict'; causing failure and unused prefs. 2016-01-14 13:23:48 -08:00
stats Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator) 2017-02-04 15:53:08 +01:00
ttx Update fonttools location and version (issue 6223) 2015-07-17 12:51:09 +02:00
unit Interactive forms: unit test for radio buttons without a field value 2017-02-07 23:44:31 +01:00
.eslintrc Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
.gitignore Ignore test snapshots directory. 2013-03-15 11:24:08 -07:00
annotation_layer_test.css Button widget annotations: improve unit tests, simplify code and remove labels 2016-12-17 20:38:48 +01:00
downloadutils.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
driver.js Prevent browser console errors during testing 2017-02-05 13:23:42 +01:00
test_manifest.json Consume the current character when encountering illegal characters in Lexer.getObject, in order to prevent infinite loops during reading of streams (issue 8061) 2017-02-11 19:32:48 +01:00
test_slave.html Move all PDFJS.xxx settings into display/global. 2016-04-07 13:46:07 -05:00
test.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
testutils.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
text_layer_test.css Better "text" testing. 2015-11-19 11:03:52 -06:00
webbrowser.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
webserver.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00