(url: URL)
| 2827 | const LOCAL_SERVICE_HOSTS = new Set(["localhost", "127.0.0.1", "::1", "[::1]"]); |
| 2828 | |
| 2829 | const originPort = (url: URL): string => url.port || (url.protocol === "https:" ? "443" : "80"); |
| 2830 | |
| 2831 | const sameServerOrigin = (left: string, right: string): boolean => { |
| 2832 | const leftUrl = new URL(normalizeExecutorServerConnection({ origin: left }).origin); |