function checkStorage() {
let principal = getPrincipal(principalInfo.url, principalInfo.attrs);
let storage = getLocalStorage(principal); try {
storage.open();
ok(true, "Did not throw");
} catch (ex) {
ok(false, "Should not have thrown");
}
}
// The profile contains storage.sqlite and storage/ls-archive.sqlite // storage/ls-archive.sqlite was taken from FF 54 to force an upgrade. // There's just one record in the webappsstore2 table. The record was // modified by renaming the origin attribute userContextId to userContextKey. // This triggers an error during the upgrade.
installPackage("archive_profile");
let fileSize = archiveFile.fileSize; Assert.greater(fileSize, 0, "archive file size is greater than zero");
checkStorage();
});
Messung V0.5
¤ Dauer der Verarbeitung: 0.26 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.