Open Bug 2030898 Opened 5 months ago Updated 4 months ago

Add MHTML (RFC 2557) export support to "Save Page As"

Categories

(Core :: DOM: Serializers, enhancement)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: jkt, Assigned: jkt)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Add an MHTML option to the Save Page dialog so users can save a complete web page as a single .mhtml file, interoperable with Chromium and other tools. This is the write half of bug 40873, split out so it can land independently of read support.

Lifted from jkt/40873 tip (969cc8065d5f) onto main without export:
no nsMHTMLPersist, no WebBrowserPersist MHTML save path, no Save Page UI.
Browser tests that depended on export or the reftest generator were removed
or adjusted; add a checked-in mhtml-basic-rendering.mhtml for the basic reftest.

MHTML deltas are applied on top of current main for Document, nsDocShell,
LoadInfo, dom/security/moz.build, netwerk/protocol/moz.build, and
ActorManagerParent (avoid reverting unrelated main changes).

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: