Descriptioncc: Fix overwriting of commit completion event in MFBA mode.
In main frame before activation (MFBA) mode the following sequence was
problematic:
1. Commit
2. BeginMainFrame
3. StartCommitOnImpl with hold_commit_for_activation=1 (second commit)
4. NotifyReadyToActivate (first commit)
5. Activate (first commit)
6. Commit (second commit)
StartCommitOnImpl will overwrite the completion event and associated
flag that's used in the previous frame's activation. The activation
would then signal the second commit's completion event and that commit
would later crash due to accessing a null completion event.
Added a test specifically for this case and also made the existing test
for hold_commit_for_activation more robust.
R=enne@chromium.org
BUG=613007
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/2237c9b93be8a4f6c106149f714b4b88856c4549
Cr-Commit-Position: refs/heads/master@{#395185}
Patch Set 1 #
Total comments: 2
Patch Set 2 : better tests #
Messages
Total messages: 10 (3 generated)
|