Re: [XHR] Redirects

2010-09-16 Thread Darin Fisher
On Wed, Sep 15, 2010 at 3:07 AM, Julian Reschke julian.resc...@gmx.dewrote: On 15.09.2010 11:56, Boris Zbarsky wrote: On 9/15/10 2:47 AM, Boris Zbarsky wrote: So it's possible that the original behavior was just an oversight that then got copied. Someone with access to a browser version

Re: [XHR] Redirects

2010-09-16 Thread Julian Reschke
On 16.09.2010 09:39, Darin Fisher wrote: ... Adding a .followRedirect method means that developers can choose to use it or not. If they want to manually construct the redirected request, then they can do so using a new XHR object. However, if the use case is only auditing redirects, then being

Re: [XHR] Redirects

2010-09-16 Thread Adam Barth
On Wed, Sep 15, 2010 at 2:56 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 9/15/10 2:47 AM, Boris Zbarsky wrote: So it's possible that the original behavior was just an oversight that then got copied. Someone with access to a browser version control system from before 1998 would need to look

Re: [XHR] Redirects

2010-09-16 Thread Boris Zbarsky
On 9/16/10 12:51 AM, Adam Barth wrote: If you're interested in this topic, I'd encourage you to share your perspective with the httpbis working group. I'm not sure there's anything else to share, actually. Sounds like things are well in hand here. -Boris

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

2010-09-16 Thread Jeremy Orlow
On Wed, Sep 15, 2010 at 10:45 PM, Jonas Sicking jo...@sicking.cc wrote: Heh, I've also been thinking about this exact issue lately. There is a similar question for IDBCursor.delete. On Wed, Sep 15, 2010 at 8:55 AM, Jeremy Orlow jor...@chromium.org wrote: I think it's clear what IDBCursor

Re: [XHR] Redirects

2010-09-16 Thread Anne van Kesteren
On Thu, 16 Sep 2010 09:50:41 +0200, Julian Reschke julian.resc...@gmx.de wrote: If using followRedirect() is easy, but manually following it is hard, people might choose the wrong approach just because it's easier. Well, what is wrong and what is right is still an open issue in the HTTP

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

2010-09-16 Thread Jeremy Orlow
On Thu, Sep 16, 2010 at 10:15 AM, Jeremy Orlow jor...@chromium.org wrote: On Wed, Sep 15, 2010 at 10:45 PM, Jonas Sicking jo...@sicking.cc wrote: Heh, I've also been thinking about this exact issue lately. There is a similar question for IDBCursor.delete. On Wed, Sep 15, 2010 at 8:55 AM,

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

2010-09-16 Thread Andrei Popescu
On Thu, Sep 16, 2010 at 10:15 AM, Jeremy Orlow jor...@chromium.org wrote: On Wed, Sep 15, 2010 at 10:45 PM, Jonas Sicking jo...@sicking.cc wrote: Heh, I've also been thinking about this exact issue lately. There is a similar question for IDBCursor.delete. On Wed, Sep 15, 2010 at 8:55 AM,

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Nathan
cc: public-webapps Hi Claes, Nilsson, Claes1 wrote: Hi Nathan, Thanks for clarifying your proposal. I interpret you so that you are proposing standardization of a general concept of packaged and installed web applications. Something like http://code.google.com/chrome/apps/docs/index.html

ISSUE-133 (keyCode and charCode): Consider specifying keyCode and charCode [DOM3 Events]

2010-09-16 Thread Web Applications Working Group Issue Tracker
ISSUE-133 (keyCode and charCode): Consider specifying keyCode and charCode [DOM3 Events] http://www.w3.org/2008/webapps/track/issues/133 Raised by: Doug Schepers On product: DOM3 Events Simon Pieters http://lists.w3.org/Archives/Public/www-dom/2010JulSep/0160.html: [[ Please specify keyCode

Re: [XHR] Redirects

2010-09-16 Thread Julian Reschke
On 16.09.2010 11:32, Anne van Kesteren wrote: On Thu, 16 Sep 2010 09:50:41 +0200, Julian Reschke julian.resc...@gmx.de wrote: If using followRedirect() is easy, but manually following it is hard, people might choose the wrong approach just because it's easier. Well, what is wrong and what is

Re: ISSUE-133 (keyCode and charCode): Consider specifying keyCode and charCode [DOM3 Events]

2010-09-16 Thread Thomas Broyer
On Thu, Sep 16, 2010 at 2:39 PM, Web Applications Working Group Issue Tracker sysbot+trac...@w3.org wrote: ISSUE-133 (keyCode and charCode): Consider specifying keyCode and charCode [DOM3 Events] http://www.w3.org/2008/webapps/track/issues/133 Raised by: Doug Schepers On product: DOM3

Re: ISSUE-133 (keyCode and charCode): Consider specifying keyCode and charCode [DOM3 Events]

2010-09-16 Thread Thomas Broyer
On Thu, Sep 16, 2010 at 3:33 PM, Thomas Broyer wrote: Basically, and practically, use keyCode in keyDown and keyUp events, and charCode in keyDown events (except in Opera, where keyCode can be used as a fallback). Sorry, I obviously meant charCode in keyPress events. -- Thomas Broyer

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Marcos Caceres
On Thu, Sep 16, 2010 at 1:42 PM, Nathan nat...@webr3.org wrote: cc: public-webapps Hi Claes, Nilsson, Claes1 wrote: Hi Nathan, Thanks for clarifying your proposal. I interpret you so that you are proposing standardization of a general concept of packaged and installed web applications.

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Nathan
Marcos Caceres wrote: On Thu, Sep 16, 2010 at 1:42 PM, Nathan nat...@webr3.org wrote: cc: public-webapps Hi Claes, Nilsson, Claes1 wrote: Hi Nathan, Thanks for clarifying your proposal. I interpret you so that you are proposing standardization of a general concept of packaged and installed

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Nathan
Marcos Caceres wrote: On Fri, Sep 3, 2010 at 7:52 PM, Nathan nat...@webr3.org wrote: Hi All, Simply wondering why WARP, Widgets Updates and Digital Signatures aren't used to deploy js applications which run in the main browser context? I guess because they all have counterparts on the Web

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Marcos Caceres
On 9/16/10 6:10 PM, Nathan wrote: Marcos Caceres wrote: On Thu, Sep 16, 2010 at 1:42 PM, Nathan nat...@webr3.org wrote: cc: public-webapps Hi Claes, Nilsson, Claes1 wrote: Hi Nathan, Thanks for clarifying your proposal. I interpret you so that you are proposing standardization of a

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Marcos Caceres
On 9/16/10 6:17 PM, Nathan wrote: Marcos Caceres wrote: On Fri, Sep 3, 2010 at 7:52 PM, Nathan nat...@webr3.org wrote: Hi All, Simply wondering why WARP, Widgets Updates and Digital Signatures aren't used to deploy js applications which run in the main browser context? I guess because

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Nathan
Marcos Caceres wrote: On 9/16/10 6:10 PM, Nathan wrote: Marcos Caceres wrote: As above. I thought that was what we (Web Apps WG - Widgets) have been doing for the last 5 years? Maybe I've missed part of the specifications - are you telling me that I can package up an HTML,CSS,JS based

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

2010-09-16 Thread Jonas Sicking
On Thu, Sep 16, 2010 at 2:15 AM, Jeremy Orlow jor...@chromium.org wrote: On Wed, Sep 15, 2010 at 10:45 PM, Jonas Sicking jo...@sicking.cc wrote: Heh, I've also been thinking about this exact issue lately. There is a similar question for IDBCursor.delete. On Wed, Sep 15, 2010 at 8:55 AM,

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

2010-09-16 Thread Jonas Sicking
On Thu, Sep 16, 2010 at 4:08 AM, Jeremy Orlow jor...@chromium.org wrote: On Thu, Sep 16, 2010 at 10:15 AM, Jeremy Orlow jor...@chromium.org wrote: On Wed, Sep 15, 2010 at 10:45 PM, Jonas Sicking jo...@sicking.cc wrote: Heh, I've also been thinking about this exact issue lately. There is a

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

2010-09-16 Thread Jeremy Orlow
On Thu, Sep 16, 2010 at 8:53 PM, Jonas Sicking jo...@sicking.cc wrote: On Thu, Sep 16, 2010 at 2:15 AM, Jeremy Orlow jor...@chromium.org wrote: Wait a sec. What are the use cases for non-object cursors anyway? They made perfect sense back when we allowed explicit index management, but now

Re: FileSystem API - overwrite flag for copy/move?

2010-09-16 Thread Eric Uhrhane
How about this? For a move/copy of a file on top of existing file, or a directory on top of an existing empty directory, you get an automatic overwrite. A move/copy of a file on top of an existing directory, or of a directory on top of an existing file, will always fail. A move/copy of a file or

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

2010-09-16 Thread Tab Atkins Jr.
On Thu, Sep 16, 2010 at 2:23 PM, Jeremy Orlow jor...@chromium.org wrote: I think we should leave in openObjectCursor/getObject but remove openCursor/get for now.  We can then revisit any of these features as soon as there are implementations (both in the UAs and in web sites) mature enough for

Re: [XHR] Redirects

2010-09-16 Thread Darin Fisher
On Thu, Sep 16, 2010 at 6:31 AM, Julian Reschke julian.resc...@gmx.dewrote: I think that obtaining the resolved Location for the redirect is the most tricky part, and we should come up with a solution where that is also available for people who do not want the default browser behavior. I

Re: FileSystem API - overwrite flag for copy/move?

2010-09-16 Thread Eric Uhrhane
2010/9/16 Kinuko Yasuda kin...@chromium.org: On Thu, Sep 16, 2010 at 2:50 PM, Eric Uhrhane er...@google.com wrote: How about this? For a move/copy of a file on top of existing file, or a directory on top of an existing empty directory, you get an automatic overwrite. A move/copy of a file on

Re: ArrayBuffer and ByteArray questions

2010-09-16 Thread Eric Uhrhane
On Wed, Sep 15, 2010 at 6:53 PM, Arun Ranganathan a...@mozilla.com wrote: On 9/7/10 10:08 PM, Darin Fisher wrote: On Tue, Sep 7, 2010 at 5:23 PM, Kenneth Russell k...@google.com wrote: On Tue, Sep 7, 2010 at 4:19 PM, Nathan nat...@webr3.org wrote: Jian Li wrote: Hi, Several specs,

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

2010-09-16 Thread Jeremy Orlow
On Thu, Sep 16, 2010 at 11:04 PM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Thu, Sep 16, 2010 at 2:23 PM, Jeremy Orlow jor...@chromium.org wrote: I think we should leave in openObjectCursor/getObject but remove openCursor/get for now. We can then revisit any of these features as soon

Re: FileSystem API - overwrite flag for copy/move?

2010-09-16 Thread Kinuko Yasuda
On Thu, Sep 16, 2010 at 4:00 PM, Eric Uhrhane er...@google.com wrote: 2010/9/16 Kinuko Yasuda kin...@chromium.org: On Thu, Sep 16, 2010 at 2:50 PM, Eric Uhrhane er...@google.com wrote: How about this? For a move/copy of a file on top of existing file, or a directory on top of an existing

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

2010-09-16 Thread Jonas Sicking
On Thu, Sep 16, 2010 at 2:23 PM, Jeremy Orlow jor...@chromium.org wrote: On Thu, Sep 16, 2010 at 8:53 PM, Jonas Sicking jo...@sicking.cc wrote: On Thu, Sep 16, 2010 at 2:15 AM, Jeremy Orlow jor...@chromium.org wrote: Wait a sec.  What are the use cases for non-object cursors anyway?  They

Re: Widgets - WARP, Widgets Updates and Digital Signatures

2010-09-16 Thread Marcos Caceres
Hi Nathan, On 9/16/10 7:38 PM, Nathan wrote: Marcos Caceres wrote: On 9/16/10 6:10 PM, Nathan wrote: Marcos Caceres wrote: As above. I thought that was what we (Web Apps WG - Widgets) have been doing for the last 5 years? Maybe I've missed part of the specifications - are you telling me