W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2013

Re: [whatwg] Zip archives as first-class citizens

From: Mark Nottingham <mnot@mnot.net>
Date: Mon, 2 Sep 2013 11:08:48 +1000
Message-Id: <E459152A-A195-4EF1-8FEC-0A03140B93AE@mnot.net>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: WHATWG <whatwg@whatwg.org>

On 29/08/2013, at 9:13 PM, Anne van Kesteren <annevk@annevk.nl> wrote:

> * Resources that can contain subresources (HTML, CSS, JavaScript,
> workers, ...) would need to have an outer and inner location. If you
> have e.g. <a href="#test"> updating the address bar to
> #path=test.html&id=test is somewhat magic. For <a href="other.html">
> it'd be pretty magic too.

*sigh* good point.

> *  For origin comparison you'd have to look at the outer location.

I kinda wonder if it should; if ZIP is really being used as a packaging format, the idea is to make it portable, right? So a ZIP should run just as well from the local filesystem (file://) as it should from the original Web site, or one it's copied to, or if it's just relocated to a different place. CORS should be set up properly, assumptions shouldn't be made about its context, etc.

Just my .02, YMMV.


Mark Nottingham   http://www.mnot.net/
Received on Monday, 2 September 2013 01:09:19 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:09 UTC