DescriptionFix a crashing call to GURL::spec() in downloads_api.cc:DownloadItemToJSON()
The actual bug is DownloadItemImpl::GetOriginalUrl(): the front() of an empty vector is not a good GURL reference!
The sprinkling of GURL::is_valid() is just to make me feel better.
There is still the open question of what happened to the downloads_url_chain records, but that is less urgent than stopping the crashes.
BUG=190096
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188602
Patch Set 1 : @r187927 #Patch Set 2 : @r188056 #
Total comments: 1
Patch Set 3 : @r188114 #
Messages
Total messages: 9 (0 generated)
|