[widgets] features: default value for required

2009-12-16 Thread Cyril Concolato
Hi all, The algorithm for processing the 'required' attribute is unclear. It says: If a required attribute is used, then let required-feature be the result of applying the rule for getting a single attribute value to the required attribute. If required-feature is not a valid boolean value,

[widgets] feature: inconsistent behavior ?

2009-12-16 Thread Cyril Concolato
Hi, The test df.wgt contains a feature without name. In this case, the feature element is ignored and the widget remains valid. The test d4.wgt contains an invalid feature name. In this case, the widget should be considered as invalid. I don't understand that. I understand the rationale that

[widgets] duplicated feature elements ?

2009-12-16 Thread Cyril Concolato
Hi all, There is a test in the test suite for duplicated param element with the same name but different value (v9.wgt). But I did not find, a similar test for duplicated feature elements with the same name. Is this allowed or not ? The algorithm in Step 7 does not say. Regards, Cyril --

Re: CfC: to publish LCWD of: Server-Events, Web {SQL Database, Sockets, Storage, Worker}; deadline 15 December

2009-12-16 Thread Arthur Barstow
On Dec 7, 2009, at 7:46 PM, Barstow Art (Nokia-CIC/Boston) wrote: This is a Call for Consensus (CfC) to publish a Last Call Working Draft of the following specs: 1. Server-Sent Events http://dev.w3.org/html5/eventsource/ 2. Web SQL Database http://dev.w3.org/html5/webdatabase/ 3. Web

RE: Widget specification - liquid height support

2009-12-16 Thread Eyal Sela
Robmin, The specification says that in some view modes the widget user agent will use the width and high specified in the config.xml file. What would happened in such a view mode if they were not mentioned? אייל סלע | מנהל פרויקטים, הועדה הטכנולוגית ומשרד ה-W3C הישראלי | איגוד האינטרנט הישראלי

Widget packaging conformance

2009-12-16 Thread Eyal Sela
The Widgets 1.0: Packaging and Configuration working draft says that There is only one class of product that can claim conformance to this specification: a user agent.. The standard specify features of Widgets, not only of widget user agents, then why can't a Widget itself be claimed to

[widgets] Draft Agenda for 17 December 2009 voice conference

2009-12-16 Thread Arthur Barstow
Below is the draft agenda for the 17 December 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:

Regrets

2009-12-16 Thread Marcin Hanclik
Hi, I will not be able to attend the call tomorrow. Thanks, Marcin Marcin Hanclik ACCESS Systems Germany GmbH Tel: +49-208-8290-6452 | Fax: +49-208-8290-6465 Mobile: +49-163-8290-646 E-Mail: marcin.hanc...@access-company.com

[xhr] events for async requests (was: Re: [whatwg] Thread to run Web Socket feedback from the protocol ?)

2009-12-16 Thread Anne van Kesteren
(Moving this thread over to the WebApps WG.) On Sat, 05 Dec 2009 00:06:35 +0100, Alexey Proskuryakov a...@webkit.org wrote: On 04.12.2009, at 14:30, Jonas Sicking wrote: However for the events that are fired as a result of network activity, I see no reason to fire these events asynchronously

Re: XMLHttpRequest Comments from W3C Forms WG

2009-12-16 Thread Anne van Kesteren
On Wed, 25 Nov 2009 21:46:59 +0100, Klotz, Leigh leigh.kl...@xerox.com wrote: This comment on XMLHttpRequest [1] is from the Forms WG. A standalone W3C Recommendation-track document is welcome, particularly because of the statement in [2] The goal of this specification is to document a

Re: Comments on Last Call Working Draft of XHR

2009-12-16 Thread Anne van Kesteren
On Thu, 26 Nov 2009 18:25:57 +0100, Richard Ishida ish...@w3.org wrote: Hopefully you'll get a formal response from the i18n WG shortly. In the meantime, I have only a couple of personal editorial suggestions: I have not seen a response from the i18n WG. [1] 2.2 terminology It would help

Re: [XHR] Small text correction.

2009-12-16 Thread Anne van Kesteren
On Tue, 15 Dec 2009 08:06:35 +0100, Huub Schaeks h...@h-schaeks.speedlinq.nl wrote: The third sentence in section 4.1 reads: When the XMLHttpRequest object used in other contexts their values will have to be defined as appropriate for that context. I think the word is, is missing in the first

[xhr] Blocked headers with underscore rather than hyphen (was: Re: call for reviewers: XMLHttpRequest Last Call)

2009-12-16 Thread Anne van Kesteren
On Wed, 09 Dec 2009 11:33:25 +0100, s...@rckc.at s...@rckc.at wrote: http://kuza55.blogspot.com/2007/07/exploiting-reflected-xss.html -- Eduardo It seems it is not considered an issue for same-origin requests per that page and cross-origin requests are only dealt with in XMLHttpRequest Level

Re: [xhr] Blocked headers with underscore rather than hyphen (was: Re: call for reviewers: XMLHttpRequest Last Call)

2009-12-16 Thread s...@rckc.at
Hmm well, the only difference is that this attacks would now work same-site.. I mean.. XHR is restricting that user-agent, and other headers shouldn't be sent, supposedly to protect the JS code to send wrong headers to the server, but if the restriction can be fooled using a _, isn't the

Re: CfC: to publish LCWD of: Server-Events, Web {SQL Database, Sockets, Storage, Worker}; deadline 15 December

2009-12-16 Thread Ian Hickson
On Wed, 16 Dec 2009, Arthur Barstow wrote: Several members of the group (Nikunj[1], Charles[2], Arun[3], Art[4], Adrian[5]) raised concerns about Web SQL Database where the primary concerns raised are the normative User agents must implement the SQL dialect supported by Sqlite 3.6.19

Re: [xhr] events for async requests (was: Re: [whatwg] Thread to run Web Socket feedback from the protocol ?)

2009-12-16 Thread Ian Hickson
On Wed, 16 Dec 2009, Anne van Kesteren wrote: (Moving this thread over to the WebApps WG.) On Sat, 05 Dec 2009 00:06:35 +0100, Alexey Proskuryakov a...@webkit.org wrote: On 04.12.2009, at 14:30, Jonas Sicking wrote: However for the events that are fired as a result of network activity,

Re: The most basic File API use case

2009-12-16 Thread Robin Berjon
Hi Jonas, On Dec 10, 2009, at 19:42 , Jonas Sicking wrote: On Tue, Dec 8, 2009 at 9:03 AM, Robin Berjon ro...@berjon.com wrote: [Constructor(DOMString mediaType, DOMString fileName)] interface FileWriter { // saving operations void save (DOMString content, optional DOMString encoding,

FW: [widgets] comments re View Modes Interface spec

2009-12-16 Thread Yael.Aharon
Thanks Marcin for your response, my comments are embedded below, marked with [YA] -Original Message- From: ext Marcin Hanclik [mailto:marcin.hanc...@access-company.com] Sent: Monday, December 07, 2009 9:01 AM To: Barstow Art (Nokia-CIC/Boston); public-webapps Cc: Aharon Yael

Re: CfC: to publish LCWD of: Server-Events, Web {SQL Database, Sockets, Storage, Worker}; deadline 15 December

2009-12-16 Thread Arthur Barstow
On Dec 16, 2009, at 11:54 AM, ext Ian Hickson wrote: On Wed, 16 Dec 2009, Arthur Barstow wrote: Several members of the group (Nikunj[1], Charles[2], Arun[3], Art[4], Adrian[5]) raised concerns about Web SQL Database where the primary concerns raised are the normative User agents must

Re: CfC: to publish LCWD of: Server-Events, Web {SQL Database, Sockets, Storage, Worker}; deadline 15 December

2009-12-16 Thread Ian Hickson
On Wed, 16 Dec 2009, Arthur Barstow wrote: On Dec 16, 2009, at 11:54 AM, ext Ian Hickson wrote: On Wed, 16 Dec 2009, Arthur Barstow wrote: Several members of the group (Nikunj[1], Charles[2], Arun[3], Art[4], Adrian[5]) raised concerns about Web SQL Database where the primary

Re: [xhr] events for async requests (was: Re: [whatwg] Thread to run Web Socket feedback from the protocol ?)

2009-12-16 Thread Jonas Sicking
On Wed, Dec 16, 2009 at 9:37 AM, Ian Hickson i...@hixie.ch wrote: On another note, while reading the spec I noticed that no task is queued to updated responseText. Does that mean that if I check it continually in a tight loop within a task, I can see it change? I think the spec should say that

RE: XMLHttpRequest Comments from W3C Forms WG

2009-12-16 Thread Klotz, Leigh
Anne, Thank you for your corrections and updates. I'd like to suggest that the main issue is dependency of the XHR document on concepts where HTML5 is the only specification that defines several core concepts of the Web platform architecture, such as event loops, event handler attributes,

RE: XMLHttpRequest Comments from W3C Forms WG

2009-12-16 Thread Klotz, Leigh
I'll take this as a No and we'll discuss it in the Forms WG next year when we pick up again. Happy Holidays, Ian, Anne, and all. Leigh. -Original Message- From: Ian Hickson [mailto:i...@hixie.ch] Sent: Wednesday, December 16, 2009 11:54 AM To: Klotz, Leigh Cc: Anne van Kesteren;

RE: XMLHttpRequest Comments from W3C Forms WG

2009-12-16 Thread Klotz, Leigh
If this is the case, it shouldn't be too much work then to take out the parts that don't need to be implemented and put them into a separate, rec-track document entitled roughly XHR for HTML5. Leigh. -Original Message- From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Wednesday,

Re: CfC: to publish LCWD of: Server-Events, Web {SQL Database, Sockets, Storage, Worker}; deadline 15 December

2009-12-16 Thread Arthur Barstow
On Dec 16, 2009, at 2:46 PM, ext Ian Hickson wrote: What's the deadline by which we have to have submitted a request? If there's time, I'd like to address Adrian's feedback on the Web Sockets API and then either publish it as LC (if Adrian agrees) or at least WD. The deadline is 18

RE: XMLHttpRequest Comments from W3C Forms WG

2009-12-16 Thread Ian Hickson
On Wed, 16 Dec 2009, Klotz, Leigh wrote: Therefore, even in the light of the changes in details I've cited (and your kind corrections for my errors and outdated imformation), our request that you abstract out the dependencies on HTML5 into a separate document (perhaps part of the

Re: CfC: to publish LCWD of: Server-Events, Web {SQL Database, Sockets, Storage, Worker}; deadline 15 December

2009-12-16 Thread Charles McCathieNevile
On Wed, 16 Dec 2009 20:46:03 +0100, Ian Hickson i...@hixie.ch wrote: What's the deadline by which we have to have submitted a request? If there's time, I'd like to address Adrian's feedback on the Web Sockets API and then either publish it as LC (if Adrian agrees) or at least WD. I think it

RE: XMLHttpRequest Comments from W3C Forms WG

2009-12-16 Thread Klotz, Leigh
Thank you. It does seem like a daunting amount of effort, and I hope it doesn't cause the XHR draft to be derailed. Things that are impossible just take longer ;-) Leigh. -Original Message- From: Ian Hickson [mailto:i...@hixie.ch] Sent: Wednesday, December 16, 2009 12:13 PM To:

Re: [DataCache] Some Corrections

2009-12-16 Thread Nikunj R. Mehta
On Dec 4, 2009, at 9:41 AM, Joseph Pecoraro wrote: - 4.1.1 Examples http://dev.w3.org/2006/webapi/DataCache/#examples Last code example is improperly indented. Fixed - 4.2.1 Opening a Cache has a typo in Step 3.2 http://dev.w3.org/2006/webapi/DataCache/#opening-cache If data cache group

Re: [DataCache] Some Corrections

2009-12-16 Thread Nikunj R. Mehta
On Dec 7, 2009, at 12:01 PM, Joseph Pecoraro wrote: Some more DataCache API Corrections: - 4.1.1. Examples http://dev.w3.org/2006/webapi/DataCache/#examples No such thing as finish() used in the first example. Perhaps this should be commit()? [[ cache.transaction(function(txn) {

Re: [DataCache] Some Corrections

2009-12-16 Thread Joseph Pecoraro
- 4.2.2.1. Starting a transaction - Rules should be switched. http://dev.w3.org/2006/webapi/DataCache/#starting-a-transaction first arm: (these should be swapped) 3.3 - Mark transaction as off-line. 3.4 - Create a new cache transaction called transaction and set data cache to be its

Re: [DataCache] Some Corrections

2009-12-16 Thread Nikunj R. Mehta
On Dec 16, 2009, at 4:09 PM, Joseph Pecoraro wrote: - 4.2.2.1. Starting a transaction - Rules should be switched. http://dev.w3.org/2006/webapi/DataCache/#starting-a-transaction first arm: (these should be swapped) 3.3 - Mark transaction as off-line. 3.4 - Create a new cache transaction

Re: [DataCache] Some Corrections

2009-12-16 Thread Joseph Pecoraro
- 4.2.7. Transaction API http://dev.w3.org/2006/webapi/DataCache/#transaction-interface Extra whitespace for the oncommitted event. [[ IDL interface CacheTransaction { void getItem(in DOMString uri, ItemCallback callback); void release(in DOMString uri); void commit(); //

Re: [DataCache] Some Corrections

2009-12-16 Thread Joseph Pecoraro
Great work on the updates! I have a few new corrections that I hadn't yet submitted and still seem relevant in the new draft. - 4.3.1 Local Server API http://dev.w3.org/2006/webapi/DataCache/#request-interface Make MutableHttpResponse extend HttpResponse? It has methods, but no attributes to

Re: CfC: to publish LCWD of: Server-Events, Web {SQL Database, Sockets, Storage, Worker}; deadline 15 December

2009-12-16 Thread Arthur Barstow
On Dec 16, 2009, at 4:09 PM, ext Charles McCathieNevile wrote: On Wed, 16 Dec 2009 20:46:03 +0100, Ian Hickson i...@hixie.ch wrote: What's the deadline by which we have to have submitted a request? If there's time, I'd like to address Adrian's feedback on the Web Sockets API and then

Re: [DataCache] CacheTransaction missing committed state

2009-12-16 Thread Nikunj R. Mehta
On Dec 10, 2009, at 11:45 AM, Joseph Pecoraro wrote: The specification does not say when a CacheTransaction's status changes to committed. This should be a trivial addition. - 4.2.2. Constructing and modifying data caches http://dev.w3.org/2006/webapi/DataCache/#transaction-status The spec

RE: [public-webapps] Comment on Widget URI (7)

2009-12-16 Thread Larry Masinter
(bcc public-webapps since not as relevant) I actually think the TAG discussions about versioning and the use of version indicators has been helpful, but it's been hard to drive this to a publication, because there's still some work to be done. However, I think the main insight I've had is that

Re: Scientific Literature on Capabilities (was Re: CORS versus Uniform Messaging?)

2009-12-16 Thread Kenton Varda
Without the benefit of full context (I only started following this list recently), I'd like cautiously to suggest that the UM solution to Ian's challenge seems awkward because the challenge is itself a poor design, and UM tends to be more difficult to work with when used to implement designs that

Re: Scientific Literature on Capabilities (was Re: CORS versus Uniform Messaging?)

2009-12-16 Thread Ian Hickson
On Wed, 16 Dec 2009, Kenton Varda wrote: Without the benefit of full context (I only started following this list recently), I'd like cautiously to suggest that the UM solution to Ian's challenge seems awkward because the challenge is itself a poor design, and UM tends to be more difficult

[DataCache] Remove or Replace a Local Server Handler?

2009-12-16 Thread Joseph Pecoraro
There is no way to remove a handler, or all handlers for a particular namespace, after some have been registered. However, this may be a valid design decision, because there probably aren't compelling use cases for removing or replacing handlers. The only time I ran into this need was running

Re: Scientific Literature on Capabilities (was Re: CORS versus Uniform Messaging?)

2009-12-16 Thread Kenton Varda
On Wed, Dec 16, 2009 at 9:25 PM, Ian Hickson i...@hixie.ch wrote: A concrete example of the example I was talking about is Google's Finance GData API. There's a fixed URL on A (Google's site) that represents my finance information. There's a site B (my portal page) that is hard-coded to fetch

Re: [DataCache] Some Corrections

2009-12-16 Thread Joseph Pecoraro
I have changed to using the new method immediate and that also removed this call. Immediate looks useful. The specification for immediate is: [[ When this method is called, the user agent creates a new cache transaction, and performs the steps to add a resource to be captured in that cache

Re: Scientific Literature on Capabilities (was Re: CORS versus Uniform Messaging?)

2009-12-16 Thread Devdatta
Another example would be an XBL binding file on hixie.ch that is accessible only to pages on damowmow.com. With CORS I can do this with one line in my .htaccess file. I don't see how to do it at all with UM. Seems to me that these examples can just as easily be done with IE's XDomainRequest.

Re: Scientific Literature on Capabilities (was Re: CORS versus Uniform Messaging?)

2009-12-16 Thread Ian Hickson
On Wed, 16 Dec 2009, Devdatta wrote: Another example would be an XBL binding file on hixie.ch that is accessible only to pages on damowmow.com. With CORS I can do this with one line in my .htaccess file. I don't see how to do it at all with UM. Seems to me that these examples can just

Re: Scientific Literature on Capabilities (was Re: CORS versus Uniform Messaging?)

2009-12-16 Thread Devdatta
hmm.. just a XDR GET on the file at hixie.ch which allows access only if the request is from damowmow.com ? I am not sure -- is there anything special about XBL bindings which would result in this not working ? Cheers devdatta 2009/12/16 Ian Hickson i...@hixie.ch: On Wed, 16 Dec 2009, Devdatta

Re: Scientific Literature on Capabilities (was Re: CORS versus Uniform Messaging?)

2009-12-16 Thread Maciej Stachowiak
On Dec 16, 2009, at 11:30 PM, Devdatta wrote: hmm.. just a XDR GET on the file at hixie.ch which allows access only if the request is from damowmow.com ? I am not sure -- is there anything special about XBL bindings which would result in this not working ? If I recall correctly, XDR sends

Re: Scientific Literature on Capabilities (was Re: CORS versus Uniform Messaging?)

2009-12-16 Thread Maciej Stachowiak
On Dec 16, 2009, at 9:10 PM, Kenton Varda wrote: Without the benefit of full context (I only started following this list recently), I'd like cautiously to suggest that the UM solution to Ian's challenge seems awkward because the challenge is itself a poor design, and UM tends to be more