Open
Bug 1672748
Opened 4 years ago
Updated 4 years ago
AboutHomeStartupCacheChild should alert the parent if the worker was terminated while generating the cache
Categories
(Firefox :: New Tab Page, task, P3)
Firefox
New Tab Page
Tracking
()
NEW
People
(Reporter: mconley, Unassigned)
References
(Blocks 1 open bug)
Details
In bug 1647757, I made it so that the cache worker can be terminated during memory-pressure. This is good.
However, I may have opened us up for a problem here. If the worker terminates while it's still in the process of generating the cache document, we'll reject here:
which will be caught by that finally
, and then I believe page
and script
will be undefined. Then we'll end up constructing two empty streams to send up to the parent as cache data.
Instead, I think we should tell the parent that constructing the cache failed, and that we should try again later.
Updated•4 years ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•