W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2010

[whatwg] idea for .zhtml format #html5 #web

From: Thomas Broyer <t.broyer@gmail.com>
Date: Fri, 2 Apr 2010 21:41:32 +0200
Message-ID: <q2pa9699fd21004021241q38d6a7afle696b9ecbbe8c1bc@mail.gmail.com>
On Fri, Apr 2, 2010 at 8:39 PM, Eduard Pascual <herenvardo at gmail.com> wrote:
>
> On Fri, Apr 2, 2010 at 6:25 PM, Doug Schepers <doug at schepers.cc> wrote:
> > I don't think it's defined anywhere, but a browser could choose to save
> > bundled resources as a self-contained Widget ("File > Save as Widget..."),
> > which would be a great authoring solution for Widgets.
>
> Isn't that the same thing, in essence, as MS did with IE? IIRC, IE had
> an choice, on its save dialog, to "Save full page", which packed the
> html page + all the CSS, JS, image, and other dependencies within a
> ".mht" (called meta-HTML) file (which, of course, only IE would be
> able to open afterwards).

MHTML stands for MIME-encapsulated HTML and is an IETF RFC:
http://www.rfc-editor.org/rfc/rfc2557.txt


> The fact is that this feature has been removed from the more recent
> versions of IE (not sure if it was from IE6 or 7). It would be
> interesting to know why MS decided why such a feature should be
> removed.

Selecting Page -> Save as... on IE8 brings the save file dialog with
the type defaulting to "Web Archive, single file (*.mht)"

> At first glance, the only potential issue I see (both with IE's old
> MHT format and with any possible zhtml) is XSS: when a downloaded file
> is loaded from the local filesystem into the browser, which is its
> domain?

The one from its Content-Location MIME header.

--
Thomas Broyer
/t?.ma.b?wa.je/
Received on Friday, 2 April 2010 12:41:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:22 UTC