To help me write the file plugin for FirefoxOS I wrote a test app[1]. I wrote it based on the HTML5 rocks post. I was hoping to integrate some of this into mobile-spec or whatever is our next testing framework.
Hope it helps, Rodrigo. [1] - https://github.com/rodms10/FileTest [2] - http://www.html5rocks.com/en/tutorials/file/filesystem/ ----- Original Message ----- From: "Martin Gonzalez" <martin.c.glez.g...@gmail.com> To: dev@cordova.apache.org Sent: Monday, June 23, 2014 3:46:08 PM Subject: Re: File API as implemented by cordova-plugins-file I've been working on fixing those the file API tests, I have filled several bugs at JIRA, about some issues with the native side as well. At the end I have just 14 tests failing (fixing the issues just 5). I'll deliver the fixes for mobilespec at night. Totally agree, some changes for other platforms breaks functionality, I was having more than 60 failing tests before the fix in the issue CB-6980, cause by the changes in CB-6525 that provides only solution for iOS and Android. On Jun 23, 2014 4:06 PM, "Jesse" <purplecabb...@gmail.com> wrote: > I am working through numerous failing tests in the file plugin, but the > documentation is non-existent. > > Is there some reference to this somewhere? Pointing to ever-changing > defunct specs that aren't even followed makes this impossible to resolve > without going and reading the code from other platforms. ( likely all of > them, since it seems to be quirk-ville ) > > Currently the docs say: > This plugin provides the HTML5 FileSystem API > ( http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ ) > which provides little if any info. > > Mozilla has done a better job of documenting some of this stuff, but not > the cordova specific additions. > https://developer.mozilla.org/en-US/docs/Web/API/File_System_API > > My first implementation question: > What is a nativeURL? It is a non-standard property that was added to Entry > and therefore FileEntry and DirectoryEntry, but documentation makes no > mention of it. > > It would be great if we could document FIRST when we add breaking changes > that affect other 'less important' platforms. > > > > > > @purplecabbage > risingj.com >
