(url: string)
| 558 | } |
| 559 | |
| 560 | function verifyMappedOrigin(url: string): void { |
| 561 | if (new URL(url, 'resolve://').pathname !== '/') { |
| 562 | throw new RuntimeError( |
| 563 | RuntimeErrorCode.HTTP_ORIGIN_MAP_CONTAINS_PATH, |
| 564 | 'Angular detected a URL with a path segment in the value provided for the ' + |
| 565 | `\`HTTP_TRANSFER_CACHE_ORIGIN_MAP\` token: ${url}. The map should only contain origins ` + |
| 566 | 'without any other segments.', |
| 567 | ); |
| 568 | } |
| 569 | } |
| 570 | |
| 571 | /** |
| 572 | * 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