Re: [whatwg] Offline Web Apps with Open-Ended URI Spaces (was Re: Offline Web Apps)

2007-09-21 Thread Robert O'Callahan
On 9/20/07, Maciej Stachowiak [EMAIL PROTECTED] wrote: 2) Many offline web apps will let you want to make changes, including not just changing existing items, but also creating new items. To do this, at minimum there needs to be an API to inject a new resource into the offline cache

[whatwg] Latest proposal for offline web app API

2007-09-21 Thread Ian Hickson
Based on discussions in response to previous proposals in this and other forums, I have written a new proposal for offline web app APIs. The idea here is to allow existing applications to be retrofitted with a script layer that enables the applications to work offline, while supporting

Re: [whatwg] Offline Web Apps

2007-09-21 Thread Robert O'Callahan
I haven't had time to study Ian's proposal properly yet, sorry. But some easy comments: On 9/20/07, Maciej Stachowiak [EMAIL PROTECTED] wrote: Upgrader: Create a hidden browsing context. Load the upgrader in it. I don't like this whole upgrader idea. Parsing HTML and CSS and executing

Re: [whatwg] Offline Web Apps

2007-09-21 Thread Dave Camp
On 9/21/07, Robert O'Callahan [EMAIL PROTECTED] wrote: Actually we have an experimental API for this now. See here: http://mxr.mozilla.org/seamonkey/source/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl#55 http://mxr.mozilla.org/seamonkey/source/content/base/public/nsIDOMFileList.idl

Re: [whatwg] Latest proposal for offline web app API

2007-09-21 Thread Aaron Boodman
On Sep 21, 2007 3:36 AM, Ian Hickson [EMAIL PROTECTED] wrote: * A set of zero or more strings representing URI prefixes, each mapped to a URI found in the cache (the fallback pages and their opportunistic caching patterns). * A set of zero or more URIs that are not in the cache (the

Re: [whatwg] Offline Web Apps

2007-09-21 Thread Maciej Stachowiak
On Sep 21, 2007, at 10:49 AM, Dave Camp wrote: On 9/21/07, Robert O'Callahan [EMAIL PROTECTED] wrote: Actually we have an experimental API for this now. See here: http://mxr.mozilla.org/seamonkey/source/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl#55

Re: [whatwg] Offline Web Apps

2007-09-21 Thread Anne van Kesteren
On Sat, 22 Sep 2007 01:07:23 +0200, Maciej Stachowiak [EMAIL PROTECTED] wrote: It would be nice if this was designed to handle the possibility of multiple file selection (which I think Web Forms 2 enables). It does actually. There's a fileList attribute on HTMLInputElement that returns a

Re: [whatwg] Offline Web Apps

2007-09-21 Thread Dave Camp
On 9/21/07, Maciej Stachowiak [EMAIL PROTECTED] wrote: DOMString getAsBinary() isn't actually self-explanatory to me. How do you encode binary data as a UTF-16 string? I can think of at least two vaguely obvious ways (each code point is a byte, or each code point is a 16-bit chunk of the