You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Shazron <sh...@gmail.com> on 2014/04/17 03:08:16 UTC

[File Plugin, iOS] What to do with FileEntry.setMetadata?

This function is not in the W3C File API spec, thus not documented. But
users need to use this to set the metadata for files so they don't get
backed up to iCloud: https://issues.apache.org/jira/browse/CB-6195

It's not really a "quirk", more like an addition to the spec.

Re: [File Plugin, iOS] What to do with FileEntry.setMetadata?

Posted by James Jong <wj...@gmail.com>.
How about documenting it as an iOS specific extension?  We can mention it’s not part a current spec.
-James Jong

On Apr 17, 2014, at 9:03 AM, Ian Clelland <ic...@chromium.org> wrote:

> It's not in the File API spec; it's in the "File API: Directories and
> System" (http://www.w3.org/TR/file-system-api/#methods-2), which is what
> our File plugin is largely based on.
> 
> (Unfortunately, it's now one of two competing File System specs at the W3C,
> and it looks like it's losing. The last I heard, that document is going to
> be relegated to "Note" status, and the browser vendors are going to move
> forward with Mozilla's FileSystem API spec:
> http://w3c.github.io/filesystem-api/Overview.html. We may be left on our
> own supporting this particular spec.)
> 
> Ian
> 
> On Wed, Apr 16, 2014 at 11:07 PM, Steven Gill <st...@gmail.com>wrote:
> 
>> Maybe this is something we could suggest to the W3C group for addition?
>> 
>> [1] http://www.w3.org/TR/FileAPI/
>> [2] public-webapps@w3.org <public-webapps@w3.org?subject=%5BFileAPI%5D>
>> 
>> 
>> 
>> On Wed, Apr 16, 2014 at 6:08 PM, Shazron <sh...@gmail.com> wrote:
>> 
>>> This function is not in the W3C File API spec, thus not documented. But
>>> users need to use this to set the metadata for files so they don't get
>>> backed up to iCloud: https://issues.apache.org/jira/browse/CB-6195
>>> 
>>> It's not really a "quirk", more like an addition to the spec.
>>> 
>> 


Re: [File Plugin, iOS] What to do with FileEntry.setMetadata?

Posted by Ian Clelland <ic...@chromium.org>.
It's not in the File API spec; it's in the "File API: Directories and
System" (http://www.w3.org/TR/file-system-api/#methods-2), which is what
our File plugin is largely based on.

(Unfortunately, it's now one of two competing File System specs at the W3C,
and it looks like it's losing. The last I heard, that document is going to
be relegated to "Note" status, and the browser vendors are going to move
forward with Mozilla's FileSystem API spec:
http://w3c.github.io/filesystem-api/Overview.html. We may be left on our
own supporting this particular spec.)

Ian

On Wed, Apr 16, 2014 at 11:07 PM, Steven Gill <st...@gmail.com>wrote:

> Maybe this is something we could suggest to the W3C group for addition?
>
> [1] http://www.w3.org/TR/FileAPI/
> [2] public-webapps@w3.org <public-webapps@w3.org?subject=%5BFileAPI%5D>
>
>
>
> On Wed, Apr 16, 2014 at 6:08 PM, Shazron <sh...@gmail.com> wrote:
>
> > This function is not in the W3C File API spec, thus not documented. But
> > users need to use this to set the metadata for files so they don't get
> > backed up to iCloud: https://issues.apache.org/jira/browse/CB-6195
> >
> > It's not really a "quirk", more like an addition to the spec.
> >
>

Re: [File Plugin, iOS] What to do with FileEntry.setMetadata?

Posted by Steven Gill <st...@gmail.com>.
Maybe this is something we could suggest to the W3C group for addition?

[1] http://www.w3.org/TR/FileAPI/
[2] public-webapps@w3.org <public-webapps@w3.org?subject=%5BFileAPI%5D>



On Wed, Apr 16, 2014 at 6:08 PM, Shazron <sh...@gmail.com> wrote:

> This function is not in the W3C File API spec, thus not documented. But
> users need to use this to set the metadata for files so they don't get
> backed up to iCloud: https://issues.apache.org/jira/browse/CB-6195
>
> It's not really a "quirk", more like an addition to the spec.
>