If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Make slow-script dialog less prone to re-enter page

NEW
Unassigned

Status

()

Core
DOM
6 years ago
6 years ago

People

(Reporter: sicking, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Currently when we put up the slow-script dialog I don't think we make any effort at all at not re-entering the page in the form of timers, network events and UI events.

This breaks the JS run-to-completion model, and likely lots of pages (most that trigger the slow-script dialog?)

For sync XHR we have code that attempts to disable various callbacks into the page while we spin the event loop for the XHR. We should try to leverage that code.
OS: Mac OS X → All
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.