Closed
Bug 1137871
Opened 10 years ago
Closed 9 years ago
Limit maximal duration of an event loop turn per Shumway instance
Categories
(Firefox Graveyard :: Shumway, defect)
Firefox Graveyard
Shumway
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: till, Unassigned)
References
Details
At least for ads, we want to be fairly ruthless about keeping SWFs from causing jank. Instead of waiting the usual 10 seconds and then showing a slow-script dialog, we can just kill the offending player instance. Because the player lives in a different compartment from the GFX part, that would keep a snapshot of the last successfully rendered frame around.
I think it would make a lot of sense to permit substantially less time under ExternalInterface calls, because those directly cause jank in the (html) content process. Perhaps limiting that to 1500ms or so would be just fine. Other script could be given more leniency, maybe even up to the default 10 seconds, but probably less.
Updated•9 years ago
|
Blocks: shumway-m5
Updated•9 years ago
|
No longer blocks: shumway-m4
Assignee | ||
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•