All error codes from the MHTML archiver are being reported as ArchiveCreationFailed |
|||||
Issue descriptionWe have a check in the offline_page_model_impl where if the url we saved (returned from the mhtml archiver) is different from the url we expected to save, then we override whatever error code is returned from the archiver and return archive_creation_failed. Consequently, the mhtml archiver is returning GURL() (empty url) whenever it detected a failure, along with a different flavored error code. This causes us to always report ARCHIVE_CREATION_FAILED no matter the real reason even in UMA
,
May 3 2017
,
May 3 2017
Can you please mark which OS this fix is affecting?
,
May 3 2017
,
May 3 2017
Your change meets the bar and is auto-approved for M59. Please go ahead and merge the CL to branch 3071 manually. Please contact milestone owner if you have questions. Owners: amineer@(Android), cmasso@(iOS), gkihumba@(ChromeOS), Abdul Syed@(Desktop) For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 3 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/21f8e7b001337051a0bfa84c30f53ce557c99d1b commit 21f8e7b001337051a0bfa84c30f53ce557c99d1b Author: Justin DeWitt <dewittj@chromium.org> Date: Wed May 03 20:34:36 2017 [Offline pages] Fix order of error checking so URL mismatch would not override other error codes BUG= 717706 Review-Url: https://codereview.chromium.org/2860543002 Cr-Commit-Position: refs/heads/master@{#469082} (cherry picked from commit 7ed8f251fa9ae767f20a32abe8d70921b883d062) Review-Url: https://codereview.chromium.org/2856053003 . Cr-Commit-Position: refs/branch-heads/3071@{#381} Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641} [modify] https://crrev.com/21f8e7b001337051a0bfa84c30f53ce557c99d1b/components/offline_pages/core/offline_page_model_impl.cc [modify] https://crrev.com/21f8e7b001337051a0bfa84c30f53ce557c99d1b/components/offline_pages/core/offline_page_model_impl.h |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by bugdroid1@chromium.org
, May 3 2017