History: pushState() method
section-content is confusing
#30014
Labels
Content:Glossary
Glossary entries
Content:WebAPI
Web API docs
effort: small
This task is a small effort.
goal: accuracy
(Experimental label) Issues about inaccurate/incorrect content.
goal: clarity
(Experimental label) Issues about unclear/confusing/inconcise content.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/History/pushState
What specific section or headline is this issue about?
section-content
What information was incorrect, unhelpful, or incomplete?
What did you expect to see?
This method is asynchronous.
sort of implies that the popstate event listener got a event when history.push has resolved.And how do the user know when history.push has resolved? Or maybe it doesn't matter.
popstate event may never fired as popstate described.
I think it should made clear that history.push trigger no events, correct me if I'm wrong.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
From blank page to abc.html, abc.html includes below js
If pushState without change url, at least in Chrome,
Maybe this behavior worth a notice.
MDN metadata
Page report details
en-us/web/api/history/pushstate
The text was updated successfully, but these errors were encountered: