Mercurial > web-gnusto
changeset 85:7ddacb62f0e5
Fixed a bug in the error reporting mechanism raised by the black & white version of Photopia on if-archive.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Wed, 21 May 2008 16:00:46 -0700 |
parents | 0f6cf96a6aee |
children | e540ceb9b17c |
files | gnusto-engine.js |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gnusto-engine.js Wed May 21 15:20:01 2008 -0700 +++ b/gnusto-engine.js Wed May 21 16:00:46 2008 -0700 @@ -1260,7 +1260,14 @@ } } - procs = procs.caller; + try { + procs = procs.caller; + } catch (e) { + // A permission denied error may have just been raised, + // perhaps because the caller is a chrome function that we + // can't have access to. + procs = null; + } loop_count++; }