Download link menu item fetches raw html that is saved to downloads home |
||||||||
Issue descriptionVersion: 54.0.2840.0 (and ToT) OS: Android What steps will reproduce the problem? (1) open any page (2) Long press a link (to another page) and select Download link (3) Wait for notification that link was downloaded (4) Go to Download manager and try to open the saved link What is the expected output? A richer version of the page is saved. What do you see instead? html page only, which cannot even be opened by chrome (Android html viewer and docs are the 2 options available) This is not necessarily a bug, as it might be considered a feature request. We currently tests async loading with an extra button, but perhaps knowing there is an html at the other end using Background loader instead of download manager would be more appropriate for such links.
,
Sep 23 2016
(triage) We'd like this to be addressed in M55 asanka@, if you need any help from the offline pages folks please ping us or this bug.
,
Sep 23 2016
,
Sep 23 2016
Just to be clear, this is not going in for M55.
,
Nov 8 2016
,
Nov 9 2016
,
Nov 15 2016
,
Nov 15 2016
,
Nov 23 2016
Issue 668233 has been merged into this issue.
,
Nov 23 2016
,
Dec 20 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/4f6b28049376a0e309fda4cbeb6e4d7aac98965c commit 4f6b28049376a0e309fda4cbeb6e4d7aac98965c Author: dimich <dimich@chromium.org> Date: Tue Dec 20 00:18:33 2016 [Android Downloads] Long-press menu item "Download Link" should delegate job to OfflinePages backend. This patch interrupts the download and hands it off to the OfflinePage backend once the mime type of the download is detected and it is text/html. Other downloads not affected. BUG= 643731 Review-Url: https://codereview.chromium.org/2528483003 Cr-Commit-Position: refs/heads/master@{#439630} [modify] https://crrev.com/4f6b28049376a0e309fda4cbeb6e4d7aac98965c/chrome/browser/BUILD.gn [add] https://crrev.com/4f6b28049376a0e309fda4cbeb6e4d7aac98965c/chrome/browser/android/offline_pages/downloads/resource_throttle.cc [add] https://crrev.com/4f6b28049376a0e309fda4cbeb6e4d7aac98965c/chrome/browser/android/offline_pages/downloads/resource_throttle.h [add] https://crrev.com/4f6b28049376a0e309fda4cbeb6e4d7aac98965c/chrome/browser/android/offline_pages/downloads/resource_throttle_unittest.cc [modify] https://crrev.com/4f6b28049376a0e309fda4cbeb6e4d7aac98965c/chrome/browser/android/offline_pages/offline_page_utils.cc [modify] https://crrev.com/4f6b28049376a0e309fda4cbeb6e4d7aac98965c/chrome/browser/android/offline_pages/offline_page_utils.h [modify] https://crrev.com/4f6b28049376a0e309fda4cbeb6e4d7aac98965c/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc [modify] https://crrev.com/4f6b28049376a0e309fda4cbeb6e4d7aac98965c/chrome/test/BUILD.gn
,
Dec 20 2016
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by dim...@chromium.org
, Sep 7 2016Owner: asanka@chromium.org