Introduction date: January 23, 2022
Introduction PR: https://github.com/mozilla/pdf.js/commit/6ac296e48e52a8940f6a869c44f768edb4674a7b (/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:
3) Interaction in issue14307.pdf (1) must check input for US zip format
  Message:
[31m    Error: Timeout - Async function did not complete within 30000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)[0m
  Stack:
        at <Jasmine>
        at listOnTimeout (node:internal/timers:569:17)
        at process.processTimers (node:internal/timers:512:7)
```
page.on("dialog", async dialog => {
          await dialog.dismiss();
        });
      });
    });
    afterAll(async () => {
      await closePages(pages);
    });
    it("must check input for US phone number (long) format", async () => {
      // 
      // 
      for (const [browserName, page] of pages) {
        await page.waitForFunction(
          "window.PDFViewerApplication.scriptingReady === true"
        );
        await clearInput(page, getSelector("29R"));
        await clearInput(page, getSelector("30R"));
        await page.focus(getSelector("30R"));
        await page.type(getSelector("30R"), "(123) 456A", { delay: 100 });
        await page.waitForFunction(
          `${getQuerySelector("30R")}.value !== "(123) 456A"`
        );
        let text = await page.$eval(getSelector(`30R`), el => el.value);
        expect(text).withContext(`In ${browserName}`).toEqual("(123) 456");
        await page.focus(getSelector("30R"));
        await page.type(getSelector("30R"), "-789", { delay: 100 });
        await page.click("[data-annotation-id='29R']");
        await page.waitForFunction(
          `${getQuerySelector("30R")}.value !== "(123) 456-789"`
        );