(ioQueue)
| 15423 | } |
| 15424 | dataURL += btoa(decoder.end()); |
| 15425 | return dataURL; |
| 15426 | } |
| 15427 | case "Text": { |
| 15428 | let encoding = "failure"; |
| 15429 | if (encodingName) { |
| 15430 | encoding = getEncoding(encodingName); |
| 15431 | } |
| 15432 | if (encoding === "failure" && mimeType) { |
| 15433 | const type2 = parseMIMEType(mimeType); |
| 15434 | if (type2 !== "failure") { |
| 15435 | encoding = getEncoding(type2.parameters.get("charset")); |
| 15436 | } |
| 15437 | } |
| 15438 | if (encoding === "failure") { |