Panorama uses the synchronous cache API, which may block the main thread on disk I/O

RESOLVED FIXED

Status

Firefox Graveyard
Panorama
RESOLVED FIXED
6 years ago
a year ago

People

(Reporter: briansmith, Assigned: ttaubert)

Tracking

({main-thread-io})

Details

+++ This bug was initially created as a clone of Bug #737642 +++

Panorama (browser/components/tabview/thumbnailStorage.js) makes use of nsICacheService::OpenCacheEntry, which may block on disk I/O. nsICacheService::AsyncOpenCacheEntry should be used exclusively.

(We, the Necko team, would like to remove the nsICacheService::OpenCacheEntry method sometime soon.)
Assignee: nobody → raymond
Status: NEW → ASSIGNED
Status: ASSIGNED → NEW
Depends on: 745303
Will be fixed by 745303.
Assignee: raymond → ttaubert
Status: NEW → ASSIGNED
Does that mean that Panorama will not use the cache API at all?
Yes. Though the thumbnail service currently still uses it. But we're fixing that, too.
Fixed by bug 745303. Panorama doesn't use the cache API anymore. The thumbnail service still uses it asynchronously but we're moving away from the file cache in bug 744388.
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.