Description<webview>: Fix navigation/attachment race
We should not allow attachment after an initial navigation.
Currently, we don't allow attachment after an instance ID is allocated.
These two checks are not equivalent. We chould have requested an instance ID from
the browser process and then immediately attach a new winow to the <webview> on the next
line prior to getting an instance ID. This will cause attach to get called again.
BUG=244641
Test=manually, this is a race that is extremely hard to test reliably. I will avoid adding
an automated test to avoid introducing more flake.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202886
Patch Set 1 #
Total comments: 1
Patch Set 2 : Added comment #
Messages
Total messages: 8 (0 generated)
|