1. W3C
HTML Living Standard: Section 7.6.4
"The History interface". The specification defines the pushState() method's behavior as causing the user agent to "add a state to the session history". In contrast
replaceState() is defined to "replace the current state". This directly supports pushState() as the correct method for incrementing history. (Source: https://html.spec.whatwg.org/multipage/history.html#dom-history-pushstate)
2. Mozilla Developer Network (MDN) Web Docs: The "Manipulating the browser history" guide explicitly states
"The pushState() method adds an entry to the browser's session history stack." It contrasts this with replaceState()
which "modifies the current history entry." This documentation is considered an authoritative reference for web standards implementation. (Source: https://developer.mozilla.org/en-US/docs/Web/API/HistoryAPI/Manipulatingthebrowserhistory)
3. MIT OpenCourseWare
6.170 Software Studio
Spring 2013: Lecture 10 slides on "AJAX" discuss the History API. Slide 23
"Manipulating History
" clearly distinguishes between history.pushState(state
title
url) for adding a new state and history.replaceState(state
title
url) for replacing the current one
reinforcing the correct usage. (Source: https://ocw.mit.edu/courses/6-170-software-studio-spring-2013/resources/mit6170s13lect10/)