Hi,

(Wondering why I didn't receive this mail...)

On 2015-12-18 17:13:17 +0100, Jack Underwood wrote:
> Hi Vincent
> I just tried the following on 38.2.1 and I can extend upon this further...
> the steps to accomplish
> 
> 1. Open a webpage from my local virtual host
> 2. Disable Apache without reloading page
> 3. Save As Complete HTML
> 
> I could then open the the page I saved, even though it no longer existed if
> I were to refresh the page... (it didn't save the images or css though).
> 
> Changing step 3. to "Web Page, HTML only", however made it didn't work.
> 
> This kind of makes sense from what they say here
> https://support.mozilla.org/en-US/kb/how-save-web-page; "HTML only", will
> save the original page, i.e. reload it,
[...]

This could explain the issue, as in my case, the web page was a
temporary (generated) file, removed shortly after it is loaded in
Firefox. So, the "Save As" is misleading. In the case of "HTML only",
it should be called "Reload + Save As", or "Reload / HTML only"[*].
The fact that one does not get an error message in case of reload
failure makes the problem even worse.

[*] I now remember https://bugzilla.mozilla.org/show_bug.cgi?id=288462
and the particular case for "Save Page As" of a POST page:
https://bugzilla.mozilla.org/show_bug.cgi?id=479296

> When you say don't remove the target file, I think you mean that firefox
> should refer to the original file from cache, rather than attempt to
> redownload the file.  In which case I agree, but all of these issues (whilst
> not an expert or maintainer) I would consider as non "grave" upstream
> issues.

I meant that the target file should not be removed until the "Save As"
succeeded (a temporary file name should be used for one of them), to
make sure that at any time, one has at least one copy of the file (the
old one or the new one) on disk. Otherwise, this is data loss.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to