Skip to content

Fix document.domain #865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2025
Merged

Fix document.domain #865

merged 1 commit into from
Jul 10, 2025

Conversation

karlseguin
Copy link
Collaborator

Currently seems to always return null. Doesn't seem to be a way in libdom to change this. The property is deprecated, and MDN recommends using location.host instead, so change document.get_domain to wrap location.host.

Currently seems to always return null. Doesn't seem to be a way in libdom to
change this. The property is deprecated, and MDN recommends using location.host
instead, so change document.get_domain to wrap location.host.
Copy link
Contributor

@sjorsdonkers sjorsdonkers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karlseguin karlseguin merged commit 8c2c1e5 into main Jul 10, 2025
10 checks passed
@karlseguin karlseguin deleted the document_domain branch July 10, 2025 13:46
@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 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