WPT details: The navigation-api/ directory makes extensive use of restoreScroll(), and we're updating it to use scroll() alongside the implementation
scroll() works very similarly to the existing restoreScroll() except that it can be called when the navigation is not a traversal. It also allows manually performing the scroll even when not in manual scroll mode.
When initially desiging restoreScroll(), we were thinking (as the name implies) of restoring scroll position during a traversal. However, web developers may want to precisely control the timing of scroll during a non-traversal same-document navigation. See https://github.com/WICG/navigation-api/issues/237