pdf.js/src/core/xfa
Jonas Jenwald cf7978d507 XFA - Prevent breaking errors in Binder, when searchNode doesn't return data (issue 13756)
As can be seen in the code (see below), the `searchNode` helper function will return `null` in some cases and all of its call-sites should protect against that before attempting to access the returned data.
While only one of these changes were necessary to fix the breaking errors in issue 13756, in order to prevent future bugs I've added similar defensive code throughout this file.

 - 07955fa1d3/src/core/xfa/som.js (L169)
 - 07955fa1d3/src/core/xfa/som.js (L239)
 - 07955fa1d3/src/core/xfa/som.js (L254)
2021-07-19 18:07:07 +02:00
..
bind.js XFA - Prevent breaking errors in Binder, when searchNode doesn't return data (issue 13756) 2021-07-19 18:07:07 +02:00
builder.js XFA - Implement usehref support 2021-06-04 14:57:05 +02:00
config.js XFA - Default background in rectangle is white 2021-07-06 21:17:20 +02:00
connection_set.js XFA -- Add other objects (#12949) 2021-02-11 12:30:37 +01:00
data.js XFA - Save filled data in the pdf when downloading the file (Bug 1716288) 2021-06-25 18:57:01 +02:00
datasets.js XFA - Correctly bind global data (bug 1718725) 2021-07-07 17:36:56 +02:00
factory.js XFA - Use fake MyriadPro as a fallback for missing fonts 2021-07-11 13:52:13 +02:00
fonts.js XFA - Use fake MyriadPro as a fallback for missing fonts 2021-07-11 13:52:13 +02:00
formcalc_lexer.js XFA - Add a lexer/parser for FormCalc language (#12936) 2021-02-17 20:28:06 +01:00
formcalc_parser.js XFA - Add a lexer/parser for FormCalc language (#12936) 2021-02-17 20:28:06 +01:00
html_utils.js XFA - Fix text positions (bug 1718741) 2021-07-09 18:11:12 +02:00
layout.js XFA - Avoid to have containers not pushed in the html 2021-07-12 21:34:58 +02:00
locale_set.js XFA -- Add localset object (#12948) 2021-02-10 18:04:43 +01:00
namespaces.js XFA - Add a parser for XFA files 2021-02-01 13:45:31 +01:00
parser.js XFA - Support non-embedded fonts without a Widths entry 2021-06-28 23:05:08 +02:00
setup.js XFA -- Add other objects (#12949) 2021-02-11 12:30:37 +01:00
signature.js XFA -- Add other objects (#12949) 2021-02-11 12:30:37 +01:00
som.js XFA - Don't fail xfa loading because of a JS subexpression in SOM expressions 2021-07-07 10:47:53 +02:00
stylesheet.js XFA -- Add other objects (#12949) 2021-02-11 12:30:37 +01:00
template.js Merge pull request #13732 from calixteman/rect 2021-07-15 22:30:25 +02:00
text.js XFA - Fix text positions (bug 1718741) 2021-07-09 18:11:12 +02:00
unknown.js XFA - Add a parser for XFA files 2021-02-01 13:45:31 +01:00
utils.js XFA - Get line height from the font 2021-06-23 14:11:10 +02:00
xdp.js XFA -- Add attributes and children in XFAObject 2021-02-03 18:56:00 +01:00
xfa_object.js XFA - Add support for traversal and traverse element 2021-07-09 20:50:25 +02:00
xhtml.js XFA - Fix text positions (bug 1718741) 2021-07-09 18:11:12 +02:00