Open Bug 665050 Opened 14 years ago Updated 3 years ago

Slow script dialog problematic on slow-running (heavily-loaded) machine

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

People

(Reporter: ehsan.akhgari, Unassigned)

Details

Here's my scenario. I have a Linux box which is not the fastest machine around. I'm running a background task (xpcshell-tests if it matters, although I'm sure it doesn't) and I have Firefox running idle. When I try to switch to it, I see ~10 slow script dialogs, some of them coming from chrome, others from content (I did even have one dialog coming from the js run on these dialogs itself!). The reason that the scripts are slow in this case is because the system in general has slowed down to a crawl. When this happens, these dialogs can only add frustration, because it takes a lot of time to close them all, and I often see more dialogs open up before I've managed to close all of the existing ones, which practically makes Firefox unusable until the background task has finished. Can we be a bit smarter about when we should show these dialogs?
Summary: Slow script dialog timer could use some improvements → Slow script dialog problematic on slow-running (heavily-loaded) machine
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Still an issue? Are you getting 10 simultaneous Unresponsive Scripts?
Flags: needinfo?(ehsan)
No, but if you read comment 0 carefully you will see that the bug here is the pure time based nature of our slow script dialog calculations which hasn't changed since I filed this bug.
Flags: needinfo?(ehsan)
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.