Re: publish a new Working Draft of DOM Core; comment deadline March 2

2011-03-02 Thread Shiki Okasaka
2011/3/3 Garrett Smith : > On 3/2/11, Shiki Okasaka wrote:   * we want Node to inherit from EventTarget >>> That can be stated in DOM Core. For example: The Node Interface >>> implements EventTarget [Events Core]. >> >> I guess the reason behind this has been discussed around: > What is the r

Re: publish a new Working Draft of DOM Core; comment deadline March 2

2011-03-02 Thread Garrett Smith
On 3/2/11, Shiki Okasaka wrote: >>> * we want Node to inherit from EventTarget >> That can be stated in DOM Core. For example: The Node Interface >> implements EventTarget [Events Core]. > > I guess the reason behind this has been discussed around: What is the reason behind what? Totally lost me

Re: publish a new Working Draft of DOM Core; comment deadline March 2

2011-03-02 Thread Shiki Okasaka
>>   * we want Node to inherit from EventTarget > That can be stated in DOM Core. For example: The Node Interface > implements EventTarget [Events Core]. I guess the reason behind this has been discussed around: http://lists.w3.org/Archives/Public/public-script-coord/2010OctDec/0081.html Actua

[Bug 12229] New: When a IDBKeyRange.bound's lower param is greater than the upper one, we probably should throw some exception

2011-03-02 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12229 Summary: When a IDBKeyRange.bound's lower param is greater than the upper one, we probably should throw some exception Product: WebAppsWG Version: unspecified Platform: PC OS/

Re: [DOMCore] fire and dispatch

2011-03-02 Thread Ojan Vafai
On Thu, Mar 3, 2011 at 1:46 AM, Boris Zbarsky wrote: > On 3/2/11 5:52 AM, Jonas Sicking wrote: > >> I'm not quite sure what you mean by "via JSON" given that JSON is a >> serialization format. >> > > The idea would be to take the input object, sanitize it by doing > > obj = JSON.parse(JSON.seria

Re: [DOMCore] fire and dispatch

2011-03-02 Thread Boris Zbarsky
On 3/2/11 5:52 AM, Jonas Sicking wrote: I'm not quite sure what you mean by "via JSON" given that JSON is a serialization format. The idea would be to take the input object, sanitize it by doing obj = JSON.parse(JSON.serialize(obj)); (which will get rid of crud like getters), and then work

Re: [IndexedDB] Two Real World Use-Cases

2011-03-02 Thread Keean Schupke
On 2 March 2011 12:09, Joran Greef wrote: > On 02 Mar 2011, at 1:31 PM, Jonas Sicking wrote: > > > I agree that we are currently enforcing a bit of schema due to the way > > indexes work. However I think it's a good approach for an initial > > version of this API as it covers the most simple use

Re: CfC: publish Last Call Working Draft of Progress Events spec; deadline March 7

2011-03-02 Thread Arthur Barstow
On Mar/2/2011 7:07 AM, ext Arthur Barstow wrote: The deadline for comments is March 9. The deadline for comments is March 7.

Re: [IndexedDB] Two Real World Use-Cases

2011-03-02 Thread Joran Greef
On 02 Mar 2011, at 1:31 PM, Jonas Sicking wrote: > I agree that we are currently enforcing a bit of schema due to the way > indexes work. However I think it's a good approach for an initial > version of this API as it covers the most simple use cases. Note that > the more complex use cases are sti

CfC: publish Last Call Working Draft of Progress Events spec; deadline March 7

2011-03-02 Thread Arthur Barstow
Given no comments were submitted during the 2-week pre-LC comment period [1] for the Progress Events spec, this is a Call for Consensus to publish a Last Call Working Draft of this spec based on the latest Editor's Draft: http://dev.w3.org/2006/webapi/progress/Progress.html This CfC satisfies

Re: [IndexedDB] Two Real World Use-Cases

2011-03-02 Thread Keean Schupke
On 2 March 2011 11:31, Jonas Sicking wrote: > On Tue, Mar 1, 2011 at 10:35 PM, Joran Greef wrote: > > On 01 Mar 2011, at 7:27 PM, Jeremy Orlow wrote: > > > >> 1. Be able to put an object and pass an array of index names which must > reference the object. This may remove the need for a complicate

Re: [DOMCore] fire and dispatch

2011-03-02 Thread Anne van Kesteren
On Wed, 02 Mar 2011 11:52:01 +0100, Jonas Sicking wrote: I'm not quite sure what you mean by "via JSON" given that JSON is a serialization format. I thought that maybe there was some kind of concept that tells you whether a given object is "JSON-compatible". But yeah, if we decide to intro

Re: [IndexedDB] Two Real World Use-Cases

2011-03-02 Thread Jonas Sicking
On Tue, Mar 1, 2011 at 10:35 PM, Joran Greef wrote: > On 01 Mar 2011, at 7:27 PM, Jeremy Orlow wrote: > >> 1. Be able to put an object and pass an array of index names which must >> reference the object. This may remove the need for a complicated indexing >> spec (perhaps the reason why this iss

Re: [DOMCore] fire and dispatch

2011-03-02 Thread Jonas Sicking
On Tue, Mar 1, 2011 at 5:06 AM, Anne van Kesteren wrote: > On Tue, 01 Mar 2011 09:59:59 +0100, Jonas Sicking wrote: >> >> We're also using it in IndexedDB, though I don't think this has gotten >> into the spec drafts yet. But it is in the firefox implementation and >> I *think* in the chrome impl

Re: [IndexedDB] Two Real World Use-Cases

2011-03-02 Thread Keean Schupke
If you are operating on indexes then you do not have a 'join' language as you are operating on sets. To have a join you need to be operating on relations. A relation is commonly visualised as a row in a table in a relational database, With IDB this would be the union of all the property-sets of the