The context is owned by the canvas element. If the canvas element is still alive then by definition so is the context.
--Oliver On Sep 4, 2012, at 12:31 PM, Jussi Kalliokoski <jussi.kallioko...@gmail.com> wrote: > Hmm... Is it visible to the page outside getContext() ? > > On Tue, Sep 4, 2012 at 10:21 PM, Boris Zbarsky <bzbar...@mit.edu> wrote: > >> On 9/4/12 3:17 PM, Jussi Kalliokoski wrote: >> >>> When all references to the context are lost (garbage collected) >>> >> >> That never happens while the canvas itself is alive, since if nothing else >> the canvas has a reference to the context. >> >> -Boris >>