MCPcopy Create free account
hub / github.com/angular/dev-infra / readyState

Method readyState

github-actions/saucelabs/set-saucelabs-env.js:15553–15563  ·  view source on GitHub ↗

* @see https://w3c.github.io/FileAPI/#dom-filereader-readystate

()

Source from the content-addressed store, hash-verified

15551 dataURL += ";base64,";
15552 const decoder = new StringDecoder2("latin1");
15553 for (const chunk of bytes) {
15554 dataURL += btoa(decoder.write(chunk));
15555 }
15556 dataURL += btoa(decoder.end());
15557 return dataURL;
15558 }
15559 case "Text": {
15560 let encoding = "failure";
15561 if (encodingName) {
15562 encoding = getEncoding(encodingName);
15563 }
15564 if (encoding === "failure" && mimeType) {
15565 const type2 = parseMIMEType(mimeType);
15566 if (type2 !== "failure") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected