Skip to content

Treat null fragment the same as an empty string in location hash setter #11245

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
Apr 25, 2025

Conversation

shannonbooth
Copy link
Member

@shannonbooth shannonbooth commented Apr 22, 2025

Fixes: #11243.

(See WHATWG Working Mode: Changes for more details.)


/nav-history-apis.html ( diff )

@shannonbooth shannonbooth force-pushed the fragment-empty-string-edge-case branch from 4f209e7 to 1fe5ca8 Compare April 22, 2025 06:41
Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

LGTM. Can you fill out the OP? Chromium and WebKit automatically count as interested, and most other boxes are no-ops for this small of a change, but filing or finding a Gecko bug seems worthwhile.

I'll also give other reviewers a few days in case they have comments before merging.

@domenic domenic added topic: navigation interop Implementations are not interoperable with each other labels Apr 22, 2025
@shannonbooth
Copy link
Member Author

I'm not familiar with exactly how firefox issue tracker, but maybe https://bugzilla.mozilla.org/show_bug.cgi?id=1733797 could be reused? Looks like it is still open and relevant

@domenic
Copy link
Member

domenic commented Apr 22, 2025

Yep, that'd be perfect, just leave them a comment pointing to this PR as well.

shannonbooth added a commit to shannonbooth/ladybird that referenced this pull request Apr 22, 2025
Corresponds to open merge request in HTML spec of whatwg/html#11245
and a WPT test change of web-platform-tests/wpt#52085.
shannonbooth added a commit to shannonbooth/ladybird that referenced this pull request Apr 22, 2025
Corresponds to open merge request in HTML spec of whatwg/html#11245
and a WPT test change of web-platform-tests/wpt#52085.
tcl3 pushed a commit to LadybirdBrowser/ladybird that referenced this pull request Apr 23, 2025
Corresponds to open merge request in HTML spec of whatwg/html#11245
and a WPT test change of web-platform-tests/wpt#52085.
@domenic domenic merged commit 0777702 into whatwg:main Apr 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interop Implementations are not interoperable with each other topic: navigation
Development

Successfully merging this pull request may close these issues.

location hash setter behavior for empty string
2 participants