New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 615300 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

location.hash = "" should always result in an empty fragment (not no-fragment)

Reported by l446240525@gmail.com, May 27 2016

Issue description

see the spec commit  https://github.com/whatwg/html/commit/c63078741df8ae8c4657dc068d5879fb3472dee6

> location.href
"https://www.google.com/"
> location.hash=""
""
> location.hash
"" // right, still be ""
> location.href
"https://www.google.com/" // wrong, should be "https://www.google.com/#"
 
Cc: ranjitkan@chromium.org
Labels: Needs-Feedback
 l446240525@ Could you please help us in detail what exactly is the issue is about and and more clear steps to replicate the issue. This will help us to triage the issue further.

Thanks.!
Please triage to Blink>DOM component.
Components: Blink>DOM
Project Member

Comment 4 by sheriffbot@chromium.org, May 27 2016

Labels: -Needs-Feedback Needs-Review
Owner: ranjitkan@chromium.org
Thank you for providing more feedback. Adding requester "ranjitkan@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by tkent@chromium.org, May 30 2016

Components: -Blink>DOM Blink>HTML Blink>Network
Labels: -Needs-Review Hotlist-Interop
Owner: ----
Status: Available (was: Unconfirmed)
Firefox works fine.

Note: Location interface is defined in HTML standard, not DOM standard.

Summary: location.hash = "" should always result in an empty fragment (not no-fragment) (was: location.hash = "" should result in a fragment)
The conclusion at https://github.com/whatwg/html/issues/1177 makes sense. Let's fix.
Project Member

Comment 7 by sheriffbot@chromium.org, May 30 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)
Project Member

Comment 9 by sheriffbot@chromium.org, Jun 1 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment