Re: [XHR2] Avoiding charset dependencies on user settings

2011-09-29 Thread Henri Sivonen
On Thu, Sep 29, 2011 at 3:30 AM, Jonas Sicking jo...@sicking.cc wrote: Do we have any guesses or data as to what percentage of existing pages would parse correctly with the above suggestion? I don't have guesses or data, because I think the question is irrelevant. When XHR is used for

Re: [indexeddb] New WebIDL Exception Model for IndexedDB

2011-09-29 Thread Jonas Sicking
On Mon, Sep 26, 2011 at 5:40 PM, Israel Hilerio isra...@microsoft.com wrote: On Monday, September 26, 2011 2:36 AM Anne van Kesteren wrote: On Mon, 26 Sep 2011 09:31:36 +0200, Anne van Kesteren ann...@opera.com wrote: On Fri, 23 Sep 2011 00:52:39 +0200, Israel Hilerio isra...@microsoft.com

Re: Adding Web Intents to the Webapps WG deliverables

2011-09-29 Thread Adrienne Porter Felt
Android developers chronically misunderstand and misuse Android Intents, and these mistakes lead to security bugs. To illustrate how prevalent the confusion is, Erika Chin and I found that 9 of 20 popular Android apps (45%!) contain security vulnerabilities due to misusing Intents. I've also

Re: Adding Web Intents to the Webapps WG deliverables

2011-09-29 Thread Paul Kinlan
Hi, Thanks for the synopsis of the issues. We didn't want to specifically exclude it from intra-app communication, but the result is like you mention actions can be invoked that they might not have thought would be possible or apps can replace - currently the system requires user intervention to

[Bug 14331] New: Hello! Why tasks that are queued by EventSource doesnot removed from task queues with close method? Thanks!

2011-09-29 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14331 Summary: Hello! Why tasks that are queued by EventSource doesnot removed from task queues with close method? Thanks! Product: WebAppsWG Version: unspecified

[XHR2] responseText for text/html before the encoding has stabilized

2011-09-29 Thread Henri Sivonen
http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#text-response-entity-body says: The text response entity body is a DOMString representing the response entity body. and If charset is null and mime is text/html follow the rules set forth in the HTML specification to determine the character encoding.

[XHR] Progress Events and open() / send() / abort()

2011-09-29 Thread Anne van Kesteren
So apparently there is some disagreement on how the combination of progress events and open() / send() / abort() are handled. Currently if you invoke open() from e.g. the event handler for the abort event, loadend will not be dispatched, and abort and loadend will not be dispatched on

Re: Mutation Observers: a replacement for DOM Mutation Events

2011-09-29 Thread Doug Schepers
Hi, Adam- I'm glad to see some progress on a replacement for Mutation Events. Would you be interested in being the editor for this spec? It's already in our charter, we just need someone to take it up. Olli has offered offlist to be a co-editor, so between the two of you, I think it would

RfC: LCWD of Web Socket API; comment deadline October 21

2011-09-29 Thread Arthur Barstow
On September 29, aLCWD of Web Sockets API was published: http://www.w3.org/TR/2011/WD-websockets-20110929/ Please send all comments to public-webapps@w3.org by October 21.

Re: [File API] opaque string

2011-09-29 Thread Anne van Kesteren
On Thu, 29 Sep 2011 01:19:53 +0200, Arun Ranganathan a...@mozilla.com wrote: On 8/31/11 3:45 AM, Anne van Kesteren wrote: Yeah sure, every URI is an IRI, but that is not what I am asking. I'm sorry, I think I'm not understanding you very clearly :( The spec. currently specifies what can

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-09-29 Thread Dimitri Glazkov
On Wed, Sep 28, 2011 at 4:52 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 28 Sep 2011, Dimitri Glazkov wrote: On Wed, Sep 28, 2011 at 3:54 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 28 Sep 2011, Dimitri Glazkov wrote: On Wed, Sep 28, 2011 at 3:21 PM, Ian Hickson i...@hixie.ch wrote:

Re: [File API] opaque string

2011-09-29 Thread Arun Ranganathan
On 9/29/11 12:29 PM, Anne van Kesteren wrote: On Thu, 29 Sep 2011 01:19:53 +0200, Arun Ranganathan a...@mozilla.com wrote: On 8/31/11 3:45 AM, Anne van Kesteren wrote: Yeah sure, every URI is an IRI, but that is not what I am asking. I'm sorry, I think I'm not understanding you very clearly

Re: Adding Web Intents to the Webapps WG deliverables

2011-09-29 Thread Charles Pritchard
Top posting: in web messaging, we typically set an origin property on events and authors are expected to check that property. Are your concerns addressed by that practice? It is an added step, an added nuance. And developers may neglect it. But, if they are neglecting origin, they are just

Re: Custom tags over wire, was Re: HTMLElement.register--giving components tag names

2011-09-29 Thread Dimitri Glazkov
On Sat, Sep 3, 2011 at 4:31 AM, Anne van Kesteren ann...@opera.com wrote: On Fri, 02 Sep 2011 20:47:27 +0200, Dimitri Glazkov dglaz...@chromium.org wrote: BTW, I really ought to put this fears list on the Wiki. Yeah that would probably be a good idea. Done:

Re: HTML element content models vs. components

2011-09-29 Thread Dimitri Glazkov
On Wed, Sep 28, 2011 at 11:36 AM, Dimitri Glazkov dglaz...@google.com wrote: On Wed, Sep 28, 2011 at 11:24 AM, Boris Zbarsky bzbar...@mit.edu wrote: We already have authors requesting a way of binding a data-presentation component to a table.  Which has a special content model. Man, I keep

Re: [XHR2] Avoiding charset dependencies on user settings

2011-09-29 Thread Jonas Sicking
On Thu, Sep 29, 2011 at 12:03 AM, Henri Sivonen hsivo...@iki.fi wrote: On Thu, Sep 29, 2011 at 3:30 AM, Jonas Sicking jo...@sicking.cc wrote: Do we have any guesses or data as to what percentage of existing pages would parse correctly with the above suggestion? I don't have guesses or data,

Re: [FileAPI] FileReader.abort() and File[Saver|Writer].abort have different behaviors

2011-09-29 Thread Eric U
On Thu, Sep 29, 2011 at 12:22 PM, Arun Ranganathan a...@mozilla.com wrote: On 9/21/11 8:07 PM, Eric U wrote: Update: I have made the changes to FileWriter/FileSaver's event sequences; they now match FileReader. That's not to say it won't change pending discussion, but FileWriter should

Re: [FileAPI] FileReader.abort() and File[Saver|Writer].abort have different behaviors

2011-09-29 Thread Arun Ranganathan
On 9/21/11 8:07 PM, Eric U wrote: Update: I have made the changes to FileWriter/FileSaver's event sequences; they now match FileReader. That's not to say it won't change pending discussion, but FileWriter should continue to match FileReader whatever else happens. Eric Eric: After

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-09-29 Thread Edward O'Connor
If you're talking about bz's second e-mail, then consider cases such as:   pFoo   div Bar /div ...vs:   pFoo   x-div Bar /x-div Can you be a bit more specific and explain the problem you're trying to highlight with this example?

RE: [indexeddb] New WebIDL Exception Model for IndexedDB

2011-09-29 Thread Israel Hilerio
On Tuesday, September 27, 2011 1:11 AM, Anne van Kesteren wrote: On Tue, 27 Sep 2011 02:40:29 +0200, Israel Hilerio isra...@microsoft.com wrote: Like Cameron says in the link above and based on the WebIDL description, it seems we want the IndexedDB text to say, for example: Throws a

[File API] Issue 182 about OperationNowAllowed

2011-09-29 Thread Arun Ranganathan
On 6/6/11 4:36 PM, Adrian Bateman wrote: On Monday, June 06, 2011 5:56 AM, Arthur Barstow wrote: Hi Arun, Jonas, All, The last publication of the File API spec [ED] was last October so it would be good to publish a new Working Draft in w3.org/TR/. Since Tracker shows 0 bugs for the spec

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-09-29 Thread Dominic Cooney
So, to make this really explicit: div’s default display is block, but x-div’s default display is inline. Is there anything else that I missed? Looking at use cases http://wiki.whatwg.org/wiki/Component_Model_Use_Cases, most of them would like to be block, or at maybe inline-block. One

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-09-29 Thread Tab Atkins Jr.
On Thu, Sep 29, 2011 at 6:38 PM, Dominic Cooney domin...@google.com wrote: So, to make this really explicit: div’s default display is block, but x-div’s default display is inline. Is there anything else that I missed? Not quite. p has auto-closing behavior around several of the existing

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-09-29 Thread Dominic Cooney
OK. I understand div and x-foo are different in the respect of automatically closing p-s. Is this a serious problem? It seems like if you want the p to be closed, you can write /p; if you insist on getting the parser to close it, you can use div becomes=x-foo. Dominic On Fri, Sep 30, 2011 at

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-09-29 Thread Tab Atkins Jr.
On Thu, Sep 29, 2011 at 7:05 PM, Dominic Cooney domin...@google.com wrote: OK. I understand div and x-foo are different in the respect of automatically closing p-s. Is this a serious problem? It seems like if you want the p to be closed, you can write /p; if you insist on getting the parser

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-09-29 Thread Ian Hickson
On Thu, 29 Sep 2011, Tab Atkins Jr. wrote: On Thu, Sep 29, 2011 at 7:05 PM, Dominic Cooney domin...@google.com wrote: OK. I understand div and x-foo are different in the respect of automatically closing p-s. Is this a serious problem? It seems like if you want the p to be closed,

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-09-29 Thread Ian Hickson
On Thu, 29 Sep 2011, Dimitri Glazkov wrote: c) an API to manipulate the layout programmatically (turn page, advance to next panel, etc.) [...] Once you're operating on the layout programmatically, you need logical primitives that explain and expose the functionality of a layout manager

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

2011-09-29 Thread Dominic Cooney
On Fri, Sep 30, 2011 at 12:36 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 29 Sep 2011, Tab Atkins Jr. wrote: On Thu, Sep 29, 2011 at 7:05 PM, Dominic Cooney domin...@google.com wrote: OK. I understand div and x-foo are different in the respect of automatically closing p-s.