fall back, don't do both on FF
This commit is contained in:
@@ -118,9 +118,7 @@ export default async function sendBugReport(bugReportEndpoint, opts) {
|
||||
try {
|
||||
body.append("storageManager_persisted", await navigator.storage.persisted());
|
||||
} catch (e) {}
|
||||
}
|
||||
// Safari
|
||||
if (document.hasStorageAccess) {
|
||||
} else if (document.hasStorageAccess) { // Safari
|
||||
try {
|
||||
body.append("storageManager_persisted", await document.hasStorageAccess());
|
||||
} catch (e) {}
|
||||
|
||||
Reference in New Issue
Block a user