[class Location] Object [Location] {} Location { hash: "#bat", host: "foo", hostname: "foo", href: "https://foo/bar?baz#bat", origin: "https://foo", pathname: "/bar", port: "", protocol: "https:", search: "?baz" } NotSupportedError: Cannot set "location". NotSupportedError: Cannot set "location.hostname".