(url)
| 4259 | location = normalizeBinaryStringToUtf8(location); |
| 4260 | } |
| 4261 | location = new URL(location, responseURL(response)); |
| 4262 | } |
| 4263 | if (location && !location.hash) { |
| 4264 | location.hash = requestFragment; |
| 4265 | } |
| 4266 | return location; |
| 4267 | } |
| 4268 | function isValidEncodedURL(url) { |
| 4269 | for (let i = 0; i < url.length; ++i) { |
| 4270 | const code = url.charCodeAt(i); |
| 4271 | if (code > 126 || // Non-US-ASCII + DEL |
| 4272 | code < 32) { |
| 4273 | return false; |
no outgoing calls
no test coverage detected