Open Bug 1635463 Opened 5 years ago Updated 2 years ago

Firefox does not correctly save complete web pages

Categories

(Core :: DOM: Serializers, defect, P2)

68 Branch
x86_64
Windows 7
defect

Tracking

()

Tracking Status
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- fix-optional
firefox79 --- affected

People

(Reporter: a.plz, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

I want save a complete web page.

Actual results:

When I save the complete web pages, Firefox ESR does not respect the structure of the page and does not allow to load the saved images.
I have found that this problem exists only with the ESR version of Firefox, while with the non-ESR version the pages are saved correctly.
The same web page, with Firefox ESR is saved with the ".htm" extension, instead with Firefox non ESR is saved with the ".html" extension.
I use Windows 7 64-bit.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Product: Firefox → WebExtensions
Product: WebExtensions → Firefox

(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #1)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

The bug is inherent to Firefox ESR, NOT to WebExtensions.

Hi,
I was unable to reproduce this issue exactly as described, since the structure of the pages always was respected. But in some cases (i.e Youtube & Wikipedia pages) not all the images were loaded, neither the main icons (Youtube & Wiki logos). Also, the pages are saved with the ".htm" extension.

Does this issue occur with a fresh profile?

Please, could you detail in which pages do you notice this issue?

Thanks in advance, I've already chosen a component for this bug in hope that someone with more expertise may look at it. We'll await their answer.

Regards,
Jerónimo.

Component: Untriaged → DOM: Navigation
Flags: needinfo?(a.plz)
Product: Firefox → Core

(In reply to Jerónimo Torti from comment #3)

Hi,
I was unable to reproduce this issue exactly as described, since the structure of the pages always was respected. But in some cases (i.e Youtube & Wikipedia pages) not all the images were loaded, neither the main icons (Youtube & Wiki logos). Also, the pages are saved with the ".htm" extension.

Does this issue occur with a fresh profile?

Please, could you detail in which pages do you notice this issue?

Thanks in advance, I've already chosen a component for this bug in hope that someone with more expertise may look at it. We'll await their answer.

Regards,
Jerónimo.

Hello,
It's been a long time since I've encountered this problem with Firefox ESR.
The issue occurs with most of the web pages loaded. Only in a few cases are the pages saved correctly, but I have not analyzed the differences in their structure.
Currently, when I have to save the (complete) web pages I use Internet Explorer, which instead saves them correctly.
By opening the HTM file with notepad, I found that the images (.png, .jpg, .gif), the ".css" files and the ".js" files do not acquire the local path of the "* _files" folder created by saving the web page, but remains the original web path .
For this reason, when I open the web page saved using the "offline" browser, the images saved locally are not loaded and so also the structure of the page is completely wrong.
Obviously the problem does not arise if the internet connection is active and if the temporary internet files and cookies have not been deleted.
But I save the web pages just to be able to view them in offline mode.
Also, I don't understand why Firefox in the non-ESR version doesn't have the same problem and I don't understand why it saves the same pages with the ".html" extension while Firefox ESR saves them with the ".htm" extension.

Regards,
Angelo

Flags: needinfo?(a.plz)

Because this bug's Severity is normal and has not been changed, and this bug's priority is -- (none,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → --
Severity: -- → S2
OS: Unspecified → Windows 7
Priority: -- → P1
Hardware: Unspecified → x86_64
Severity: S2 → --
Priority: P1 → --

Hi Neha, an S1 or S2 bug needs an assignee - could you find someone for this bug?

Flags: needinfo?(nkochar)
Component: DOM: Navigation → DOM: Core & HTML
Flags: needinfo?(nkochar)

Issue not reproducible with 68.5.0esr on Ubuntu, the page looks OK, file extension is ".html", not ".htm".

Jerónimo: at c3 you mentioned you could reproduce the issue neither. Which OS did you use? If you didn't use Windows and the possibility to use it, could you please try it there?

a.plz: if you could provide a URL to a specific website, that could also help.

Flags: needinfo?(jeronimo.torti)

Hi,
I could test and reproduce the issue in Windows 7 64-bit. Now I cannot reproduce on Windows 10, and not able to test again in 7.
I could reproduce in Youtube & Wikipedia pages. Hope this bit of info could help.

Regards,
Jerónimo.

Flags: needinfo?(jeronimo.torti) → needinfo?(htsai)
Component: DOM: Core & HTML → DOM: Serializers
Severity: -- → S2
Priority: -- → P2
Priority: P2 → P3

I can reproduce this issue on nightly 79 and release 77, on win10.
Save https://wiki.mozilla.org/Main_Page or https://en.wikipedia.org/wiki/Main_Page as "Web page, complete"
The saved files don't have the logo images on the left-upper corner.

Flags: needinfo?(htsai)
Priority: P3 → P2
Summary: Firefox ESR does not correctly save complete web pages → Firefox does not correctly save complete web pages
Severity: S2 → S3

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.