Description"Save As" for content retrieved via POST works in most circumstances.
If the content is in the HTTP cache, this will work in the following cases:
- "Save Page As" from the wrench menu for non-HTML pages.
- Context-menu save image as, or save audio/video plugin as.
- ViewHostMsg_SaveURLAs IPC's.
This will work for back/forward navigations to an item which was POST'ed, as well as for tabs restored via the TabRestoreService.
It does not work for tabs restored via the SessionService, such as after Chrome crashes or for users who have the "Reopen the Pages that were Open Last" option set.
This CL currently depends on http://codereview.chromium.org/9317009/
BUG=55551
TEST=DownloadTest.SavePageNonHTMLViaPost
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120494
Patch Set 1 #Patch Set 2 : Added test #Patch Set 3 : Tests and cleanup #Patch Set 4 : Tests and cleanup #Patch Set 5 : Add test page #Patch Set 6 : Add test page #
Total comments: 17
Patch Set 7 : I like comments #Patch Set 8 : Documentation #Patch Set 9 : Update RDH comment #Patch Set 10 : Rebase #
Total comments: 2
Patch Set 11 : Update comment #Patch Set 12 : Fix mock_download_manager #Patch Set 13 : Fix burn_manager and mock_download_manager #Patch Set 14 : Rebase #Messages
Total messages: 14 (0 generated)
|