  - Open https://mozilla.github.io/pdf.js/web/viewer.html
  - Open a pdf with some XFA (for example the on in https://github.com/mozilla/pdf.js/issues/13679#issue-937616350)

The pdf is not correctly displayed because `enableXfa` is false.

@Snuffleupagus, the pref is set to true in Firefox nightly, is there anything blocking setting it to true in the web viewer ?  
}
    this.cancel();
    this.textDivs.length = 0;
    this.highlighter?.setTextMapping(this.textDivs, this.textContentItemsStr);
    const textLayerFrag = document.createDocumentFragment();
    this.textLayerRenderTask = renderTextLayer({
      textContent: this.textContent,
      textContentStream: this.textContentStream,
      container: textLayerFrag,
      viewport: this.viewport,
      textDivs: this.textDivs,
      textContentItemsStr: this.textContentItemsStr,
      timeout,
      enhanceTextSelection: this.enhanceTextSelection,
    });
    this.textLayerRenderTask.promise.then(
      () => {
        this.textLayerDiv.appendChild(textLayerFrag);
        this._finishRendering();
        this.highlighter?.enable();
      },
      function (reason) {
        
      }
    );
  }
  /**
   * Cancel rendering of the text layer.
   */
  cancel() {