DescriptionThere are no reproduction steps for 165634 but I think I know what's the cause
of the crashes. Here are the steps:
1. Go to web store
2. Click any extension to install
3. Close tab with web store before extension download is started
If tab is closed fast enough there will be a crash. It is very hard to be so
quick so I added delay in posting task from ui thread to file thread
(in WebstoreInstaller::DownloadCrx). Then it's very easy to get the crash.
This change fixes the problem as right now WebStoreInstaller will not try
to install extension when web contents was destroyed. I also removed
null pointer checks in WebstoreInstaller::StartDownload as I assume they
were added as an attempt of fixing the crash and they should not be needed
any longer.
BUG=165634
Patch Set 1 #
Total comments: 1
Messages
Total messages: 5 (0 generated)
|