[whatwg] Online whitelist problem

2008-05-28 Thread Anders Carlsson
Hi, one problem with the online whitelist in cache manifest files is that it matches on whole URLs only. This makes embedding for example Google Maps into a web app difficult, since you want to allow urls like

Re: [whatwg] ApplicationCache add/remove with invalid URLs

2008-04-18 Thread Anders Carlsson
On 17 apr 2008, at 22.23, Geoffrey Garen wrote: I think an exception should be thrown when ApplicationCache add/ remove is called with invalid URLs. Can you be more specific about what you mean by invalid? URL not found in the cache? Malformed URL? Something else? Geoff Invalid as in

[whatwg] ApplicationCache add/remove with invalid URLs

2008-04-17 Thread Anders Carlsson
Hi, I think an exception should be thrown when ApplicationCache add/remove is called with invalid URLs. Something like If uri is not valid, raise an SYNTAX_ERR exception and abort these steps. Anders

[whatwg] ApplicationCache add/remove and relative URIs

2008-04-08 Thread Anders Carlsson
The spec for the add and remove ApplicationCache methods does not say what to do about how relative URIs should be resolved. I think it would be most intuitive to resolve them agains't the URI o the document that the ApplicationCache object is associated with. Comments? Anders

[whatwg] Clarification/typo in ApplicationCache's item method

2008-04-04 Thread Anders Carlsson
From section 4.6.6: The item(index) method must return the dynamic entries with index index from the application cache, if one is associated with theApplicationCache object. entries should be entry. Also, it should be clarified that the item returns the uri of the entry. Anders

[whatwg] Clarifications needed in application cache selection algorithm section

2008-03-20 Thread Anders Carlsson
If there is already an application cache identified by this manifest URI, and that application cache contains a resource with the URI of the manifest, and that resource is categorised as a manifest, then: store the resource in the matching cache with the most up to date version,

[whatwg] Typo in section 4.6.2 Application Caches

2008-03-19 Thread Anders Carlsson
The text: A browsing context can be associated with an application cache. A child browsing context is always associated with the same browsing context as its parent browsing context, if any. should be: A browsing context can be associated with an application cache. A child browsing

[whatwg] SQLResultSet rows property

2007-10-09 Thread Anders Carlsson
Hello, according to http://www.whatwg.org/specs/web-apps/current-work/#sqlresultset the rows attribute should return a _native_ array of objects. In the case of JavaScript, does that mean a native JavaScript Array object or another object which can be indexed as an array? If it's the