[whatwg] Comments on updated SQL API

2007-09-22 Thread Maciej Stachowiak
Mostly I like the new API (no surprise to Ian I'm sure). http://www.whatwg.org/specs/web-apps/current-work/#sql A few comments. I think putting the currentRow accessors directly on the ResultSet is a bit of an odd choice. It seems like it could be confusing that myResultSet[0] returns the

Re: [whatwg] Latest proposal for offline web app API

2007-09-22 Thread Křištof Želechovski
Why not text/xml+cache-manifest? (Admittedly I can see a problem with this: '+' means addition but '-' does not mean subtraction so it looks quite funny). Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Hickson Sent: Friday, September 21, 2007

[whatwg] Firefox 3

2007-09-22 Thread Elliotte Harold
How much, if any, support is planned is Firefox 3 for HTML 5 and especially WebForms 2.0 features? Looking at the prodyct requirements document it doesn't seem like anything is likely to make thi release. Is that accurate? Has Mozilla given any indication of supporting this stuff (or subset

Re: [whatwg] Offline Web Apps

2007-09-22 Thread Křištof Želechovski
I do not share your reservations. The file contents does not constitute its property and, unlike properties, much work is actually needed to extract it. Therefore the name chosen seems very appropriate. How is the character encoding determined when the file is read as text? An arbitrary file is

Re: [whatwg] Comments on updated SQL API

2007-09-22 Thread Aaron Boodman
I agree with both Maciej's points, and want the second one more than he did. Additional comments: 4.12.3, step 3: I don't think you should implicitly join active transactions unless you're inside a callback from a previous executeSql call. Otherwise all code that wants to call executeSql needs

Re: [whatwg] Comments on updated SQL API

2007-09-22 Thread Timothy Hatcher
The callback syntax is nice but the implicit thread-global transaction is confusing and can lead to programmer error and unneeded database locking. Commonly there is a implicit transaction per query if there is no explicit transaction created. I think this is what developers will expect,

[whatwg] window.onerror -ancient feature needs upgrade

2007-09-22 Thread Garrett Smith
window.onerror There needs to be a way to capture errors on the window. A method that passes an Error to the handler. One possible solution would be to leverage the existing event system: addEventListener( error, genericErrorEventHandler, false ); function genericErrorEventHandler( errorEvent

[whatwg] Fwd: Form Serialization Idea

2007-09-22 Thread Garrett Smith
On 9/20/07, Asbjørn Ulsberg [EMAIL PROTECTED] wrote: On Tue, 11 Sep 2007 22:22:55 +0200, Garrett Smith [EMAIL PROTECTED] wrote: interface HTMLFormElement { string getDataSetString(); raises FileException string toJSONString(); raises FileException }; I like the idea, but not this

Re: [whatwg] Offline Web Apps

2007-09-22 Thread Maciej Stachowiak
On Sep 22, 2007, at 8:48 AM, Křištof Želechovski wrote: I do not share your reservations. The file contents does not constitute its property and, unlike properties, much work is actually needed to extract it. Therefore the name chosen seems very appropriate. How is the character encoding

Re: [whatwg] Latest proposal for offline web app API

2007-09-22 Thread Maciej Stachowiak
On Sep 22, 2007, at 8:04 AM, Křištof Želechovski wrote: Why not text/xml+cache-manifest? (Admittedly I can see a problem with this: '+' means addition but '-' does not mean subtraction so it looks quite funny). If the manifest format ends up being XML, it should be application/

Re: [whatwg] Fwd: Form Serialization Idea

2007-09-22 Thread liorean
On 22/09/2007, Garrett Smith [EMAIL PROTECTED] wrote: Host objects are not quite javascript objects, so it wouldn't be an override of Object.prototype. AFAIK, Host objects are not req'd to support Object.prototype. In Gecko, these host objects are either very well duck typed, or they are

Re: [whatwg] Comments on updated SQL API

2007-09-22 Thread Maciej Stachowiak
On Sep 22, 2007, at 9:32 AM, Aaron Boodman wrote: I agree with both Maciej's points, and want the second one more than he did. Additional comments: 4.12.3, step 3: I don't think you should implicitly join active transactions unless you're inside a callback from a previous executeSql call.