(url: URL)
| 2798 | const LOCAL_SERVICE_HOSTS = new Set(["localhost", "127.0.0.1", "::1", "[::1]"]); |
| 2799 | |
| 2800 | const originPort = (url: URL): string => url.port || (url.protocol === "https:" ? "443" : "80"); |
| 2801 | |
| 2802 | const sameServerOrigin = (left: string, right: string): boolean => { |
| 2803 | const leftUrl = new URL(normalizeExecutorServerConnection({ origin: left }).origin); |