On Sat, Oct 19, 2013 at 2:26 AM, Jonas Sicking jo...@sicking.cc wrote:
What I think might work is to say that as long as a channeldropped
event listener is registered with a port, that is equivalent to
holding a strong reference to the port. I.e. that prevents the channel
from being GCed.
On Sun, Oct 20, 2013 at 11:53 PM, Robert O'Callahan rob...@ocallahan.orgwrote:
Glenn, taking a step back for a bit, is there anything in
https://wiki.mozilla.org/User:Roc/WorkerCanvasProposal that you would
actually object to? IOW, is there anything there that you would think is
completely
On Sun, Oct 20, 2013 at 11:16 PM, Robert O'Callahan
rob...@ocallahan.orgwrote:
With all these proposals I think it's OK to allow the main thread to do
(e.g.) a toDataURL and read what the current contents of the canvas is,
We can defer this discussion, since it's not something new to this
On Mon, Oct 21, 2013 at 3:39 PM, Glenn Maynard gl...@zewt.org wrote:
On Sun, Oct 20, 2013 at 11:16 PM, Robert O'Callahan rob...@ocallahan.org
wrote:
With all these proposals I think it's OK to allow the main thread to do
(e.g.) a toDataURL and read what the current contents of the canvas is,
On Mon, Oct 21, 2013 at 6:08 PM, Kenneth Russell k...@google.com wrote:
Using ImageBitmap for this has a lot of issues. It requires
synchronizing
with scripts in the UI thread.
This isn't difficult, and amounts to a few additional lines of code in
the main thread's onmessage handler.
On Fri, Oct 18, 2013 at 8:26 PM, Jonas Sicking jo...@sicking.cc wrote:
On Thu, Oct 17, 2013 at 2:08 PM, Ehsan Akhgari eh...@mozilla.com wrote:
It occurs to me that all of the proposals here does expose some amount
of GC behavior. Even a channeldropped message which is sent only
when the
On Mon, Oct 21, 2013 at 3:19 AM, Andrew Wilson atwil...@google.com wrote:
On Sat, Oct 19, 2013 at 2:26 AM, Jonas Sicking jo...@sicking.cc wrote:
What I think might work is to say that as long as a channeldropped
event listener is registered with a port, that is equivalent to
holding a
On Mon, Oct 21, 2013 at 4:34 PM, Glenn Maynard gl...@zewt.org wrote:
On Mon, Oct 21, 2013 at 6:08 PM, Kenneth Russell k...@google.com wrote:
Using ImageBitmap for this has a lot of issues. It requires
synchronizing
with scripts in the UI thread.
This isn't difficult, and amounts to a