Re: [widgets] Error in conformance test: dr

2010-09-22 Thread Marcos Caceres
On Fri, Sep 3, 2010 at 11:11 PM, Scott Wilson scott.bradley.wil...@gmail.com wrote: Test DR appears to be incorrect: Test the UA's ability to handle a feature element without a name attribute. To pass, the feature list must contain one feature named 'feature:a9bb79c1' whose required value is

Re: A URL API

2010-09-22 Thread Adam Barth
On Sun, Sep 19, 2010 at 10:50 PM, Darin Fisher da...@chromium.org wrote: On Sun, Sep 19, 2010 at 10:41 PM, Boris Zbarsky bzbar...@mit.edu wrote:  * A getCommonBaseSpec() method that will take two URIs and return a    URI string they could both be relative to, if any.  * A getRelativeSpec()

Re: A URL API

2010-09-22 Thread Devdatta Akhawe
2) I've added two flavors of appendParameter.  The first flavor takes a DOMString for a value and appends a single parameter.  The second flavor takes an array of DOMStrings and appends one parameter for each array.  This seemed better than using a variable number of arguments. -1 I really

[widgets] Draft agenda for 23 September 2010 call

2010-09-22 Thread Arthur Barstow
Below is the draft agenda for the September 23 Widgets Voice Conference (VC). Inputs and discussion before the VC on all of the agenda topics via public-webapps is encouraged (as it can result in a shortened meeting). Please address Open/Raised Issues and Open Actions before the meeting:

[Bug 10674] New: [IndexedDB] Changes to indexes (and their cursors)

2010-09-22 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10674 Summary: [IndexedDB] Changes to indexes (and their cursors) Product: WebAppsWG Version: unspecified Platform: PC OS/Version: All Status: NEW Severity: normal

Re: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Julian Reschke
On 21.09.2010 02:05, Jonas Sicking wrote: Hi All, CORS was recently clarified to say that error responses, such as 4xx/5xx responses, should not abort the various algorithms but instead such a response should be forwarded to, for example, the XMLHttpRequest implementation. However it seems

Re: [IndexedDB] IDBCursor.update for cursors returned from IDBIndex.openCursor

2010-09-22 Thread Shawn Wilsher
On 9/17/2010 3:14 PM, Jonas Sicking wrote: How do you then guarantee that a transaction that spans multiple objectStores either fully succeeds or is fully rolled back? Especially in the event of a crash during commit. If you don't use write ahead logging, and connect to each database with

Re: PROPFIND vs simple methods, was: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Jonas Sicking
On Wed, Sep 22, 2010 at 8:59 AM, Julian Reschke julian.resc...@gmx.de wrote: On 22.09.2010 16:15, Julian Reschke wrote: On 21.09.2010 02:05, Jonas Sicking wrote: Hi All, CORS was recently clarified to say that error responses, such as 4xx/5xx responses, should not abort the various

Re: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Jonas Sicking
On Wed, Sep 22, 2010 at 7:15 AM, Julian Reschke julian.resc...@gmx.de wrote: On 21.09.2010 02:05, Jonas Sicking wrote: Hi All, CORS was recently clarified to say that error responses, such as 4xx/5xx responses, should not abort the various algorithms but instead such a response should be

Re: PROPFIND vs simple methods, was: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Jonas Sicking
On Wed, Sep 22, 2010 at 11:19 AM, Julian Reschke julian.resc...@gmx.de wrote: On 22.09.2010 20:05, Jonas Sicking wrote: ... For what it's worth, I think simple is meant as Must be handled by servers today as HTML implementations can already send this request cross site. Not as the HTTP

Re: PROPFIND vs simple methods, was: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Julian Reschke
On 22.09.2010 20:05, Jonas Sicking wrote: ... For what it's worth, I think simple is meant as Must be handled by servers today as HTML implementations can already send this request cross site. Not as the HTTP definition of must/should not have side effects. ... Yes. That's why I think it needs

Re: PROPFIND vs simple methods, was: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Anne van Kesteren
On Wed, 22 Sep 2010 20:19:08 +0200, Julian Reschke julian.resc...@gmx.de wrote: For PROPFIND (and other methods defined to be safe): it really doesn't make sense to do a preflight OPTIONS for PROPFIND. Both are defined to be safe. Both could have broken server implementations. We don't

Re: PROPFIND vs simple methods, was: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Julian Reschke
On 22.09.2010 20:25, Jonas Sicking wrote: ... For PROPFIND (and other methods defined to be safe): it really doesn't make sense to do a preflight OPTIONS for PROPFIND. Both are defined to be safe. Both could have broken server implementations. Note that the OPTIONS request always has an empty

Re: PROPFIND vs simple methods, was: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Anne van Kesteren
On Wed, 22 Sep 2010 21:20:09 +0200, Jonas Sicking jo...@sicking.cc wrote: On Wed, Sep 22, 2010 at 12:16 PM, Anne van Kesteren ann...@opera.com wrote: We don't want to keep updating the safe list. So they're all unsafe. Or maybe not unsafe, just not compatible with HTML forms. What we're

Re: PROPFIND vs simple methods, was: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Julian Reschke
On 22.09.2010 21:16, Anne van Kesteren wrote: On Wed, 22 Sep 2010 20:19:08 +0200, Julian Reschke julian.resc...@gmx.de wrote: For PROPFIND (and other methods defined to be safe): it really doesn't make sense to do a preflight OPTIONS for PROPFIND. Both are defined to be safe. Both could have

Re: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Julian Reschke
On 22.09.2010 20:22, Jonas Sicking wrote: ... First of all I assume that you're only talking about including credentials if the 'credentials' flag is set, right? ... Probably. I'm not totally familiar with the spec, I just observe its impact on certain scenarios :-). This would require

Re: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Jonas Sicking
On Wed, Sep 22, 2010 at 12:34 PM, Julian Reschke julian.resc...@gmx.de wrote: On 22.09.2010 20:22, Jonas Sicking wrote: ... First of all I assume that you're only talking about including credentials if the 'credentials' flag is set, right? ... Probably. I'm not totally familiar with the

Re: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Julian Reschke
On 22.09.2010 21:42, Jonas Sicking wrote: ... So in these scenarios servers are set up to do authentication verification before handing the request to CGI-like code (i.e. things like php, asp, jsp, etc)? Can you point to any server software which have such a setup? ... As far as I recollect,

[IndexedDB] Simultaneous setVersion from multiple pages

2010-09-22 Thread ben turner
Hi folks, While implementing the latest setVersion changes I came across this problem: Let's say that a site is open in two different windows and each decides to do a setVersion request at the same time. Only one of them can win, obviously, and the other must end up calling close() on itself or

[IndexedDB] Accept simple strings in IDBDatabase.transaction()

2010-09-22 Thread ben turner
Hi folks, The spec currently says that IDBDatabase.transaction() takes an array of object store names as its first parameter. While I think this is fine I'd like to propose that we loosen that restriction and allow a simple string to name one object store as well. Thus this code: var

Re: PROPFIND vs simple methods, was: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Jonas Sicking
On Wed, Sep 22, 2010 at 12:16 PM, Anne van Kesteren ann...@opera.com wrote: On Wed, 22 Sep 2010 20:19:08 +0200, Julian Reschke julian.resc...@gmx.de wrote: For PROPFIND (and other methods defined to be safe): it really doesn't make sense to do a preflight OPTIONS for PROPFIND. Both are

Re: PROPFIND vs simple methods, was: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Julian Reschke
On 22.09.2010 21:26, Anne van Kesteren wrote: On Wed, 22 Sep 2010 21:20:09 +0200, Jonas Sicking jo...@sicking.cc wrote: On Wed, Sep 22, 2010 at 12:16 PM, Anne van Kesteren ann...@opera.com wrote: We don't want to keep updating the safe list. So they're all unsafe. Or maybe not unsafe, just not

[IndexedDB] A versionchangeblocked event

2010-09-22 Thread ben turner
Hi folks, While implementing the latest setVersion changes Jonas and I decided that it would be really useful to be able to signal to the caller that other web pages are open and using the database (thus preventing a setVersion transaction from running). Consider a web page open in two windows,

Comments on proposed editor's draft of XBL2 from Forms WG

2010-09-22 Thread Klotz, Leigh
A version of this message was previously sent by W3C Team request to a members-only list. At Art Barstow's request, I am sending the message to public-webapps, with all members-only content removed and all technical comments preserved. I have also corrected one typo, where XForms was typed in

Re: Comments on proposed editor's draft of XBL2 from Forms WG

2010-09-22 Thread Klotz, Leigh
Additionally, I would like to point out Robin Cover's XML Cover Pages newsletter from OASIS today cites this paper, which shows usage of XBL and XForms: http://xml.coverpages.org/newsletter/news2010-09-21.html http://journal.code4lib.org/articles/3916 Leigh.

Re: PROPFIND vs simple methods, was: [CORS] HTTP error codes in preflight response

2010-09-22 Thread Jonas Sicking
On Wed, Sep 22, 2010 at 12:26 PM, Anne van Kesteren ann...@opera.com wrote: On Wed, 22 Sep 2010 21:20:09 +0200, Jonas Sicking jo...@sicking.cc wrote: On Wed, Sep 22, 2010 at 12:16 PM, Anne van Kesteren ann...@opera.com wrote: We don't want to keep updating the safe list. So they're all

Re: Comments on proposed editor's draft of XBL2 from Forms WG

2010-09-22 Thread Adam Barth
Perhaps the new effort should be called XBL3? Adam On Wed, Sep 22, 2010 at 9:30 AM, Leigh L. Klotz, Jr. leigh.kl...@xerox.com wrote: A version of this message was previously sent by W3C Team request to a members-only list. At Art Barstow's request, I am sending the message to