(url: URL)
| 2767 | const LOCAL_SERVICE_HOSTS = new Set(["localhost", "127.0.0.1", "::1", "[::1]"]); |
| 2768 | |
| 2769 | const originPort = (url: URL): string => url.port || (url.protocol === "https:" ? "443" : "80"); |
| 2770 | |
| 2771 | const sameServerOrigin = (left: string, right: string): boolean => { |
| 2772 | const leftUrl = new URL(normalizeExecutorServerConnection({ origin: left }).origin); |