Closed
Bug 1132555
Opened 11 years ago
Closed 10 years ago
Make sure WorkerFeature::Suspend() and ::Resume() are called properly
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
DUPLICATE
of bug 1235629
People
(Reporter: bkelly, Unassigned)
Details
Currently WorkerFeature defines virtual methods Suspend() and Resume(). These methods are never called and therefore have no defined behavior.
We should just remove these for now to avoid confusing people. If workers actually grows the capability to call them, then they can be added back.
I'd actually rather we fix this so that we do call Suspend/Resume on them... I'd love to pause network loads and maybe other big IPC stuff.
Summary: remove WorkerFeature::Suspend() and ::Resume() → Make sure WorkerFeature::Suspend() and ::Resume() are called properly
Reporter | ||
Comment 2•11 years ago
|
||
Removing them for now and restoring them later is trivial. Implementing what you are talking about is probably non-trivial. (I assume since its not already done.)
Seems a little weird to me to leave cruft in the tree while waiting for someone to implement a non-trivial feature. Until its implemented these methods are meaningless and just serve to confuse people.
Just my opinion.
Reporter | ||
Comment 3•10 years ago
|
||
My original suggestion was implemented over in bug 1235629.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•