Skip to content
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

Can hitting enter on address bar to same URL be considered a navigation of type 'reload'? #116

Closed
npm1 opened this issue Oct 2, 2019 · 2 comments · Fixed by #129
Closed

Comments

@npm1
Copy link
Contributor

npm1 commented Oct 2, 2019

Suppose I do the following:

  1. Load a website.
  2. Click on the URL address bar.
  3. Press Enter.

The same page is loaded. In Chrome, this is cached and treated as a reload. Does this count as a valid "reload operation" and thus can it be considered of NavigationType 'reload'? Or is this necessarily a navigation of type 'navigate' because I'm "entering the URL in the user agent's address bar"? The spec could be clarified.
Context (Chromium bug): https://bugs.chromium.org/p/chromium/issues/detail?id=859046

@rniwa
Copy link

rniwa commented Oct 2, 2019

"entering the URL in the user agent's address bar" is probably too oddly specific normative text. We probably need to say something like "the user requested the user agent to navigate to a specific URL". Then UA can determine which specific UI / UX would map to such a request.

@yoavweiss
Copy link
Contributor

WG call conclusion: Navigation Timing should just point to "reload-triggered navigation".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants