Re: [whatwg] toDataURL() for image/video?

2012-06-15 Thread Charles Pritchard
On Jun 15, 2012, at 7:10 PM, Ian Hickson wrote: > On Tue, 29 May 2012, Ashley Gullen wrote: >> >> Has toDataURL() (from canvas) been considered for ordinary image and >> video elements? Seems like it would be useful for pure javascript >> applications. Currently it can be done by creating a n

Re: [whatwg] toDataURL() for image/video?

2012-06-15 Thread Ian Hickson
On Tue, 29 May 2012, Ashley Gullen wrote: > > Has toDataURL() (from canvas) been considered for ordinary image and > video elements? Seems like it would be useful for pure javascript > applications. Currently it can be done by creating a new canvas, getting > a 2D context, drawImage(), then ca

Re: [whatwg] sandboxed documents and cookies

2012-06-15 Thread Adam Barth
On Fri, Jun 15, 2012 at 3:46 PM, Ian Melven wrote: > in https://bugzilla.mozilla.org/show_bug.cgi?id=341604#c180, David-Sarah > Hopwood > makes a few points about cookies in sandboxed documents : > > "Ugh, that's mandating an information leak about whether the document has > cookies. Maybe a min

[whatwg] sandboxed documents and cookies

2012-06-15 Thread Ian Melven
Hi, in https://bugzilla.mozilla.org/show_bug.cgi?id=341604#c180, David-Sarah Hopwood makes a few points about cookies in sandboxed documents : "Ugh, that's mandating an information leak about whether the document has cookies. Maybe a minor leak, but I don't understand why it should exist: if al

Re: [whatwg] Firing canplaythrough when caches/buffers are full

2012-06-15 Thread Ian Hickson
On Mon, 28 May 2012, Robert O'Callahan wrote: > > We encountered an app that uses "canplaythrough" on a video element to > trigger execution of the app "so we don't start playing the video until > we can do so without stuttering". http://gaiamobile.org/apps/cubevid/ > This approach works fine on

Re: [whatwg] The set of supported @type values for

2012-06-15 Thread Ian Hickson
On Fri, 25 May 2012, Boris Zbarsky wrote: > > The list is at > http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#support-the-scripting-language > > or > http://dev.w3.org/html5/spec/the-script-element.html#scriptingLanguages > depending on which you prefer to read. >

Re: [whatwg] runat (or "server") attribute

2012-06-15 Thread Ian Hickson
On Sun, 13 May 2012, Benjamin Hawkes-Lewis wrote: > On Sun, May 13, 2012 at 1:47 AM, Brett Zamir wrote: > > With Server-Side JavaScript taking off, could we reserve "runat" (or > > maybe an even simpler and more concise "server" boolean attribute) for > > a standard and (via CommonJS) potentiall

Re: [whatwg] implementation feedback

2012-06-15 Thread Ian Hickson
On Fri, 15 Jun 2012, Simon Pieters wrote: > On Thu, 14 Jun 2012 20:32:16 +0200, Ian Hickson wrote: > > On Thu, 14 Jun 2012, Simon Pieters wrote: > > > > > > It's not more. But it still is. Even though images aren't required > > > to load at all, you still recently changed the way they load to be

Re: [whatwg] Readiness of script-created documents

2012-06-15 Thread Henri Sivonen
On Tue, Jun 12, 2012 at 1:46 AM, Ian Hickson wrote: > When a document is aborted the state is more or less left exactly as it > was when it was aborted. This includes the readiness state. It also means > no events fire (e.g. no 'load', 'unload', or 'error' events), a number of > scripts just get a

Re: [whatwg] implementation feedback

2012-06-15 Thread Simon Pieters
On Thu, 14 Jun 2012 20:32:16 +0200, Ian Hickson wrote: On Thu, 14 Jun 2012, Simon Pieters wrote: It's not more. But it still is. Even though images aren't required to load at all, you still recently changed the way they load to be compatible (http://html5.org/r/7128 ). We should also specify