Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-28 Thread Jonas Sicking
On Tue, Feb 28, 2012 at 7:11 AM, Simon Pieters sim...@opera.com wrote: On Tue, 28 Feb 2012 01:05:44 +0100, Glenn Maynard gl...@zewt.org wrote: On Mon, Feb 27, 2012 at 5:34 PM, Arun Ranganathan aranganat...@mozilla.comwrote: Simon, Is the relevant part of HTML sufficient to refer to?

[widgets] Request for a CFC about Widget URI and Updates

2012-02-28 Thread Marcos Caceres
I think it might be time to have a CFC to propose moving Widget URI and Widget Updates to WG Notes. Although both specs have gotten implemented, I'm not interested in continuing the work unless I have industry backing. Kind regards, Marcos

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-28 Thread Simon Pieters
On Tue, 28 Feb 2012 13:05:37 +0100, Jonas Sicking jo...@sicking.cc wrote: If we can't U+FFFD unpaired surrogates on paste, I agree it makes sense to U+FFFD them in APIs. If the only way to get them is a JS escape, then an exception seems OK. People use JS strings to handle binary data. This

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-28 Thread Jonas Sicking
On Tue, Feb 28, 2012 at 1:57 PM, Simon Pieters sim...@opera.com wrote: My preference would be to deal with them by encoding them to U+FFFD for the same reason that we let the HTML parser do error recovery rather than XML-style draconian error handling. I'm not really opposed to making APIs

Re: [IndexedDB] Numeric constants vs enumerated strings

2012-02-28 Thread Anne van Kesteren
On Tue, 28 Feb 2012 01:50:22 +0100, Israel Hilerio isra...@microsoft.com wrote: That is certainly one point of view. However, we've been collecting features for a v2 since before June of 2011 [1]. To that effect, we've had several email exchanges between the WG members where we agree to

Re: [IndexedDB] Numeric constants vs enumerated strings

2012-02-28 Thread Jonas Sicking
On Tue, Feb 28, 2012 at 5:45 PM, Anne van Kesteren ann...@opera.com wrote: It is our belief based on internal feedback and external partner feedback that the technology will remain un-deployed and in draft form if we continue to make changes like this. Yes it might take a little longer, but

Re: [IndexedDB] Numeric constants vs enumerated strings

2012-02-28 Thread Anne van Kesteren
On Tue, 28 Feb 2012 17:56:05 +0100, Jonas Sicking jo...@sicking.cc wrote: Just to be clear. We've all been here long enough to know that Last Call is not what matters, what matters is when implementations ship and when enough content is authored that making incompatible changes will break too

Re: [IndexedDB] Plans to get to feature complete [Was: Numeric constants vs enumerated strings ]

2012-02-28 Thread Jonas Sicking
I think we've been feature complete for a while now. With one exception, which is that some error handling that we've discussed on the list needs to be edited into the spec. Apart from that we have a number of fairly minor uncontroversial fixes (details around generators, order in

Re: [IndexedDB] Numeric constants vs enumerated strings

2012-02-28 Thread Jonas Sicking
On Tue, Feb 28, 2012 at 6:31 PM, Anne van Kesteren ann...@opera.com wrote: On Tue, 28 Feb 2012 17:56:05 +0100, Jonas Sicking jo...@sicking.cc wrote: Just to be clear. We've all been here long enough to know that Last Call is not what matters, what matters is when implementations ship and when

FileSystem API: Adding file size field to Metadata?

2012-02-28 Thread Kinuko Yasuda
Hi, While looking at the FileSystem API draft I noticed that we only expose 'modificationTime' in 'Metadata' object. Since FileEntry itself doesn't have 'size' field unlike File object maybe it's reasonable to add 'size' field to Metadata?

Re: [IndexedDB] Plans to get to feature complete [Was: Numeric constants vs enumerated strings ]

2012-02-28 Thread Odin Hørthe Omdal
From: Jonas Sicking jo...@sicking.cc  I think we've been feature complete for a while now. With one exception, which is that some error handling that we've discussed on the list needs to be edited into the spec. Apart from that we have a number of fairly minor uncontroversial fixes

Re: April face-to-face meetings for HTML and WebApps

2012-02-28 Thread Philippe Le Hegaret
Dear All, At this time, the meeting will NOT happen on those dates since we didn't find a host for the meetings. I'm looking to see if we could do one in May/June (or July at most). As soon as we manage to secure a host for it, I'll propose new dates. Thank you to all who provided feedback,

Re: [IndexedDB] Numeric constants vs enumerated strings

2012-02-28 Thread Anne van Kesteren
On Tue, 28 Feb 2012 19:33:15 +0100, Jonas Sicking jo...@sicking.cc wrote: Last I think I heard it was in relation to renaming CORS headers which also is in WD stage. I have proposed renaming them if that is what you mean; people objected. We could certainly try to make this change when

Re: [IndexedDB] Plans to get to feature complete [Was: Numeric constants vs enumerated strings ]

2012-02-28 Thread Joshua Bell
On Tue, Feb 28, 2012 at 10:51 AM, Odin Hørthe Omdal odi...@opera.comwrote: From: Jonas Sicking jo...@sicking.cc I think we've been feature complete for a while now. With one exception, which is that some error handling that we've discussed on the list needs to be edited into the spec.

Re: [IndexedDB] Plans to get to feature complete [Was: Numeric constants vs enumerated strings ]

2012-02-28 Thread Kyle Huey
On Tue, Feb 28, 2012 at 11:13 AM, Joshua Bell jsb...@chromium.org wrote: Are there implementations of the IDB*Sync APIs for Workers? Gecko does not implement the IDBSync APIs, and I don't think that is likely to change in the next few months. - Kyle

Re: FileSystem API: Adding file size field to Metadata?

2012-02-28 Thread Darin Fisher
On Tue, Feb 28, 2012 at 10:47 AM, Kinuko Yasuda kin...@chromium.org wrote: Hi, While looking at the FileSystem API draft I noticed that we only expose 'modificationTime' in 'Metadata' object. Since FileEntry itself doesn't have 'size' field unlike File object maybe it's reasonable to add

Re: FileSystem API: Adding file size field to Metadata?

2012-02-28 Thread Charles Pritchard
On Feb 28, 2012, at 1:52 PM, Darin Fisher da...@chromium.org wrote: On Tue, Feb 28, 2012 at 10:47 AM, Kinuko Yasuda kin...@chromium.org wrote: Hi, While looking at the FileSystem API draft I noticed that we only expose 'modificationTime' in 'Metadata' object. Since FileEntry itself

Re: [file-writer] WebIDL / References

2012-02-28 Thread Eric U
On Sat, Feb 25, 2012 at 5:02 AM, Ms2ger ms2...@gmail.com wrote: Hi all, There are a number of bugs in the WebIDL blocks in http://dev.w3.org/2009/dap/file-system/file-writer.html. * The 'in' token has been removed; void append (in Blob data); should  be void append (Blob data);. Fixed. *

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-28 Thread Glenn Maynard
On Tue, Feb 28, 2012 at 12:11 AM, Simon Pieters sim...@opera.com wrote: I think WebSocket should do the same, for the same reason. Have you filed a bug? (No, not until this conversation moves along a bit further.) On Tue, Feb 28, 2012 at 8:26 AM, Jonas Sicking jo...@sicking.cc wrote: I

FileReader abort, again

2012-02-28 Thread Eric U
I like the Event Invariants writeup at the end. It's only informative, but it is, indeed, informative. However, I'm not sure it quite matches the normative text in one respect. Where you say [8.5.6 step 4]: Terminate any steps while processing a read method. Does that also terminate the steps

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-28 Thread Arun Ranganathan
On Tue, Feb 28, 2012 at 12:11 AM, Simon Pieters sim...@opera.com wrote: I think WebSocket should do the same, for the same reason. Have you filed a bug? (No, not until this conversation moves along a bit further.) On Tue, Feb 28, 2012 at 8:26 AM, Jonas Sicking jo...@sicking.cc

RE: [IndexedDB] Plans to get to feature complete [Was: Numeric constants vs enumerated strings ]

2012-02-28 Thread Israel Hilerio
IE is not planning on implementing the IDBSync APIs for IE10 and we proposed to mark them “At Risk” on the current spec. Israel On Tuesday, February 28, 2012 11:17 AM, Kyle Huey wrote: On Tue, Feb 28, 2012 at 11:13 AM, Joshua Bell jsb...@chromium.orgmailto:jsb...@chromium.org wrote: Are there

Re: Colliding FileWriters

2012-02-28 Thread Glenn Maynard
://krijnhoetmer.nl/irc-logs/whatwg/20120228#l-39. I was a little confused at the above explanation. I think what you mean is that the lock is held so long as a FileRequest object is active (eg. has yet to dispatch a success or error event). More concretely, at the end of each microtask (if you

[Bug 16157] New: WebSocket shouldn't throw SyntaxError on unpaired surrogates

2012-02-28 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16157 Summary: WebSocket shouldn't throw SyntaxError on unpaired surrogates Product: WebAppsWG Version: unspecified Platform: All OS/Version: All Status: NEW

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-28 Thread Glenn Maynard
On Tue, Feb 28, 2012 at 6:46 PM, Arun Ranganathan aranganat...@mozilla.comwrote: or use another algorithm with an identical result, and be decoded as UTF-8. I think this can be removed. You can always replace algorithms with equivalent ones, in any part of an implementation. and be decoded as