0
Files
src/content/web_test
Hitoshi Yoshida de5221f1f8 TestRunner: Remove deactivated frame from loading
If a frame is navigated away before finishing loading, the navigation
is not responsible to call DidStopLoading for the old frame.
This can make TestRunner's |loading_frames_| list inconsistent, if no
other events manages the list.

If we enable same-site backward/forward cache, the situation happens.

This CL makes TestRunner work for the case.


Bug: 1132180
Change-Id: I260883b326781ff98187bfef44c63f6ab25925b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2509074
Commit-Queue: Hitoshi Yoshida <peria@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824486}
2020-11-05 18:01:39 +00:00
..