This reverts commit 0b48266711.
Reason for revert: Causes widespread flakiness in http/tests/devtools
web tests. see crbug.com/329487276 for one example bug with links to
test histories.
Original change's description:
> Update test runner to account for same-site RFH change
>
> With RenderDocument, we can change RenderFrames within the same
> process. This is not currently handled correctly by some parts of the
> WebTestControlHost. This is fixed by this CL by:
> - Making WebTestWindowObserver observe pre-existing speculative RFHs
> (it would miss them otherwise since those already called
> RenderFrameCreated before the construction of WebTestWindowObserver)
> - Making WebTestControlHost call ReplicateWebTestRuntimeFlagsChanges
> on all WebTestRenderFrameRemotes instead of only one per renderer
> process (as there can be multiple)
>
> Bug: 936696
> Change-Id: I4184a29de9c21bce3029fbe7bd7d15ffa98b10db
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5368628
> Reviewed-by: Fergal Daly <fergal@chromium.org>
> Auto-Submit: Rakina Zata Amni <rakina@chromium.org>
> Commit-Queue: Fergal Daly <fergal@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1271970}
Bug: 936696, 329518758, 329487276
Change-Id: I1ea2466a6672ba21d0dfdd702bb0899b481171f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5366211
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Simon Zünd <szuend@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1272667}