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)
```
expect(text).withContext(`In ${browserName}`).toEqual("HELLO WORDL");
          await page.type(getSelector("27R"), " ", { delay: 100 });
          await page.keyboard.down("Control");
          await page.keyboard.press("Backspace");
          await page.keyboard.up("Control");
          await page.waitForFunction(
            `${getQuerySelector("27R")}.value !== "HELLO WORDL "`
          );
          text = await page.$eval(getSelector("27R"), el => el.value);
          expect(text).withContext(`In ${browserName}`).toEqual("HELLO ");
          await page.$eval(getSelector("27R"), el => {
            // 
            el.selectionStart = 2;
            el.selectionEnd = 4;
          });
          await page.keyboard.press("a");
          text = await page.$eval(getSelector("27R"), el => el.value);
          expect(text).withContext(`In ${browserName}`).toEqual("HEAO ");
        })
      );
    });
    it("must check that an infinite loop is not triggered", async () => {
      await Promise.all(
        pages.map(async ([browserName, page]) => {
          await page.waitForFunction(
            "window.PDFViewerApplication.scriptingReady === true"
          );
          await page.click(getSelector("28R"));
          await page.$eval(getSelector("28R"), el =>
            el.setSelectionRange(0, 0)