mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 05:54:12 +01:00
Open the cache as readonly when retrieving a page size for :pageinfo.
This commit is contained in:
@@ -2667,7 +2667,7 @@ Buffer.addPageInfoSection("g", "General Info", function (verbose) {
|
||||
let pageSize = []; // [0] bytes; [1] kbytes
|
||||
|
||||
storage.asyncOpenURI(util.createURI(doc.documentURI), "",
|
||||
Ci.nsICacheStorage.OPEN_NORMALLY,
|
||||
Ci.nsICacheStorage.OPEN_READONLY,
|
||||
{
|
||||
onCacheEntryCheck: () => Ci.nsICacheEntryOpenCallback.ENTRY_WANTED,
|
||||
onCacheEntryAvailable: entry => {
|
||||
|
||||
Reference in New Issue
Block a user