displayNominalFramesPerSecond is intended to return the refresh rate of the display, but RemoteLayerTreeDisplayRefreshMonitor returns the preferred value set by the Page. This might be the nominal rate, but could also be a lower value if the Page applied throttling. The only caller of this function is Page, so it's a circular dependency, that can't return any useful information. I'm not aware of current bugs from this, but it seems plausible that we'd issue a windowScreenDidChange on iOS, and retrieve a throttled rate from the existing refresh monitor.
<rdar://problem/109953270>
Pull request: https://github.com/WebKit/WebKit/pull/14444
Committed 264775@main (e85bed10ffa8): <https://commits.webkit.org/264775@main> Reviewed commits have been landed. Closing PR #14444 and removing active labels.