Introduction date: July 21, 2023
Introduction PR: https://github.com/mozilla/pdf.js/commit/9277801493691da0f2de8b282fa3d2d4a9c0d537 (/cc @calixteman)
Type: intermittent (sometimes it works, indicating a possible timing/waiting issue)
OS: Windows
Logs: http://54.193.163.58:8877/248efa3bf526b9a/output.txt
Traceback:

```
Failures:
4) Interaction in bug1844576.pdf must check that a field has the correct formatted value
  Message:
[31m    In firefox: Expected false to equal true.[0m
  Stack:
        at <Jasmine>
        at C:\pdfjs\botio-files-pdfjs\private\248efa3bf526b9a\test\integration\scripting_spec.js:2029:14
        at runNextTicks (node:internal/process/task_queues:60:5)
        at process.processImmediate (node:internal/timers:447:9)
        at async Promise.all (index 0)
  Message:
[31m    In firefox: Expected false to equal true.[0m
  Stack:
        at <Jasmine>
        at C:\pdfjs\botio-files-pdfjs\private\248efa3bf526b9a\test\integration\scripting_spec.js:2040:14
        at runNextTicks (node:internal/process/task_queues:60:5)
        at process.processImmediate (node:internal/timers:447:9)
        at async Promise.all (index 0)
```
pages = await loadAndWait("bug1844576.pdf", getSelector("9R"));
    });
    afterAll(async () => {
      await closePages(pages);
    });
    it("must check that a field has the correct formatted value", async () => {
      await Promise.all(
        pages.map(async ([browserName, page]) => {
          const hasVisibleCanvas = await page.evaluate(_ => {
            const elem = document.querySelector(
              `[data-annotation-id="9R"] > canvas`
            );
            return elem && !elem.hasAttribute("hidden");
          });
          expect(hasVisibleCanvas)
            .withContext(`In ${browserName}`)
            .toEqual(true);
          const hasHiddenInput = await page.evaluate(_ => {
            const elem = document.querySelector(
              `[data-annotation-id="9R"] > input`
            );
            return elem?.hasAttribute("hidden");
          });
          expect(hasHiddenInput).withContext(`In ${browserName}`).toEqual(true);
          await page.click(getSelector("12R"));
          await page.waitForTimeout(10);
          const hasHiddenCanvas = await page.evaluate(_ => {
            const elem = document.querySelector(
              `[data-annotation-id="9R"] > canvas`
            );