Sam, > I don't think we should include synchronous access to File data > provided by: > DOMString getDataAsText(in DOMString encoding) raises(FileException); > DOMString getDataAsBase64() > raises(FileException); > DOMString getDataAsBinary() > raises(FileException); > DOMString getAsDataURL() > raises(FileException); > The only real change I made to the text from the "old" text of the spec. was to add in requirements [1] to which I didn't get much feedback ;-) but that's ok. Mozilla's nsIDOMFile behaves synchronously, so I kept in the section with such methods. I'm not *super* opinionated on this and am not sure that this should *prevent* publishing -- could we publish what we have and then discuss? I'll keep making changes before the moratorium so we have something more substantive to discuss, but FWIW: > I would propose an asynchronous API, perhaps like the one proposed > for > Blobs http://code.google.com/p/gears/wiki/BlobWebAPIPropsal#Reading_Blob_Data, > instead. I agree and will add this (and have been meaning to). -- A* [1] http://dev.w3.org/2006/webapi/FileUpload/publish/FileUpload.xhtml#requirementsReceived on Tuesday, 7 October 2008 01:27:48 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:43:01 GMT