Re: [whatwg] scripts, defer, document.write and DOMContentLoaded

2009-08-28 Thread Garrett Smith
On Sat, Aug 15, 2009 at 8:11 PM, Ian Hicksoni...@hixie.ch wrote: On Tue, 11 Aug 2009, Kristof Zelechovski wrote:       1. The specification defines the term script source to mean either the text or the infoset, depending whether the script is text-based or XML-based.  What is the script

Re: [whatwg] Proposal to drag virtual file out of browser

2009-08-28 Thread Sebastian Markbåge
For future reference, I posted another suggestion to the public-webapps list. Instead of specifying a download URL, you could specify a URL on a type as the source of the data: dataTransfer.setRemoteData(mimeType, url); That could allow for both file downloads and/or lazy loading of data

Re: [whatwg] Storage mutex

2009-08-28 Thread Mike Shaver
On Tue, Aug 25, 2009 at 10:36 PM, Jeremy Orlowjor...@chromium.org wrote: On Tue, Aug 25, 2009 at 10:28 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Tue, Aug 25, 2009 at 11:51 AM, Jeremy Orlow jor...@chromium.org wrote: To me, getStorageUpdates seems to imply that updates have

Re: [whatwg] origin+path namespacing and security

2009-08-28 Thread Adam Barth
On Fri, Aug 28, 2009 at 12:25 AM, Mike Wilsonmike...@hotmail.com wrote: I see what you mean. The ideal thing would be if we could implement path-based security with the same construct that adds path-based namespacing. I realize the problem of backwards-compat, but have there been any efforts

Re: [whatwg] origin+path namespacing and security

2009-08-28 Thread Anne van Kesteren
On Fri, 28 Aug 2009 09:29:55 +0200, Adam Barth wha...@adambarth.com wrote: On Fri, Aug 28, 2009 at 12:25 AM, Mike Wilsonmike...@hotmail.com wrote: I see what you mean. The ideal thing would be if we could implement path-based security with the same construct that adds path-based namespacing.

Re: [whatwg] Proposal for local-storage file management

2009-08-28 Thread Jonas Sicking
2009/8/27 Ian Fette (イアンフェッティ) ife...@google.com: Things missing from Arun's File proposal as is, off the top of my head: a) a directory structure (someone would have to build one on top of it... not critical, but not ideal) b) Ability to store it not in localStorage in some hidden directory,

Re: [whatwg] A tag for measurements / quantity?

2009-08-28 Thread Jonas Sicking
On Thu, Aug 27, 2009 at 5:30 PM, Ian Hicksoni...@hixie.ch wrote: From a practical perspective it would be nice to have an unambiguous way to mark up numerical constants in a document and thus allow a straightforward way of doing conversions. Personally, the obvious use case for me is recipes.

Re: [whatwg] scripts, defer, document.write and DOMContentLoaded

2009-08-28 Thread Ian Hickson
On Thu, 27 Aug 2009, Garrett Smith wrote: I'm not aware of any UAs implementing an XML-based scripting language, http://msdn.microsoft.com/en-us/library/ms766512%28VS.85%29.aspx Now you are. That's not an XML-based scripting language. That's XML data islands, which are declarative and

Re: [whatwg] origin+path namespacing and security

2009-08-28 Thread Mike Wilson
Adam Barth wrote: Mike Wilsonmike...@hotmail.com wrote: I see what you mean. The ideal thing would be if we could implement path-based security with the same construct that adds path-based namespacing. I realize the problem of backwards-compat, but have there been any efforts or

Re: [whatwg] origin+path namespacing and security

2009-08-28 Thread Anne van Kesteren
On Fri, 28 Aug 2009 10:41:02 +0200, Mike Wilson mike...@hotmail.com wrote: But maybe there has been previous efforts done on this topic? Besides that I think that this is not possible and will not be done, why should we do it? If you want to be secure use a separate domain. If you offer

Re: [whatwg] origin+path namespacing and security

2009-08-28 Thread Adam Barth
On Fri, Aug 28, 2009 at 1:41 AM, Mike Wilsonmike...@hotmail.com wrote: - this mechanism needs a way to specify the blessed path,  maybe something along the lines of document.domain or a  response header 1) Document.domain is an abomination. We certainly don't want more features like that. 2)

Re: [whatwg] origin+path namespacing and security

2009-08-28 Thread Mike Wilson
Adam Barth wrote: Mike Wilsonmike...@hotmail.com wrote: - this mechanism needs a way to specify the blessed path,  maybe something along the lines of document.domain or a  response header 1) Document.domain is an abomination. We certainly don't want more features like that. 2)

Re: [whatwg] Web Storage: apparent contradiction in spec

2009-08-28 Thread mike
Michael Nordman wrote: And to confound the problem further, UAs dont have meta-data on hand with which to relate various pieces of local data together and attribute them to a specific user-identifiable 'application'. Everything is bound to a security-origin, but that doesn't clearly identify or

Re: [whatwg] Proposal for local-storage file management

2009-08-28 Thread Maciej Stachowiak
On Aug 28, 2009, at 12:55 AM, Jonas Sicking wrote: Ah, now I follow what you are requesting. Basically the ability to not just hook into some virtual directory of files, but rather the normal file tree as seen by the user on the Desktop/Documents folder/Images folder/etc. And with that, not

Re: [whatwg] Storage mutex

2009-08-28 Thread Kevin Benson
On Sun, Aug 23, 2009 at 1:22 AM, Jeremy Orlowjor...@chromium.org wrote: On Tue, Aug 18, 2009 at 4:26 PM, Jeremy Orlow jor...@chromium.org wrote: Lastly, is navigator.getStorageUpdates() the right name for the function that drops the lock?  Why was it changed from navigator.releaseLock()?  I

Re: [whatwg] Spec comments, section 4.8

2009-08-28 Thread Aryeh Gregor
On Thu, Aug 27, 2009 at 10:23 PM, Ian Hicksoni...@hixie.ch wrote: You need a better font. Well, it's the default Ubuntu sans-serif font, I think. I guess I'm better off than the people viewing in IE6. :) Is The user agent stops fetching the media data before it is completely downloaded

Re: [whatwg] Proposal for local-storage file management

2009-08-28 Thread Mike Wilson
Maciej Stachowiak wrote: Broader note: loading and then modifying existing documents in the browser might be cool. But in general, I don't see the win of making the file manager the tool to manage data created by web apps. File managers are not really that great an interface for

Re: [whatwg] Run to completion in the face of modal dialog boxes (WAS: Storage mutex)

2009-08-28 Thread Jeremy Orlow
Can anyone from Firefox speak to whether this should be considered a bug (I'm happy to file) or whether this behavior is intended? On Thu, Aug 27, 2009 at 3:39 AM, Henri Sivonen hsivo...@iki.fi wrote: On Aug 26, 2009, at 22:54, Darin Fisher wrote: Firefox and IE implement window modal, which

Re: [whatwg] Web Storage: apparent contradiction in spec

2009-08-28 Thread Jens Alfke
On Aug 27, 2009, at 5:53 PM, Dirk Pranke wrote: Would you hold a different opinion for different types of HTML5-based applications (like the TiddlyWiki app that gets copied locally)? Or would you require that all apps go through an install process that acquires quota, permissions, etc.?

Re: [whatwg] Proposal for local-storage file management

2009-08-28 Thread Mike Wilson
Right, trying to answer on-topic ;-) I guess if the spec doesn't mention anything about where localStorage is persisted, it leaves it up to every browser to decide whether to ask the user or use a default location. Earlier I didn't think of the possibility of localStorage data being stored in

Re: [whatwg] Proposal for local-storage file management

2009-08-28 Thread Michael Nordman
On Fri, Aug 28, 2009 at 11:12 AM, Jens Alfke s...@google.com wrote: On Aug 28, 2009, at 10:51 AM, Brady Eidson wrote: I would *NOT* be on board with the spec requiring anything about where the file goes on the filesystem. I have never been convinced by the argument that users always need

Re: [whatwg] Changing postMessage() to allow sending unentangled ports

2009-08-28 Thread Ian Hickson
On Mon, 17 Aug 2009, Drew Wilson wrote: Following up on this issue: Currently, the checks specified for MessagePort.postMessage() are different from the checks done in window.postMessage() (as described in section 7.2.4 Posting messages with message ports). In particular, step 4 of section

Re: [whatwg] Run to completion in the face of modal dialog boxes (WAS: Storage mutex)

2009-08-28 Thread Jonas Sicking
On Fri, Aug 28, 2009 at 10:15 AM, Jeremy Orlowjor...@chromium.org wrote: Can anyone from Firefox speak to whether this should be considered a bug (I'm happy to file) or whether this behavior is intended? I'd say it's a bug. However I'm not sure that fixing it is high priority. At least not

Re: [whatwg] Changing postMessage() to allow sending unentangled ports

2009-08-28 Thread Drew Wilson
I'm saying that we should differentiate between the closed state and cloned state. Implementors effectively need to do this anyway, because the spec says that closed ports are still task sources, while cloned ports are not. It makes sense to be able to post closed ports via postmessage() because

Re: [whatwg] Storage mutex

2009-08-28 Thread Jeremy Orlow
On Fri, Aug 28, 2009 at 4:05 AM, Kevin Benson kevin.m.ben...@gmail.comwrote: On Sun, Aug 23, 2009 at 1:22 AM, Jeremy Orlowjor...@chromium.org wrote: On Tue, Aug 18, 2009 at 4:26 PM, Jeremy Orlow jor...@chromium.org wrote: Lastly, is navigator.getStorageUpdates() the right name for the

[whatwg] EDITORIAL - Suggested corrections

2009-08-28 Thread Ian Hickson
On Tue, 18 Aug 2009, Kevin Benson wrote: 4.4.3 The nav element that are targetted at users S//targeted//targetted// - - (typo) Fixed. 4.8.1 The figure element img src=promblem-packed-action.png alt=ROUGH COPY! Promblem-Packed Action! S//problem//promblem// - - (typo)

Re: [whatwg] EDITORIAL - Suggested corrections

2009-08-28 Thread Kevin Benson
On Fri, Aug 28, 2009 at 3:43 PM, Ian Hicksoni...@hixie.ch wrote: On Tue, 18 Aug 2009, Kevin Benson wrote: 4.10.4.1.17 Radio Button state Either neither a nor b have a form owner, or they both have one and it is the same for both. S//Either a and b both have no form owner//Either neither a

Re: [whatwg] EDITORIAL - Suggested corrections

2009-08-28 Thread Tab Atkins Jr.
On Fri, Aug 28, 2009 at 3:23 PM, Kevin Bensonkevin.m.ben...@gmail.com wrote: On Fri, Aug 28, 2009 at 3:43 PM, Ian Hicksoni...@hixie.ch wrote: On Tue, 18 Aug 2009, Kevin Benson wrote: 4.10.4.1.17 Radio Button state Either neither a nor b have a form owner, or they both have one and it is the

[whatwg] HTML extension for system idle detection.

2009-08-28 Thread David Bennett
SUMMARY There currently is no way to detect the system idle state in the browser. This makes it difficult to deal with any sort of chat room or instant messaging client inside the browser since the idle will always be incorrect. USE CASE Any instant messaging client, or any client that requires

Re: [whatwg] HTML extension for system idle detection.

2009-08-28 Thread Jonas Sicking
On Fri, Aug 28, 2009 at 2:47 PM, David Bennettd...@google.com wrote: SUMMARY There currently is no way to detect the system idle state in the browser. This makes it difficult to deal with any sort of chat room or instant messaging client inside the browser since the idle will always be

Re: [whatwg] HTML extension for system idle detection.

2009-08-28 Thread Thomas Broyer
On Fri, Aug 28, 2009 at 11:47 PM, David Bennettd...@google.com wrote: SUMMARY There currently is no way to detect the system idle state in the browser. This makes it difficult to deal with any sort of chat room or instant messaging client inside the browser since the idle will always be

Re: [whatwg] HTML extension for system idle detection.

2009-08-28 Thread Jens Alfke
On Aug 28, 2009, at 3:40 PM, Jonas Sicking wrote: Seems like an event would be a better solution. For example fire a 'idlestatechange' event with the following API: Such an event implies one specific time interval that denotes 'idle'. Different clients are likely to want to use different

Re: [whatwg] HTML extension for system idle detection.

2009-08-28 Thread Jonas Sicking
On Fri, Aug 28, 2009 at 4:36 PM, Jens Alfkes...@google.com wrote: On Aug 28, 2009, at 3:40 PM, Jonas Sicking wrote: Seems like an event would be a better solution. For example fire a 'idlestatechange' event with the following API: Such an event implies one specific time interval that

[whatwg] Space characters: VT and FF

2009-08-28 Thread Øistein E . Andersen
As far as I can tell, vertical tab ('\v') is not defined as a space character anymore, but does not cause a parse error either (unlike other control characters). Is this intentional? In IE7, IE8 and Safari, '\v' is handled as a space character in the sense that it can be used to separate

Re: [whatwg] Empty content models

2009-08-28 Thread Ian Hickson
On Sun, 26 Nov 2006, Anne van Kesteren wrote: img explicitly says The img element must be empty. in the prose. Same for br. This isn't done for the base, link, meta, hr, embed, param, area, col and event-source. (I suppose there might be others if I skipped one.) Fixed (they all rely on

Re: [whatwg] Element content models

2009-08-28 Thread Ian Hickson
On Sun, 26 Nov 2006, Anne van Kesteren wrote: Some element content model explicitly mention that they can't contain themself. This probably makes sense for the following elements as well: * meter * progress * time * t * m * abbr? * cite? There might be more. Done for meter,

[whatwg] EDITORIAL - Suggested corrections

2009-08-28 Thread Øistein E . Andersen
On Fri, Aug 28, 2009, Ian Hickson wrote: On Tue, 18 Aug 2009, Kevin Benson wrote: 4.10.4.1.17 Radio Button state Either neither a nor b have a form owner, or they both have one and it is the same for both. S//Either a and b both have no form owner//Either neither a nor b have a form

Re: [whatwg] complete DOM attribute (image elements)

2009-08-28 Thread Ian Hickson
On Sun, 2 Sep 2007, Gavin Sharp wrote: (I searched the WHATWG and public-html mailing list archives to see whether this issue had already been brought up, and couldn't find any related discussion. Apologies if this has already been discussed.) The current HTML 5 draft says: The DOM

Re: [whatwg] size limits on web databases

2009-08-28 Thread Ian Hickson
On Thu, 13 Aug 2009, Rob Kroeger wrote: From http://dev.w3.org/html5/webdatabase/: The openDatabase() method on the Window and WorkerUtils interfaces must return a newly constructed Database object that represents the database requested. The spec does not make it clear what the UA on