Sharing a page would cause a crash |
||||
Issue descriptionSteps: 1. make sure sharing flag is off. 2. download a page, it will be in private dir. 3. turn on the sharing flag. 4. load the downloaded page in 2 from Download Home 5. Use clank overflow menu to share the item, to any client. 6. come back to Chrome and share again it will crash here.
,
May 8 2018
,
Jun 13 2018
,
Jun 13 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/29d02cc3fb499e33f60a26899068463672ccf0b9 commit 29d02cc3fb499e33f60a26899068463672ccf0b9 Author: Pete Williamson <petewil@chromium.org> Date: Wed Jun 13 18:24:40 2018 Better fix for bug 829099 . We were crashing if we ended up failing to publish a page when sharing. An initial fix repaired it by sharing an item that was invalid in such a way as to fail silently. Initially I thought that the share callback needed to always be called to continue processing and report failures. However, all it does is to share the item in the callback. Therfore, a better fix is to just not call the callback if there is some failure, as opposed to making sure that we call it with an item which will fail to share. Bug: 829099 Change-Id: I9b25cb67480a822cbbe8cef1b39d687fce076af1 Reviewed-on: https://chromium-review.googlesource.com/1098382 Reviewed-by: Yafei Duan <romax@chromium.org> Commit-Queue: Peter Williamson <petewil@chromium.org> Cr-Commit-Position: refs/heads/master@{#566925} [modify] https://crrev.com/29d02cc3fb499e33f60a26899068463672ccf0b9/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java
,
Jun 13 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Apr 6 2018