Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

attempt to run compile-and-go script on a cleared scope

1,537 views
Skip to first unread message

johnjbarton

unread,
Mar 14, 2011, 2:45:13 PM3/14/11
to
FF4.0 seems to have a new kind of error message:

Error: attempt to run compile-and-go script on a cleared scope
Source File: chrome://browser/content/aboutSessionRestore.js
Line: 279

A bit more detail would help, since from the developers perspective they
probably did not compile-and-go nor clear a scope. I guess that this
error really means: you created an event handler and attached it, then
one of the scopes of the handler was destroyed?

jjb

Boris Zbarsky

unread,
Mar 14, 2011, 2:47:40 PM3/14/11
to
On 3/14/11 2:45 PM, johnjbarton wrote:
> FF4.0 seems to have a new kind of error message:
>
> Error: attempt to run compile-and-go script on a cleared scope
> Source File: chrome://browser/content/aboutSessionRestore.js
> Line: 279

This basically means that you're running script on a closed window....

It's a little disturbing that it comes up with session restore.

Completely eliminating the JS_ClearScope from existence is high on the
priority list, so this message will stop happening soon because the
situation will no longer occur.

-Boris

Paul O’Shannessy

unread,
Mar 14, 2011, 3:07:31 PM3/14/11
to johnjbarton, dev-pl...@lists.mozilla.org
On Mon, Mar 14, 2011 at 11:45 AM, johnjbarton
<johnj...@johnjbarton.com> wrote:
> FF4.0 seems to have a new kind of error message:
>
> Error: attempt to run compile-and-go script on a cleared scope
> Source File: chrome://browser/content/aboutSessionRestore.js
> Line: 279

FWIW, I don't think it's anything to worry about. That shows up a lot
when it's not supposed to and about:sessionrestore has been mentioned
before. See https://bugzilla.mozilla.org/show_bug.cgi?id=635548

-- Paul

Lothar

unread,
Apr 28, 2011, 4:42:09 PM4/28/11
to

Sometimes some adsense ads were not shown in Firefox 4.0: Error:


attempt to run compile-and-go script on a cleared scope

Quelldatei: http://pagead2.googlesyndication.com/pagead/show_ads.js"

chicken

unread,
May 25, 2011, 5:31:15 AM5/25/11
to
If it helps at all I'm getting this on a simple looped bit of JS/
JQuery in the Firebug console and it seems to only happen twice in a
row, and when the loop runs and the tab is not the active tab.

Also it doesn't mention SessionRestore, it has the following line:

if(!
window.skipDomainLower&&navigator&...lement.className.replace('no_js','');

Jan Honza Odvarko

unread,
May 26, 2011, 9:33:35 AM5/26/11
to
On May 25, 11:31 am, chicken <dave.g.b...@googlemail.com> wrote:
> If it helps at all I'm getting this on a simple looped bit of JS/
> JQuery in the Firebug console and it seems to only happen twice in a
> row, and when the loop runs and the tab is not the active tab.
Does this happen with Firebug 1.8a3?
http://getfirebug.com/releases/firebug/1.8/firebug-1.8.0a3.xpi
Honza
0 new messages