Re: [IndexedDB] Passing an empty array to IDBDatabase.transaction

2011-10-10 Thread Hans Wennborg
On Fri, Oct 7, 2011 at 1:43 AM, Jonas Sicking jo...@sicking.cc wrote: Hi All, In both the Firefox and the Chrome implementation you can pass an empty array to IDBDatabase.transaction in order to create a transaction which has a scope that covers all objectStores in the database.; This,

Gave a try to the Component Model

2011-10-10 Thread Julien Richard-Foy
Hi, I’m interested in the component model proposal [1] and tried to imagine what architecture patterns our apps would follow by using it. I wrote my notes here [2] and I’d like you to read and comment them. The most difficult problem to solve seems to be the way components will be bound together

Re: [IndexedDB] Passing an empty array to IDBDatabase.transaction

2011-10-10 Thread ben turner
So it sounds like everyone agrees that accepting an empty array is not desired... Can we just make that case throw an exception rather than generating an empty transaction (which will then throw when it is used)? -Ben Turner

CfC: new WD of File API; deadline Oct 17

2011-10-10 Thread Arthur Barstow
This is a Call for Consensus to publish a WD of the File API spec (last published 26-Oct-2010): http://dev.w3.org/2006/webapi/FileAPI/ Positive response to this CfC is preferred and encouraged and silence will be considered as agreement with the proposal. The deadline for comments is

Re: [IndexedDB] Passing an empty array to IDBDatabase.transaction

2011-10-10 Thread Jonas Sicking
On Fri, Oct 7, 2011 at 11:51 AM, Israel Hilerio isra...@microsoft.com wrote: On Thursday, October 06, 2011 5:44 PM, Jonas Sicking wrote: Hi All, In both the Firefox and the Chrome implementation you can pass an empty array to IDBDatabase.transaction in order to create a transaction which has

Re: [IndexedDB] Passing an empty array to IDBDatabase.transaction

2011-10-10 Thread Jonas Sicking
On Mon, Oct 10, 2011 at 7:44 AM, ben turner bent.mozi...@gmail.com wrote: So it sounds like everyone agrees that accepting an empty array is not desired... Can we just make that case throw an exception rather than generating an empty transaction (which will then throw when it is used)? I'm

RE: [IndexedDB] Passing an empty array to IDBDatabase.transaction

2011-10-10 Thread Israel Hilerio
On Monday, October 10, 2011 9:46 AM, Jonas Sicking wrote: On Fri, Oct 7, 2011 at 11:51 AM, Israel Hilerio isra...@microsoft.com wrote: On Thursday, October 06, 2011 5:44 PM, Jonas Sicking wrote: Hi All, In both the Firefox and the Chrome implementation you can pass an empty array to

RE: IndexedDB: ordering sense of IDBFactory.cmp?

2011-10-10 Thread Israel Hilerio
On Monday, October 03, 2011 10:04 AM, Jonas Sicking wrote: On Mon, Oct 3, 2011 at 9:30 AM, Joshua Bell jsb...@chromium.org wrote: As we're implementing IDBFactory.cmp in WebKit we noticed that the ordering sense is reversed compared to C's strcmp/memcmp, Perl's cmp/= operators, etc. As

W3Conf: conference for Web App developers November 15-16

2011-10-10 Thread Arthur Barstow
[ Sorry for the cross posting ... ] If you are looking for a conference focused on using Web APIs and HTML5 e.g. to develop Web apps, design Web apps, etc., check out this November 15-16 W3Conf conference in Redmond WA US: [[ http://w3conf.org/ = 2011: HTML5 and the Open Web Platform W3C,

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-10-10 Thread Ian Hickson
On Tue, 4 Oct 2011, Roland Steiner wrote: On Tue, Oct 4, 2011 at 12:38 PM, Ian Hickson i...@hixie.ch wrote: * Any case of taking an element with existing semantics (e.g. a select showing a list of countries) and replacing its presentation with something completely different (e.g. a

[IndexedDB] Soliciting feedback from SQL Vendors

2011-10-10 Thread Charles Pritchard
Is there interest or presence on this list from major SQL vendor developers such as PostgreSQL and MySQL? WebSQL received a thumbs-down from the postgresql developers mailing list. Now that that issue is over... MySQL and PostgreSQL core developers have specialized knowledge, I want to see

Re: [IndexedDB] Soliciting feedback from SQL Vendors

2011-10-10 Thread Jonas Sicking
On Mon, Oct 10, 2011 at 1:40 PM, Charles Pritchard ch...@jumis.com wrote: Is there interest or presence on this list from major SQL vendor developers such as PostgreSQL and MySQL? WebSQL received a thumbs-down from the postgresql developers mailing list. Now that that issue is over... MySQL

Re: Question about implementing DataTransfer.addElement

2011-10-10 Thread Ian Hickson
On Fri, 7 Oct 2011, Daniel Cheng wrote: What's the difference between addElement and setDragImage()? The spec says: The difference between setDragImage() and addElement() is that the latter automatically generates the image based on the current rendering of the elements added

Re: Spec changes for LCs and later maturity levels [Was: Re: RfC: LCWD of Web Socket API; comment deadline October 21]

2011-10-10 Thread Ian Hickson
On Sun, 9 Oct 2011, Arthur Barstow wrote: On 10/7/11 8:32 AM, ext Julian Reschke wrote: As far as I recall, we agreed in the IETF WG that parsing of web socket URIs should work exactly the same way as for any other URI scheme. It appears that the API spec now tries to override this, and

Re: Question about implementing DataTransfer.addElement

2011-10-10 Thread Charles Pritchard
On 10/10/2011 3:26 PM, Ian Hickson wrote: On Fri, 7 Oct 2011, Daniel Cheng wrote: What's the difference between addElement and setDragImage()? The spec says: The difference between setDragImage() and addElement() is that the latter automatically generates the image based on the current

Re: Question about implementing DataTransfer.addElement

2011-10-10 Thread Daniel Cheng
On Mon, Oct 10, 2011 at 15:26, Ian Hickson i...@hixie.ch wrote: The parenthetical isn't the important part (that's why it's parenthetical). The important difference between setDragImage() and addElement() is that the latter automatically generates the image based on the current rendering of

Re: Question about implementing DataTransfer.addElement

2011-10-10 Thread Ian Hickson
On Mon, 10 Oct 2011, Daniel Cheng wrote: On Mon, Oct 10, 2011 at 15:26, Ian Hickson i...@hixie.ch wrote: The parenthetical isn't the important part (that's why it's parenthetical). The important difference between setDragImage() and addElement() is that the latter automatically

Re: Question about implementing DataTransfer.addElement

2011-10-10 Thread Charles Pritchard
On 10/10/2011 4:15 PM, Ian Hickson wrote: On Mon, 10 Oct 2011, Daniel Cheng wrote: On Mon, Oct 10, 2011 at 15:26, Ian Hicksoni...@hixie.ch wrote: The parenthetical isn't the important part (that's why it's parenthetical). The important difference between setDragImage() and addElement() is

Re: [IndexedDB] Soliciting feedback from SQL Vendors

2011-10-10 Thread Charles Pritchard
On 10/10/2011 1:44 PM, Jonas Sicking wrote: On Mon, Oct 10, 2011 at 1:40 PM, Charles Pritchardch...@jumis.com wrote: Is there interest or presence on this list from major SQL vendor developers such as PostgreSQL and MySQL? I'd love to get input from SQL database developers! I don't have any

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-10-10 Thread Erik Arvidsson
Splitting this up into two different things is great. Allowing attaching an alternative shadow tree through CSS but disabling any JS to be run seems like the right thing to do. I'm also in favor of the is attribute. Even though I think that x-foo is more readable than div is=foo it is hard to

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-10-10 Thread Charles Pritchard
On 10/10/2011 4:55 PM, Erik Arvidsson wrote: Splitting this up into two different things is great. Allowing attaching an alternative shadow tree through CSS but disabling any JS to be run seems like the right thing to do. I'm also in favor of the is attribute. Even though I think that x-foo

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-10-10 Thread Ian Hickson
On Mon, 10 Oct 2011, Erik Arvidsson wrote: Splitting this up into two different things is great. Allowing attaching an alternative shadow tree through CSS but disabling any JS to be run seems like the right thing to do. You wouldn't want to disable any JS. Just the API defining aspects.

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-10-10 Thread Dirk Pranke
On Wed, Sep 28, 2011 at 4:52 PM, Ian Hickson i...@hixie.ch wrote: If an author invents a new element, it doesn't matter what it inherits from. It won't have fallback behaviour, it won't have semantics that can be interpreted by search engines and accessibility tools, it won't have default

Re: [IndexedDB] Soliciting feedback from SQL Vendors

2011-10-10 Thread Jonas Sicking
On Mon, Oct 10, 2011 at 4:47 PM, Charles Pritchard ch...@jumis.com wrote: On 10/10/2011 1:44 PM, Jonas Sicking wrote: On Mon, Oct 10, 2011 at 1:40 PM, Charles Pritchardch...@jumis.com  wrote: Is there interest or presence on this list from major SQL vendor developers such as PostgreSQL and

Re: Mutation Observers: a replacement for DOM Mutation Events

2011-10-10 Thread Sean Hogan
On 24/09/11 7:16 AM, Adam Klein wrote: Chromium (myself, Rafael Weinstein, Erik Arvidsson, Ryosuke Niwa) and Mozilla (Olli Pettay, Jonas Sicking) have worked together on a proposal for a replacement for Mutation Events. This proposal represents our best attempt to date at making a set of

[cors] Failed sharing check and cookies

2011-10-10 Thread Anne van Kesteren
Currently if a resource sharing check fails cookies will still be set for a credentialed request similarly to how they would be with form or img. However, it seems that HTML defines for img crossorigin that the UA must act as if there was no response at all. That does not work of course

Re: [cors] Failed sharing check and cookies

2011-10-10 Thread Anne van Kesteren
On Tue, 11 Oct 2011 12:53:35 +0900, Anne van Kesteren ann...@opera.com wrote: Currently if a resource sharing check fails cookies will still be set for a credentialed request similarly to how they would be with form or img. However, it seems that HTML defines for img crossorigin that the

Re: [cors] Failed sharing check and cookies

2011-10-10 Thread Jonas Sicking
On Mon, Oct 10, 2011 at 9:20 PM, Anne van Kesteren ann...@opera.com wrote: On Tue, 11 Oct 2011 12:53:35 +0900, Anne van Kesteren ann...@opera.com wrote: Currently if a resource sharing check fails cookies will still be set for a credentialed request similarly to how they would be with form or

Re: [cors] Failed sharing check and cookies

2011-10-10 Thread Anne van Kesteren
On Tue, 11 Oct 2011 13:20:40 +0900, Anne van Kesteren ann...@opera.com wrote: If you do img crossorigin from A to B, and a resource sharing check for B fails, cookies must not be set (per my reading of the HTML specification). My reading is wrong. Once HTML discards the resource the

Re: [indexeddb] Implicit Transaction Request associated with failed transactions

2011-10-10 Thread Jonas Sicking
On Thu, Oct 6, 2011 at 3:30 PM, Israel Hilerio isra...@microsoft.com wrote: On Tuesday, October 04, 2011 3:01 AM, Jonas Sicking wrote: On Mon, Oct 3, 2011 at 7:59 PM, Jonas Sicking jo...@sicking.cc wrote: On Mon, Sep 12, 2011 at 2:53 PM, Israel Hilerio isra...@microsoft.com wrote: Based