Re: Proposal: add websocket close codes for server not found and/or too many websockets open

2012-05-21 Thread Simon Pieters
On Wed, 16 May 2012 02:17:45 +0200, Jason Duell jduell.mcb...@gmail.com wrote: So the Web Socket spec is a little vague on how JS is notified when the targeted web socket server is down/nonexistent/etc. Firefox is firing an 'error' event when this happens, based on the language here in the

Re: Proposal: add websocket close codes for server not found and/or too many websockets open

2012-05-21 Thread Simon Pieters
On Mon, 21 May 2012 12:28:16 +0200, Simon Pieters sim...@opera.com wrote: On Wed, 16 May 2012 02:17:45 +0200, Jason Duell jduell.mcb...@gmail.com wrote: So the Web Socket spec is a little vague on how JS is notified when the targeted web socket server is down/nonexistent/etc. Firefox is

IndexedDB: Binary Keys

2012-05-21 Thread Joran Greef
IndexedDB supports binary values as per the structured clone algorithm as implemented in Chrome and Firefox. IndexedDB needs to support binary keys (ArrayBuffer, TypedArrays). Many popular KV stores accept binary keys (BDB, Tokyo, LevelDB). The Chrome implementation of IDB is already serializing

Re: Feedback on Quota Management API

2012-05-21 Thread Eric Uhrhane
On Thu, May 17, 2012 at 2:02 AM, Kinuko Yasuda kin...@chromium.org wrote: Thanks for the feedback! For context for others, I assume they are comments for the draft pushed at: https://dvcs.w3.org/hg/quota/Overview.html On Tue, May 15, 2012 at 8:17 PM, Anne van Kesteren ann...@annevk.nl wrote:

Re: IndexedDB: Binary Keys

2012-05-21 Thread James Robinson
On Mon, May 21, 2012 at 10:09 AM, Joran Greef jo...@ronomon.com wrote: IndexedDB supports binary values as per the structured clone algorithm as implemented in Chrome and Firefox. IndexedDB needs to support binary keys (ArrayBuffer, TypedArrays). Many popular KV stores accept binary keys

[File API] File behavior under modification

2012-05-21 Thread Eric U
According to the latest editor's draft [1], a File object must always return an accurate lastModifiedDate if at all possible. On getting, if user agents can make this information available, this MUST return a new Date[HTML] object initialized to the last modified date of the file; otherwise, this

Re: IndexedDB: Binary Keys

2012-05-21 Thread Jonas Sicking
On Mon, May 21, 2012 at 10:09 AM, Joran Greef jo...@ronomon.com wrote: IndexedDB supports binary values as per the structured clone algorithm as implemented in Chrome and Firefox. IndexedDB needs to support binary keys (ArrayBuffer, TypedArrays). Many popular KV stores accept binary keys

Re: [File API] File behavior under modification

2012-05-21 Thread Glenn Maynard
On Mon, May 21, 2012 at 6:05 PM, Eric U er...@google.com wrote: According to the latest editor's draft [1], a File object must always return an accurate lastModifiedDate if at all possible. On getting, if user agents can make this information available, this MUST return a new Date[HTML]

Re: IndexedDB: Binary Keys

2012-05-21 Thread Charles Pritchard
On May 21, 2012, at 5:03 PM, Jonas Sicking jo...@sicking.cc wrote: On Mon, May 21, 2012 at 10:09 AM, Joran Greef jo...@ronomon.com wrote: IndexedDB supports binary values as per the structured clone algorithm as implemented in Chrome and Firefox. IndexedDB needs to support binary keys