-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Crash bug fix for WebStateImpl being null during download process
This is a merge to M103. There's currently a bug where a user crashes during the download process due to WebState being null. Reproducing the crash through a unit/eg test is currently difficult since the cause of the crash seems to be time dependent hence why there isn't a unit test accompanied with the fix to test if it works. Existing unit tests have also been updated to pass the tests since we can't replicate a delegate call since the delegate is set to nil. This way, unit tests can still pass as if the delegate existed and wasn't prematurely cancelled. (cherry picked from commit 13df7d1) Fixed: 1325108 Change-Id: I72a54fcddde20d95061642539c3553b0e3c219ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3648169 Commit-Queue: Joemer Ramos <joemerramos@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1004248} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3661421 Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Auto-Submit: Joemer Ramos <joemerramos@chromium.org> Cr-Commit-Position: refs/branch-heads/5060@{#217} Cr-Branched-From: b83393d-refs/heads/main@{#1002911}
- Loading branch information
Joemer Ramos
authored and
Chromium LUCI CQ
committed
May 24, 2022
1 parent
7b0821e
commit 1865175
Showing
4 changed files
with
72 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters