Testing Requirements

2010-11-16 Thread Anne van Kesteren
Marcos Caceres from Opera started a wiki on Testing Requirements some time ago. I just updated it to include some more detail. I think the requirements are roughly the same for HTML and WebApps (apart from WebSockets) which is why I put both in the To field.

Re: Discussion of File API at TPAC in Lyon

2010-11-16 Thread Anne van Kesteren
On Tue, 16 Nov 2010 01:35:05 +0100, Jonas Sicking jo...@sicking.cc wrote: Ok, here is what I'll propose as the final solution: FileAPI will define the following WebIDL: [Supplemental] interface URL { static DOMString createObjectURL(in Blob blob); static void revokeObjectURL(in DOMString

Re: Discussion of File API at TPAC in Lyon

2010-11-16 Thread Jonas Sicking
On Tuesday, November 16, 2010, Anne van Kesteren ann...@opera.com wrote: On Tue, 16 Nov 2010 01:35:05 +0100, Jonas Sicking jo...@sicking.cc wrote: Ok, here is what I'll propose as the final solution: FileAPI will define the following WebIDL: [Supplemental] interface URL {  static

Re: Discussion of File API at TPAC in Lyon

2010-11-16 Thread Dmitry Titov
I have a clarifying question about how it would work: How, if at all, the lifetime of the generated urls will be defined in case of having those functions on URL interface object? If those methods are on a global object, the lifetime of the urls created would be gated by the lifetime of that

Re: requestAnimationFrame

2010-11-16 Thread Gregg Tavares (wrk)
On Mon, Nov 15, 2010 at 7:24 PM, Robert O'Callahan rob...@ocallahan.orgwrote: On Tue, Nov 16, 2010 at 1:45 PM, Gregg Tavares (wrk) g...@google.comwrote: On Mon, Nov 15, 2010 at 4:07 PM, Robert O'Callahan rob...@ocallahan.orgwrote: On Tue, Nov 16, 2010 at 12:55 PM, Gregg Tavares (wrk)

Re: requestAnimationFrame

2010-11-16 Thread Tab Atkins Jr.
On Tue, Nov 16, 2010 at 10:52 AM, Gregg Tavares (wrk) g...@google.com wrote: On Mon, Nov 15, 2010 at 7:24 PM, Robert O'Callahan rob...@ocallahan.org wrote: Now, when animation is happening on a separate compositor thread that guarantee has to be relaxed a bit. But we'll still try to meet it on

Re: requestAnimationFrame

2010-11-16 Thread Boris Zbarsky
On 11/16/10 1:52 PM, Gregg Tavares (wrk) wrote: So if the JS on the beforePaint takes a while to complete what happens to the browser? For example if you are resizing the browser? Is the browser forced not to be able to actually paint until JS returns? I'll let roc talk about how he sees this

revokeObjectURL behavior

2010-11-16 Thread Jonas Sicking
Hi All, We have at length discussed what revokeObjectURL should be called, and where it should live. However we haven't yet discussed how it should behave. In particular, there is one edge case that I'm concerned about. Consider: myurl = window1.URL.createObjectURL(myblob);

Re: Discussion of File API at TPAC in Lyon

2010-11-16 Thread Michael Nordman
On Tue, Nov 16, 2010 at 10:42 AM, Dmitry Titov dim...@chromium.org wrote: I have a clarifying question about how it would work: How, if at all, the lifetime of the generated urls will be defined in case of having those functions on URL interface object? If those methods are on a global

Re: Discussion of File API at TPAC in Lyon

2010-11-16 Thread Dmitry Titov
Thanks Michael, so the proposed change is this: window.createObjectURL - window.URL.createObjectURL and it means it's also possible to do something like this: var otherWindow = window.open(...) otherWindow.URL.createObjectURL(...) Is this correct understanding? Dmitry On Tue, Nov 16, 2010 at

Re: Discussion of File API at TPAC in Lyon

2010-11-16 Thread Jonas Sicking
On Tue, Nov 16, 2010 at 10:42 AM, Dmitry Titov dim...@chromium.org wrote: I have a clarifying question about how it would work: How, if at all, the lifetime of the generated urls will be defined in case of having those functions on URL interface object? If those methods are on a global

Re: Discussion of File API at TPAC in Lyon

2010-11-16 Thread Jonas Sicking
On Tue, Nov 16, 2010 at 12:07 PM, Dmitry Titov dim...@chromium.org wrote: Thanks Michael, so the proposed change is this:  window.createObjectURL - window.URL.createObjectURL and it means it's also possible to do something like this: var otherWindow = window.open(...)

Re: requestAnimationFrame

2010-11-16 Thread Robert O'Callahan
On Wed, Nov 17, 2010 at 7:52 AM, Gregg Tavares (wrk) g...@google.comwrote: So if the JS on the beforePaint takes a while to complete what happens to the browser? For example if you are resizing the browser? Is the browser forced not to be able to actually paint until JS returns? Not

Re: Discussion of File API at TPAC in Lyon

2010-11-16 Thread Dmitry Titov
On Tue, Nov 16, 2010 at 12:20 PM, Jonas Sicking jo...@sicking.cc wrote: On Tue, Nov 16, 2010 at 12:07 PM, Dmitry Titov dim...@chromium.org wrote: Thanks Michael, so the proposed change is this: window.createObjectURL - window.URL.createObjectURL and it means it's also possible to do

RE: Discussion of File API at TPAC in Lyon

2010-11-16 Thread Adrian Bateman
On Tuesday, November 16, 2010 8:11 AM, Jonas Sicking wrote: On Tuesday, November 16, 2010, Anne van Kesteren ann...@opera.com wrote: On Tue, 16 Nov 2010 01:35:05 +0100, Jonas Sicking jo...@sicking.cc wrote: Ok, here is what I'll propose as the final solution: FileAPI will define the