Actually force a reload when the CommChannel tells the page to reload.
Review Request #13273 — Created Sept. 12, 2023 and submitted — Latest diff uploaded
The new communication channel implementation allows one tab to tell
others to reload themselves, but I had implemented that by basically
doingwindow.location = window.location
. This was fine for most cases,
but if there was an active anchor in the URL, the page would just scroll
to that anchor. This change fixes it to actually call
window.location.reload()
.
- Verified that reloading worked correctly.
- Ran unit tests.