(statusText)
| 50497 | if (urlIsHttpHttpsScheme(url2) && badPortsSet.has(url2.port)) { |
| 50498 | return "blocked"; |
| 50499 | } |
| 50500 | return "allowed"; |
| 50501 | } |
| 50502 | function isErrorLike(object) { |
| 50503 | return object instanceof Error || (object?.constructor?.name === "Error" || object?.constructor?.name === "DOMException"); |
| 50504 | } |
| 50505 | function isValidReasonPhrase(statusText) { |
| 50506 | for (let i3 = 0; i3 < statusText.length; ++i3) { |
| 50507 | const c4 = statusText.charCodeAt(i3); |
| 50508 | if (!(c4 === 9 || // HTAB |
| 50509 | c4 >= 32 && c4 <= 126 || // SP / VCHAR |
| 50510 | c4 >= 128 && c4 <= 255)) { |
| 50511 | return false; |
| 50512 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…