Attach (recommended) or Link to PDF file here:
See pdf in https://github.com/mozilla/pdf.js/issues/3109

Configuration:
- Web browser and its version: Firefox nightly
- Operating system and its version: Windows 10
- PDF.js version: builtin viewer

Steps to reproduce the problem:
1. Look at outlines

What is the expected behavior? (add screenshot)
![image](https://user-images.githubusercontent.com/5641725/141514798-0e656865-1cbf-4fb8-a89b-530d36da23c9.png)

What went wrong? (add screenshot)
![image](https://user-images.githubusercontent.com/5641725/141514740-c95e0237-8bf4-4129-a4a5-cb2ea5a3f4df.png)

const length = str.length,
    strBuf = [];
  if (str[0] === "\xFE" && str[1] === "\xFF") {
    
    for (let i = 2; i < length; i += 2) {
      strBuf.push(
        String.fromCharCode((str.charCodeAt(i) << 8) | str.charCodeAt(i + 1))
      );
    }
  } else if (str[0] === "\xFF" && str[1] === "\xFE") {
    
    for (let i = 2; i < length; i += 2) {
      strBuf.push(
        String.fromCharCode((str.charCodeAt(i + 1) << 8) | str.charCodeAt(i))
      );
    }
  } else {
    for (let i = 0; i < length; ++i) {
      const code = PDFStringTranslateTable[str.charCodeAt(i)];
      strBuf.push(code ? String.fromCharCode(code) : str.charAt(i));
    }
  }
  return strBuf.join("");
}
function escapeString(str) {