This is something I haven't prototyped before, so I would appreciate thoughts on how to (not) implement it.
A secondary goal is that the window size looks the same on capture and replay, possibly by telling the embedder it needs to resize the view. Showing the intended window size lets the inspector visualize replayed user inputs with overlays. If the window can't actually be resized, we still want layout to use the original size even if not all of the content can be displayed.
It would also be nice to make resizing work with capture and replay. Setting the initial size could be treated as a resize command.
A naive first step should be a simple as saving page->chrome().windowRect() and restoring it with page->chrome().setWindowRect(). I'm not sure where the right hook would be to capture user resizes.
We probably want to do this through WK2.
Closing web replay-related bugs until we resume working on the feature again.