W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

[Bug 9786] WebIDL bugs in IndexedDB spec

From: <bugzilla@jessica.w3.org>
Date: Tue, 24 May 2011 21:46:08 +0000
To: public-webapps@w3.org
Message-Id: <E1QOzQW-00044x-D1@jessica.w3.org>

Eliot Graff <eliotgra@microsoft.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Eliot Graff <eliotgra@microsoft.com> 2011-05-24 21:46:05 UTC ---
> * none of the interfaces/exceptions are marked with the extended
> attribute [NoInterfaceObject] — I doubt they are all meant to be visible
> in the global namespace

These interfaces are marked with [NoInterfaceObject]:

> * The IDBDatabaseException Interface uses the "attribute" keyword for
> "code" and "message" - exceptions don't have attributes, the keyword
> should be removed

"attribute" keyword removed from both.

> * IDBDatabaseSync.createObjectStore uses an extended attribute
> "[Null=Null]" on its second parameter - I suspect it was meant to be
> "[TreatUndefinedAs=Null]", and if so, the type of the parameter should
> be "DOMString?" rather than DOMString

Cannot repro. I believe this was removed previously.

> Based on the discussions on the list, and as the beginning of 3.3 seems 
> to allude to, synchronous operations are only going to be used in
> Workers; I suggest to state that clearly, and also to start the first
> example of the spec with the async example if that's the one that is
> most likely to be used.

Section 3.3 begins:
“The synchronous database API methods provide a blocking access pattern to
IndexedDB databases. Since they block the calling thread they are only
available from workers.”

The first sample is asynchronous.

I believe that this covers all of the requests in this bug. I am going to go
ahead and resolve it. Let me know if there's anything else needed for this one.



Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 24 May 2011 21:46:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:19 UTC