Re: [XHR2] Blobs, names and FormData

2011-08-31 Thread Anne van Kesteren
On Tue, 30 Aug 2011 21:49:19 +0200, Charles Pritchard ch...@jumis.com wrote: Many services use form-urlencoded for form data, though not for files, and typically not for large strings. Google's Picasa uses multipart/related instead of multipart/form-data. I believe that Google App engine has

Re: [XHR2] Blobs, names and FormData

2011-08-31 Thread Charles Pritchard
On 8/30/2011 11:03 PM, Anne van Kesteren wrote: On Tue, 30 Aug 2011 21:49:19 +0200, Charles Pritchard ch...@jumis.com wrote: Many services use form-urlencoded for form data, though not for files, and typically not for large strings. Google's Picasa uses multipart/related instead of

Re: [XHR2] Blobs, names and FormData

2011-08-31 Thread Charles Pritchard
On 8/30/2011 7:11 PM, Jonas Sicking wrote: On Tue, Aug 30, 2011 at 5:59 PM, Charles Pritchardch...@jumis.com wrote: On 8/30/11 5:52 PM, Jonas Sicking wrote: On Tue, Aug 30, 2011 at 3:26 PM, Charles Pritchardch...@jumis.com wrote: On 8/24/2011 11:56 PM, Charles Pritchard wrote: On

Re: [File API] opaque string

2011-08-31 Thread Anne van Kesteren
On Wed, 31 Aug 2011 06:22:05 +0200, Arun Ranganathan a...@mozilla.com wrote: On 8/14/11 6:00 AM, Anne van Kesteren wrote: Why can you not use characters legally allowed in IRIs? You can; they have to be escaped. Yeah sure, every URI is an IRI, but that is not what I am asking. The bit on

[File API] Dereferencing Model for Blob URIs

2011-08-31 Thread Anne van Kesteren
This model should be rephrased a bit to make it more clear what the requirements are. E.g. I think if you use POST it should not be a MAY but a MUST that 500 is returned. Also what are the security errors you can get a 500 for? Are they not handled by 403? I think handling them with 403 is

Re: [File API] dependencies

2011-08-31 Thread Anne van Kesteren
On Wed, 31 Aug 2011 06:20:58 +0200, Arun Ranganathan a...@mozilla.com wrote: Done. Thanks! I noticed a few small things: * HTML5 should be without space * Progress Events is pointing to a dated version rather than the latest; Charles is also no longer an editor; 1.0 can be dropped --

Re: [File API] FileList

2011-08-31 Thread Anne van Kesteren
On Wed, 31 Aug 2011 06:12:06 +0200, Arun Ranganathan a...@mozilla.com wrote: On 8/14/11 5:36 AM, Anne van Kesteren wrote: I think FileList should talk less about selected files and more about being a collection or list of File objects. That way it can be reused in the future without people

Re: [File API] Blob.slice()

2011-08-31 Thread Anne van Kesteren
On Wed, 31 Aug 2011 06:17:17 +0200, Arun Ranganathan a...@mozilla.com wrote: On 8/14/11 5:42 AM, Anne van Kesteren wrote: Why does the slice() method use [TreatUndefinedAs=EmptyString]? Can it not just use the normal default handling? Also, if you do indeed want to use that saying If the

Re: Rescinding the DOM 2 View Recommendation?

2011-08-31 Thread Arthur Barstow
On 8/13/11 6:19 AM, ext Anne van Kesteren wrote: On Thu, 11 Aug 2011 00:02:56 +0200, Doug Schepers schep...@w3.org wrote: After discussion with PLH and Ian Jacobs, and I don't think it's necessary for us to go through the additional overhead of rescinding the DOM 2 View specification.

Re: [XHR2] Blobs, names and FormData

2011-08-31 Thread Jonas Sicking
On Wed, Aug 31, 2011 at 12:07 AM, Charles Pritchard ch...@jumis.com wrote: On 8/30/2011 7:11 PM, Jonas Sicking wrote: On Tue, Aug 30, 2011 at 5:59 PM, Charles Pritchardch...@jumis.com  wrote: On 8/30/11 5:52 PM, Jonas Sicking wrote: On Tue, Aug 30, 2011 at 3:26 PM, Charles

Re: RfC: how to organize the DOM specs [Was: CfC: publish new WD of DOM Core]

2011-08-31 Thread Jonas Sicking
On Wed, Aug 31, 2011 at 8:25 AM, Anne van Kesteren ann...@opera.com wrote: I think defining all of these in one specification is fine. Currently the specification is only 37 pages when printed. That will certainly grow once we add ranges, examples, and more introductory text, but will also

Re: RfC: how to organize the DOM specs [Was: CfC: publish new WD of DOM Core]

2011-08-31 Thread Anne van Kesteren
On Wed, 31 Aug 2011 18:52:34 +0200, Jonas Sicking jo...@sicking.cc wrote: Is this explicitly mentioned in the spec? Otherwise how will anyone be able to take advantage of this fact? I guess we could explicitly mention it somewhere. On the other hand, everything has references and

CfC: obsolescence text for DOM 2 View Recommendation; deadline September 7

2011-08-31 Thread Arthur Barstow
/webapps/20110831

Custom tags over wire, was Re: HTMLElement.register--giving components tag names

2011-08-31 Thread Dimitri Glazkov
Splitting off to its own thread, because this deserves a good discussion. On Wed, Aug 31, 2011 at 12:00 AM, Anne van Kesteren ann...@opera.com wrote: On Wed, 31 Aug 2011 07:33:16 +0200, Dominic Cooney domin...@chromium.org wrote: Thanks for reading this far! These proposals aren't formal or

Re: [XHR2] Blobs, names and FormData

2011-08-31 Thread Charles Pritchard
On 8/31/2011 10:19 AM, Glenn Maynard wrote: On Wed, Aug 31, 2011 at 12:48 PM, Jonas Sicking jo...@sicking.cc wrote: Simple case: var callback = function(blob) { xhr.send(blob); }; formData.toBlob(callback, 'multipart/form-data'); Several services require signed messages

Re: Custom tags over wire, was Re: HTMLElement.register--giving components tag names

2011-08-31 Thread Dimitri Glazkov
On Wed, Aug 31, 2011 at 10:29 AM, Dimitri Glazkov dglaz...@chromium.org wrote: I will write up the exact algorithm in a wiki shortly. Here it is: http://wiki.whatwg.org/wiki/Component_Model_Progressive_Enhancement :DG

Re: xdash name prefixes (was Re: Component Model Update)

2011-08-31 Thread Roland Steiner
On Fri, Aug 26, 2011 at 11:18 AM, Adam Barth w...@adambarth.com wrote: Doesn't it seem more likely that the third-party will do the registration in whatever script you include that implements the Like button, or whatever? That's just a matter of convention, no? I don't think it's

Re: [XHR2] Blobs, names and FormData

2011-08-31 Thread Jonas Sicking
On Wed, Aug 31, 2011 at 10:19 AM, Glenn Maynard gl...@zewt.org wrote: On Wed, Aug 31, 2011 at 12:48 PM, Jonas Sicking jo...@sicking.cc wrote: Simple case: var callback = function(blob) { xhr.send(blob); }; formData.toBlob(callback, 'multipart/form-data'); Several services require

RE: HTTP, websockets, and redirects

2011-08-31 Thread Brian Raymor
Hi Art, I've updated the bug. Microsoft is fine with this new validation requirement. In the absence of other comments, I suggest that we update the draft and move on to Last Call. ...Brian -Original Message- From: Arthur Barstow [mailto:art.bars...@nokia.com] Sent: Monday, August

Re: Mouse Lock

2011-08-31 Thread Glenn Maynard
On Mon, Aug 29, 2011 at 2:29 AM, Vincent Scheib sch...@google.com wrote: I believe first developers seek a specifiable solution that will provide a consistent application experience on all platforms and API implementations. Yes, the raw input method provides this. (I don't like calling it

Re: xdash name prefixes (was Re: Component Model Update)

2011-08-31 Thread Dominic Cooney
I think for convenience registration probably should be carried around with the component, because: 1. It is convenient for the author using the component. 2. If the component library reuses its own abstractions, it probably expects them to have a specific element name. Putting registration in

Re: HTMLElement.register--giving components tag names

2011-08-31 Thread Dimitri Glazkov
On Tue, Aug 30, 2011 at 10:33 PM, Dominic Cooney domin...@chromium.org wrote: Components (see http://wiki.whatwg.org/wiki/Component_Model_Use_Cases for examples of what I mean) need to present an API to script. For example, a contacts component might want to expose a refresh() method that

Re: HTMLElement.register--giving components tag names

2011-08-31 Thread Dimitri Glazkov
On Tue, Aug 30, 2011 at 10:33 PM, Dominic Cooney domin...@chromium.org wrote: Components (see http://wiki.whatwg.org/wiki/Component_Model_Use_Cases for examples of what I mean) need to present an API to script. For example, a contacts component might want to expose a refresh() method that

Re: [XHR2] Blobs, names and FormData

2011-08-31 Thread Charles Pritchard
On 8/31/2011 10:57 AM, Jonas Sicking wrote: On Wed, Aug 31, 2011 at 10:19 AM, Glenn Maynardgl...@zewt.org wrote: On Wed, Aug 31, 2011 at 12:48 PM, Jonas Sickingjo...@sicking.cc wrote: Simple case: var callback = function(blob) { xhr.send(blob); }; formData.toBlob(callback,

Re: xdash name prefixes (was Re: Component Model Update)

2011-08-31 Thread Roland Steiner
On Wed, Aug 31, 2011 at 12:57 PM, Dominic Cooney domin...@chromium.orgwrote: I think for convenience registration probably should be carried around with the component, because: 1. It is convenient for the author using the component. 2. If the component library reuses its own abstractions,

Re: HTMLElement.register--giving components tag names

2011-08-31 Thread Dominic Cooney
On Wed, Aug 31, 2011 at 1:38 PM, Erik Arvidsson a...@chromium.org wrote: On Tue, Aug 30, 2011 at 22:33, Dominic Cooney domin...@chromium.org wrote: You will notice that this says nothing about how prototypes are wired up. It should. Maybe the argument to extend should have an optional second

Re: HTMLElement.register--giving components tag names

2011-08-31 Thread Sergey Ilinsky
Referencing a note dated 2003 may not sound strong any more - web-based applications (or to be more specific - their UI) have evolved significantly since the date. Today limiting developers to an extremely low level markup API, such as SVG or HTML only leads to huge, hardly manageable JavaScript

[Bug 13984] New: Need a way to object detect binary support before connecting

2011-08-31 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13984 Summary: Need a way to object detect binary support before connecting Product: WebAppsWG Version: unspecified Platform: PC OS/Version: Linux Status: NEW

[Bug 13792] Remove all notes about sharing the connection. It can't work since what's received may depend on the request. It's also not reasonable to buffer every event in case they have to be dispa

2011-08-31 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13792 Ian 'Hixie' Hickson i...@hixie.ch changed: What|Removed |Added Status|NEW |RESOLVED