Closed Bug 761225 Opened 14 years ago Closed 13 years ago

Unresponsive Script Warning at resource://gre/modules/ConsoleAPIStorage.jsm:123

Categories

(DevTools :: Console, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jaws, Unassigned)

Details

I got this warning when waking my laptop from sleep. Firefox was hanging for about 1-2 minutes with "Not Responding" in the title bar before this dialog showed. > A script on this page may be busy, or it may have stopped responding. You can > stop the script now, or you can continue to see if the script will complete. > Script: resource://gre/modules/ConsoleAPIStorage.jsm:123 Line 123 is: > Services.obs.notifyObservers(aEvent, "console-storage-cache-event", ID);
Thanks for your bug report! I have a few questions to help me assess the situation. Did you have any open web page that heavily used the window.console API? Or an extension? Did you have an extension or some other code that listens for the console-storage-cache-event notification? That part of the code should be instant - we don't have any observers for that event, as far as I know. It is also beyond our reach how much that notifyObservers() call takes. Which version/build of Firefox did you use at that time? Thanks!
Component: Developer Tools → Developer Tools: Console
QA Contact: developer.tools → developer.tools.console
I'm not sure if I had any webpages that were open that heavily use console.API. These are the extensions I have installed: Add-on Builder Helper 1.4, Bugzilla Tweaks 1.12, Cheevos 1.3, Force RTL 2.1, Mass Password Reset 1.05, PDF Viewer 0.3.349, and Restartless Restart 8. I hit this on UX Nightly 2012-06-01.
Did you have the Web Console open at that time? At this point I suspect there was another problem in Firefox that caused notifyObservers() to be very slow - not the culprit of the ConsoleAPIStorage.jsm script itself. We haven't recently touched that code.
I might have had it open as I do use it frequently. I agree that this seems odd. Maybe someone else will hit this with a better steps to reproduce.
If you had the Web Console open and it would be a problem in that case, I'd expect the lockup to happen somewhere else, in some other parts of the code. Odd indeed.
Jared: how current is UX nightly? Did they get all of the recent changes from the async console bug? (bug 673148)
(In reply to Rob Campbell [:rc] (:robcee) from comment #6) > Jared: how current is UX nightly? Did they get all of the recent changes > from the async console bug? > > (bug 673148) I did check that. Jared said he had the nightly from 2012-06-01 which means he *might* have had that. Still, the slow script warning he got *seems* to be unrelated to Web Console async changes - we do not have any observer for the "console-storage-cache-event" notification.
UX Nightly trails mozilla-central by roughly one day, so it is likely that I didn't have those patches.
Is this still an open issue?
Flags: needinfo?(jaws)
I haven't seen this issue since. Thanks for following up!
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: needinfo?(jaws)
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.