Re: [indexeddb] Updates to the Event Constructor to match DOM 4

2011-09-21 Thread Anne van Kesteren
Awesome you are adopting this! On Wed, 21 Sep 2011 20:58:22 +0200, Israel Hilerio isra...@microsoft.com wrote: This is our interpretation of how we see incorporating the new Event constructor model defined in DOM 4. [Constructor(DOMString type, optional IDBVersionChangeEventInit

Re: [indexeddb] Updates to the Event Constructor to match DOM 4

2011-09-21 Thread Jonas Sicking
On Wed, Sep 21, 2011 at 11:58 AM, Israel Hilerio isra...@microsoft.com wrote: Jonas, This is our interpretation of how we see incorporating the new Event constructor model defined in DOM 4. [Constructor(DOMString type, optional IDBVersionChangeEventInit IDBVersionChangeEventInitDict)]

RE: [indexeddb] Updates to the Event Constructor to match DOM 4

2011-09-21 Thread Israel Hilerio
On Wednesday, September 21, 2011 2:50 PM, Jonas Sicking wrote: On Wed, Sep 21, 2011 at 11:58 AM, Israel Hilerio isra...@microsoft.com wrote: Jonas, This is our interpretation of how we see incorporating the new Event constructor model defined in DOM 4. [Constructor(DOMString type,

Re: [indexeddb] Updates to the Event Constructor to match DOM 4

2011-09-21 Thread Glenn Maynard
On Wed, Sep 21, 2011 at 8:52 PM, Israel Hilerio isra...@microsoft.comwrote: Sounds good! The updated example will look like this: var myDictionary = { bubbles: true, cancellable: true, oldVersion=1, newVersion=2}; var changeEvent = new IDBVersionChangeEvent(versionchange, myDictionary); The