(url: string)
| 529 | } |
| 530 | |
| 531 | function verifyMappedOrigin(url: string): void { |
| 532 | if (new URL(url, 'resolve://').pathname !== '/') { |
| 533 | throw new RuntimeError( |
| 534 | RuntimeErrorCode.HTTP_ORIGIN_MAP_CONTAINS_PATH, |
| 535 | 'Angular detected a URL with a path segment in the value provided for the ' + |
| 536 | `\`HTTP_TRANSFER_CACHE_ORIGIN_MAP\` token: ${url}. The map should only contain origins ` + |
| 537 | 'without any other segments.', |
| 538 | ); |
| 539 | } |
| 540 | } |
| 541 | |
| 542 | /** |
| 543 | * SHA-256 Constants (first 32 bits of the fractional parts of the cube roots of the first 64 primes 2..311): |
no outgoing calls
no test coverage detected
searching dependent graphs…