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

Function blob

github-actions/saucelabs/set-saucelabs-env.js:5793–5803  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5791 };
5792 }
5793 function throwIfAborted(state) {
5794 if (state.aborted) {
5795 throw new DOMException("The operation was aborted.", "AbortError");
5796 }
5797 }
5798 function bodyMixinMethods(instance) {
5799 const methods = {
5800 blob() {
5801 return consumeBody(this, (bytes) => {
5802 let mimeType = bodyMimeType(this);
5803 if (mimeType === null) {
5804 mimeType = "";
5805 } else if (mimeType) {
5806 mimeType = serializeAMimeType(mimeType);

Callers

nothing calls this directly

Calls 3

consumeBodyFunction · 0.70
bodyMimeTypeFunction · 0.70
serializeAMimeTypeFunction · 0.70

Tested by

no test coverage detected