mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-29 07:37:57 +02:00
XFA - Avoid infinite loop when creating some nodes in data
This commit is contained in:
parent
63bde1fcfe
commit
cddc1d869d
3 changed files with 70 additions and 2 deletions
|
@ -526,7 +526,10 @@ class Binder {
|
|||
if (this._isConsumeData()) {
|
||||
match[$consumed] = true;
|
||||
}
|
||||
match = [match];
|
||||
|
||||
// Don't bind the value in newly created node because it's empty.
|
||||
this._bindElement(child, match);
|
||||
continue;
|
||||
} else {
|
||||
if (this._isConsumeData()) {
|
||||
// Filter out consumed nodes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue