Re: [whatwg] History API, pushState(), and related feedback

2010-04-08 Thread Ian Hickson
On Thu, 18 Feb 2010, Mike Wilson wrote: > Ian Hickson wrote: > > On Fri, 22 Jan 2010, Mike Wilson wrote: > > > > > > I'll keep this short as there is more recent discussion: > > > 2) The pageStorage object is one incarnation of [a key > > >value store] solving the dependency problem that appea

Re: [whatwg] History API, pushState(), and related feedback

2010-04-08 Thread Ian Hickson
On Wed, 10 Feb 2010, Justin Lebar wrote: > > > > That's not quite how I would describe it. It's more that each entry in > > the session history has a URL and optionally some data. The data can > > be used for two main purposes: first, storing a preparsed description > > of the state in the URL

Re: [whatwg] Limitations of the DnD API

2010-04-08 Thread Ian Hickson
On Sat, 20 Mar 2010, Stef Epardaud wrote: > > I'm trying to implement the picture reordering feature of picasa in > HTML5 and I'm having several problems. > > The feature is as follows: > > - I have a list of small pictures arranged in a sequence of lines > - I can select or unselect pictures b

Re: [whatwg] Drag-and-drop feedback

2010-04-08 Thread Ian Hickson
On Fri, 5 Feb 2010, Roland Steiner wrote: > > Since I am currently in the process of fixing bugs in this area for > Chrome, there are 2 things I'm wondering about: > > .) whether "Text" and "URL" should be part of the return value of > "types" (probably not, according to Ian's comment). However,

Re: [whatwg] Proposal for secure key-value data stores

2010-04-08 Thread Jeremy Orlow
This is getting fairly tiresome. If you're interested in continuing this thread, please actually read the replies thus far and directly respond to the points rather than re-stating what's already been rebutted. On Thu, Apr 8, 2010 at 3:17 PM, Paul Kinlan wrote: > Hi, > > I have a specific use-

Re: [whatwg] Proposal for secure key-value data stores

2010-04-08 Thread Paul Kinlan
Hi, I have a specific use-case where encryption is required, and currently the only solution is to find a JS library that can encrypt the data on the way in or way out of storage. The main cases I have: 1. Storage needs to be encrypted on disk, device etc. 2. Data needs to be in decrypted

Re: [whatwg] Why [PutForwards=value] for htmlFor output element attribute ?

2010-04-08 Thread Olli Pettay
On 4/5/10 3:21 PM, Mounir Lamouri wrote: Hi, I'm wondering why the [PutForwards=value] extended attribute is needed for the htmlFor output element attribute ? It is making things pretty ugly for a need I do not really get. Thanks, -- Mounir I agree. In general PutForwards makes APIs strange,

Re: [whatwg] WebSocket bufferedAmount includes overhead or not

2010-04-08 Thread Jonas Sicking
On Thu, Apr 8, 2010 at 5:22 AM, Niklas Beischer wrote: > On Fri, 02 Apr 2010 20:43:57 +0300, Jonas Sicking wrote: > >> On Thu, Apr 1, 2010 at 8:15 PM, Boris Zbarsky wrote: >>> >>> On 3/31/10 6:57 PM, Jonas Sicking wrote: I would expect that send() is allowed to start streaming data ove

Re: [whatwg] WebSocket bufferedAmount includes overhead or not

2010-04-08 Thread Niklas Beischer
On Fri, 02 Apr 2010 20:43:57 +0300, Jonas Sicking wrote: On Thu, Apr 1, 2010 at 8:15 PM, Boris Zbarsky wrote: On 3/31/10 6:57 PM, Jonas Sicking wrote: I would expect that send() is allowed to start streaming data over the network as soon as it can, but only update bufferedAmount from the ev

Re: [whatwg] Image Collision Detection in Canvas

2010-04-08 Thread Stefan Haustein
On Sun, Apr 4, 2010 at 1:50 PM, Saurabh Jain wrote: Hi, > > I have a proposal for adding generic image collision API in Canvas. Given > two images HTMLImageElement objects and there respective x, y, clip width > and clip height the API call will let you know if there's any > non-transparent pixel

Re: [whatwg] Proposal for secure key-value data stores

2010-04-08 Thread Jeremy Orlow
On Thu, Apr 8, 2010 at 2:10 AM, Jonas Sicking wrote: > On Wed, Apr 7, 2010 at 5:44 PM, Jeremy Orlow wrote: > >> I don't think this is enough of a > >> problem to kill the feature though. > > > > I think this is a good feature to try and integrate into existing APIs if > > it's possible to do so

[whatwg] WebSockets: origin

2010-04-08 Thread Simon Pieters
WebSockets constructor: [[ 4. Let origin be the ASCII serialization of the origin of the script that invoked the WebSocket() constructor, converted to ASCII lowercase. ... 6. Establish a WebSocket connection... ]] which says [[ 13. Add the string consisting of the concatenation of the string