Skip to content

Conversation

@karlseguin
Copy link
Collaborator

I'm not sure that any location instance should be able to change the page URL. But you can't create a new location (i.e. new Location() isn't valid), and the only two ways I know of are via window.location and document.location both of which should alter the location of the window/document.

I'm not sure that _any_ location instance should be able to change the page URL.
But you can't create a new location (i.e. new Location() isn't valid), and the
only two ways I know of are via `window.location` and `document.location` both
of which _should_ alter the location of the window/document.
@karlseguin karlseguin merged commit f2f7a34 into main May 30, 2025
11 checks passed
@karlseguin karlseguin deleted the location_change branch May 30, 2025 23:23
@github-actions github-actions bot locked and limited conversation to collaborators May 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants