Closed
Bug 932406
Opened 11 years ago
Closed 9 years ago
Shumway: need the ability to enforce maximum JS execution time in a worker
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: till, Unassigned)
References
Details
The Flash Player has configurable values for maximum event turn duration and stack depth. To support the maximum duration in a worker, we need some way to unwind a stack in the worker without terminating it completely. Doing the latter would kill all player instances running in that worker - not ideal.
We apparently already have all the infrastructure in place for this, but need to expose it to script in some way.
My proposal would be a new worker callback `ontimeout` that gets called after the timed-out event turn got stopped and the stack was unwound. Whether that happens on the main thread or in the worker is secondary for our needs.
We can obviously do this just in the special Shumway worker we need for bug 930908. I wonder if having this in web workers in general wouldn't be useful, though.
Reporter | ||
Updated•11 years ago
|
Assignee: general → nobody
Updated•11 years ago
|
Whiteboard: [Shumway] → [Shumway:P1]
Updated•11 years ago
|
Whiteboard: [Shumway:P1] → [shumway:m2]
Comment 1•10 years ago
|
||
Till: is this bug still relevant now that ShumwayWorkers have been WONTFIX'd?
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(till)
You need to log in
before you can comment on or make changes to this bug.
Description
•