STR:
  - Go to https://mozilla.github.io/pdf.js/web/viewer.html
  - Click on "Open File" and open a pdf

The `Download` button and the `Current view` one just disappear.
I can reproduce this bug with Firefox nightly, Chrome stable and Epiphany on debian.
})
        .catch(() => {
          
          
          this.setInitialView();
        })
        .then(function () {
          
          
          
          
          pdfViewer.update();
        });
    });
    pagesPromise.then(() => {
      this._unblockDocumentLoadEvent();
      this._initializeAutoPrint(pdfDocument, openActionPromise);
    });
    onePageRendered.then(() => {
      pdfDocument.getOutline().then(outline => {
        if (pdfDocument !== this.pdfDocument) {
          return; 
        }
        this.pdfOutlineViewer.render({ outline, pdfDocument });
      });
      pdfDocument.getAttachments().then(attachments => {
        if (pdfDocument !== this.pdfDocument) {
          return; 
        }
        this.pdfAttachmentViewer.render({ attachments });