Re: [Beacon] Review of current spec

On Fri, Nov 15, 2013 at 2:00 AM, Ilya Grigorik <igrigorik@google.com> wrote:
> On Thu, Nov 14, 2013 at 11:32 PM, Jonas Sicking <jonas@sicking.cc> wrote:
>> Mozilla has proposed APIs to enable this.
>
> ^ Jonas, do you have any links to past proposals? Was looking for exactly
> that earlier, but no luck...

Hrm.. I can't find it either. I guess we never made one publicly but
only internally.

We have an implementation of the API at [1] though. Think of
"ArchiveRequest" as "Promise".

An alternative approach would be to expose a read-only version of the
Directory interface defined in [2]. That's definitely more complex,
but has the advantage that it in the future could allow code sharing
with filesystems.

[1] http://mxr.mozilla.org/mozilla-central/source/dom/webidl/ArchiveReader.webidl
[2] http://w3c.github.io/filesystem-api/Overview.html#the-directory-interface

/ Jonas

Received on Friday, 15 November 2013 10:34:36 UTC