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.
this.eventBus.dispatch("localized", { source: this });
    });
    this._initializedCapability.resolve();
  },
  /**
   * @private
   */
  async _readPreferences() {
    if (
      (typeof PDFJSDev === "undefined" ||
        PDFJSDev.test("!PRODUCTION || GENERIC")) &&
      AppOptions.get("disablePreferences")
    ) {
      
      
      return;
    }
    try {
      AppOptions.setAll(await this.preferences.getAll());
    } catch (reason) {
      console.error(`_readPreferences: "${reason?.message}".`);
    }
  },
  /**
   * Potentially parse special debugging flags in the hash section of the URL.
   * @private
   */
  async _parseHashParameters() {