Introduction date: Augustus 10, 2023
Introduction PR: https://github.com/mozilla/pdf.js/commit/402e3fed95888c1e1c5ec6cb6bf879421642a5fe (/cc @calixteman)
Type: intermittent (sometimes it works, indicating a possible timing/waiting issue)
OS: Linux
Logs: http://54.241.84.105:8877/dca264a56383f79/output.txt (only this test prevented the run from passing entirely)
Traceback:

```
Failures:
1) FreeText Editor Move several FreeTexts must move several annotations
  Message:
[31m    In chrome: Expected 187 to equal 186.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 192 to equal 191.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 196 to equal 197.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 201 to equal 202.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 217 to equal 216.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 226 to equal 227.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
  Message:
[31m    In chrome: Expected 231 to equal 232.[0m
  Stack:
        at <Jasmine>
        at /home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2262:16
        at async Promise.all (index 1)
        at async UserContext.<anonymous> (/home/ubuntu/pdfjs/botio-files-pdfjs/private/dca264a56383f79/test/integration/freetext_editor_spec.js:2212:7)
```
break;
              case "BL":
                for (let i = height - 1; i >= 0; i--) {
                  for (let j = 0; j < width; j++) {
                    const idx = (width * i + j) << 2;
                    if (buf[idx] === 0) {
                      firsts.push([j, i]);
                      stats[j] = (stats[j] || 0) + 1;
                      break;
                    }
                  }
                }
                break;
            }
            let maxValue = -Infinity;
            let maxJ = 0;
            for (const [j, count] of Object.entries(stats)) {
              if (count > maxValue) {
                maxValue = count;
                maxJ = j;
              }
            }
            maxJ = parseInt(maxJ, 10);
            for (const [j, i] of firsts) {
              if (j === maxJ) {
                return [j, i];
              }
            }
            return null;
          };