Re: Proposal for sending multiple files via XMLHttpRequest.send()

2009-09-14 Thread Yaar Schnitman
How is supposed the web application to detect that the browser supports this feature? Maybe instead of overloaded send, we should create new method sendFile(File) and sendFiles(File[]). And between the two approaches, the first one is simpler, but the second one allows to send the files

Re: [widgets] Editorial Comments on 18-Aug-2009 LCWD of AE spec

2009-09-14 Thread Arthur Barstow
On Sep 13, 2009, at 1:06 PM, ext Marcos Caceres wrote: On Fri, Sep 11, 2009 at 9:30 PM, Arthur Barstow art.bars...@nokia.com wrote: 10. Section 2: Initialization: I don't understand this sentence, which when shortened is effectively The first run through X, prior to runtime.. How

Re: [widgets] Comments on Section 5 of the 18-Aug-2009 LCWD of AE spec

2009-09-14 Thread Arthur Barstow
On Sep 13, 2009, at 3:23 PM, ext Marcos Caceres wrote: On Wed, Sep 9, 2009 at 10:07 PM, Arthur Barstow art.bars...@nokia.com wrote: 3. The following statement doesn't seem necessary given preferences is of type Storage; as such, I think it should be removed: [[ A user agent must have the

Re: ISSUE: The application/widget media type has not yet been registered with IANA. This will happen when the specification reaches Candidate Recommendation status.

2009-09-14 Thread Marcos Caceres
On Mon, Sep 14, 2009 at 6:46 AM, timeless timel...@gmail.com wrote: On Mon, Sep 14, 2009 at 3:14 AM, Innovimax SARLinnovi...@gmail.com wrote: I wanted to propose that the mediatype should be application/widget+zip In this case it is clear that it is a zip package (just in case another

Re: [widgets] Comments on Section 5 of the 18-Aug-2009 LCWD of AE spec

2009-09-14 Thread Marcos Caceres
Art, Upon further consideration of your feedback, I have removed the following assertions from the spec (they were redundant because either WebStorage already says it, or the spec says it in another place better): [[ A user agent must be able to create unique storage areas for each origin of a

Re: [widgets] Editorial Comments on 18-Aug-2009 LCWD of AE spec

2009-09-14 Thread Marcos Caceres
On Mon, Sep 14, 2009 at 1:33 PM, Arthur Barstow art.bars...@nokia.com wrote: On Sep 13, 2009, at 1:06 PM, ext Marcos Caceres wrote: On Fri, Sep 11, 2009 at 9:30 PM, Arthur Barstow art.bars...@nokia.com wrote: 10. Section 2: Initialization: I don't understand this sentence, which when

Re: Proposal for sending multiple files via XMLHttpRequest.send()

2009-09-14 Thread Michael Nordman
What I think we really want is a script-only means of sending multipart form-data encoding POSTs that contain a mix of file- parts and binary-parts (in addition to the ability to send the raw contents of a file). * script-only, so these POSTs can be performed in workers * multipart form-data, its

[WebStorage] structured clones serialization

2009-09-14 Thread Marcos Caceres
Hi Ian, With the recent move to structured clones in Web Storage, I'm wondering if a serialization for those clones needs to be specified? A use case for widgets is widget preferences, where the preference's in a widget's configuration document are used to populate a storage object. At the

Re: Proposal for sending multiple files via XMLHttpRequest.send()

2009-09-14 Thread Jonas Sicking
2009/9/14 Michael Nordman micha...@google.com: What I think we really want is a script-only means of sending multipart form-data encoding POSTs that contain a mix of file- parts and binary-parts (in addition to the ability to send the raw contents of a file). * script-only, so these POSTs can

Re: Proposal for sending multiple files via XMLHttpRequest.send()

2009-09-14 Thread Michael Nordman
On Mon, Sep 14, 2009 at 1:26 PM, Jonas Sicking jo...@sicking.cc wrote: 2009/9/14 Michael Nordman micha...@google.com: What I think we really want is a script-only means of sending multipart form-data encoding POSTs that contain a mix of file- parts and binary-parts (in addition to the