Re: [XHR2] Blobs, names and FormData

2011-08-23 Thread Anne van Kesteren
On Tue, 23 Aug 2011 02:25:38 +0200, Jonas Sicking jo...@sicking.cc wrote: Given that this seems to be the way people prefer to do it, I'm fine with doing that for Gecko too. But we definitely would need to get FormData.append changed so that it supports the use case. So the current line for

Re: [XHR2] Blobs, names and FormData

2011-08-23 Thread Alfonso Martínez de Lizarrondo
Julian Reschke also wanted to specify the mime type El 23/08/2011 09:53, Anne van Kesteren ann...@opera.com escribió: On Tue, 23 Aug 2011 02:25:38 +0200, Jonas Sicking jo...@sicking.cc wrote: Given that this seems to be the way people prefer to do it, I'm fine with doing that for Gecko too. But

[Bug 13786] Drop the charset parameter or made it non-conforming. Other MIME types introduced by this specification do not allow the charset parameter.

2011-08-23 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13786 Anne ann...@opera.com changed: What|Removed |Added Status|RESOLVED|REOPENED

Re: [XHR2] Blobs, names and FormData

2011-08-23 Thread Jonas Sicking
2011/8/23 Alfonso Martínez de Lizarrondo aml...@gmail.com: Julian Reschke also wanted to specify the mime type Why? Keeping in mind that you can (and arguably should) already specify the mimetype when you create a blob. Both BlobBuilder.getBlob and Blob.slice lets you specify a mimetype. And

Re: [XHR2] Blobs, names and FormData

2011-08-23 Thread Jonas Sicking
On Tue, Aug 23, 2011 at 12:53 AM, Anne van Kesteren ann...@opera.com wrote: On Tue, 23 Aug 2011 02:25:38 +0200, Jonas Sicking jo...@sicking.cc wrote: Given that this seems to be the way people prefer to do it, I'm fine with doing that for Gecko too. But we definitely would need to get

[Bug 13834] Garbage collection policy for XMLHttpRequestUpload

2011-08-23 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13834 Anne ann...@opera.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [XHR2] Blobs, names and FormData

2011-08-23 Thread Anne van Kesteren
On Tue, 23 Aug 2011 10:18:19 +0200, Jonas Sicking jo...@sicking.cc wrote: Yes. Where if the filename is excluded is left out it uses the File.name of the Blob (if the Blob is also a File), or blob (if the Blob is not a File). That leaves the question what to do if the filename is specified but

Re: [XHR2] Blobs, names and FormData

2011-08-23 Thread Charles Pritchard
On 8/23/2011 3:08 AM, Anne van Kesteren wrote: On Tue, 23 Aug 2011 10:18:19 +0200, Jonas Sicking jo...@sicking.cc wrote: Yes. Where if the filename is excluded is left out it uses the File.name of the Blob (if the Blob is also a File), or blob (if the Blob is not a File). That leaves the

Re: [XHR2] Blobs, names and FormData

2011-08-23 Thread Michael Nordman
2011/8/23 Jonas Sicking jo...@sicking.cc On Tue, Aug 23, 2011 at 12:53 AM, Anne van Kesteren ann...@opera.com wrote: On Tue, 23 Aug 2011 02:25:38 +0200, Jonas Sicking jo...@sicking.cc wrote: Given that this seems to be the way people prefer to do it, I'm fine with doing that for Gecko

Component Model Update

2011-08-23 Thread Dimitri Glazkov
All, Over the last few weeks, a few folks and myself have been working on fleshing out the vision for the Component Model. Here's what we've done so far: * Created a general overview document for behavior attachment problem on the Web (http://wiki.whatwg.org/wiki/Behavior_Attachment); * Wrote

RE: FW: [indexeddb] transaction commit failure

2011-08-23 Thread Eliot Graff
Added a note for that step: Even if the event is cancelled (by a call to preventDefault), follow the steps for aborting a transaction. -Original Message- From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Monday, August 22, 2011 5:27 PM To: Eliot Graff Cc: Israel Hilerio;

Re: Mouse Lock

2011-08-23 Thread Klaas Heidstra
I agree with you that the deltas should be in a separate event. That would also be the most logical because moving the cursor(corresponding to a mousemove event) and physically moving your mouse are separate things. If mousemove wasn't already used for cursor movement(mousemove imo should have

Re: Mouse Lock

2011-08-23 Thread Klaas Heidstra
You could constrain the mouse cursor on linux using a combination of XQueryPointer and XWarpPointer. By moving the cursor when it hits the edge of an element. The same solution could be used for Mac where there also doesn't seem to be a direct method for constraining the mouse cursor. When

Re: Component Model Update

2011-08-23 Thread Adam Barth
I feel somewhat like I'm walking into the middle of a movie, but I have a couple questions. Please forgive me if my questions have already been answer in previous discussions. On Tue, Aug 23, 2011 at 1:40 PM, Dimitri Glazkov dglaz...@chromium.org wrote: All, Over the last few weeks, a few

Re: Component Model Update

2011-08-23 Thread Adam Barth
On Tue, Aug 23, 2011 at 9:19 PM, Adam Barth w...@adambarth.com wrote: I feel somewhat like I'm walking into the middle of a movie, but I have a couple questions.  Please forgive me if my questions have already been answer in previous discussions. On Tue, Aug 23, 2011 at 1:40 PM, Dimitri

[selectors-api] Return an Array instead of a static NodeList

2011-08-23 Thread Julien Richard-Foy
Since Javascript 1.6, a lot of useful collection functions are defined for Array [1]. Unfortunately, they can’t be used directly with results returned by .querySelectorAll, or even .getElementsByTagName since these functions return NodeLists. I understand the DOM API is defined without a