(url: URL)
| 2895 | const LOCAL_SERVICE_HOSTS = new Set(["localhost", "127.0.0.1", "::1", "[::1]"]); |
| 2896 | |
| 2897 | const originPort = (url: URL): string => url.port || (url.protocol === "https:" ? "443" : "80"); |
| 2898 | |
| 2899 | const sameServerOrigin = (left: string, right: string): boolean => { |
| 2900 | const leftUrl = new URL(normalizeExecutorServerConnection({ origin: left }).origin); |