Attach (recommended) or Link to PDF file here:
[Form_MGT-7.pdf](https://github.com/mozilla/pdf.js/files/6768253/Form_MGT-7.pdf)

When we try to open the above pdf, we get in the console:
```
Warning: XFA - an error occured during parsing and binding: TypeError: x.include is not a function
```
which is caused by a typo:
https://github.com/mozilla/pdf.js/blob/b9e84ba70ec5a4a30333b9092f316c9ec7b7f079/src/core/xfa/config.js#L174
 
So fixing the typo allows to open the pdf but there is only 1 page when we have 9 in using masterpdfeditor.
delete this.caption[$extra];
    }
    const caption = this.caption
      ? this.caption[$toHTML](availableSpace).html
      : null;
    const savedW = this.w;
    const savedH = this.h;
    if (this.w === "" || this.h === "") {
      let marginH = 0;
      let marginV = 0;
      if (this.margin) {
        marginH = this.margin.leftInset + this.margin.rightInset;
        marginV = this.margin.topInset + this.margin.bottomInset;
      }
      let width = null;
      let height = null;
      if (this.caption) {
        [width, height] = this.caption[$getExtra](availableSpace);
        if (this.ui instanceof CheckButton) {
          switch (this.caption.placement) {
            case "left":
            case "right":
            case "inline":
              width += this.ui.size;
              break;
            case "top":
            case "bottom":
              height += this.ui.size;