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

Method duplex

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

Source from the content-addressed store, hash-verified

13548 setHeadersList(this[kHeaders], request.headersList);
13549 setHeadersGuard(this[kHeaders], "request");
13550 if (mode === "no-cors") {
13551 if (!corsSafeListedMethodsSet.has(request.method)) {
13552 throw new TypeError(
13553 `'${request.method} is unsupported in no-cors mode.`
13554 );
13555 }
13556 setHeadersGuard(this[kHeaders], "request-no-cors");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected