3b1c4dc56a2f
re-check passkeyToastActive after each async await in handleFieldInteraction (v2.40.4)
- time
- 2026-05-13 17:07 UTC · 5 months ago
- machine
- koh2
- parent
- ef55560ab731
↓ peach-browser-3b1c4dc5.tar.gzatlas at this save
files changed4 files
manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/content/index.ts+5 −0manifest.firefox.json+1 −1
@@ -1,7 +1,7 @@11 {22 "manifest_version": 3,33 "name": "Peach",4- "version": "2.40.3",4+ "version": "2.40.4",55 "description": "Zero-knowledge password manager",66 "browser_specific_settings": {77 "gecko": {manifest.json+1 −1
@@ -1,7 +1,7 @@11 {22 "manifest_version": 3,33 "name": "Peach",4- "version": "2.40.3",4+ "version": "2.40.4",55 "description": "Zero-knowledge password manager",66 "action": {77 "default_popup": "src/popup/index.html",package.json+1 −1
@@ -1,6 +1,6 @@11 {22 "name": "peach",3- "version": "2.40.3",3+ "version": "2.40.4",44 "description": "Zero-knowledge password manager",55 "type": "module",66 "scripts": {src/content/index.ts+5 −0
@@ -531,6 +531,8 @@531531 });532532 });533533 534+ if (passkeyToastActive) return;535+534536 if (fieldType !== "password" && mlPrediction && mlPrediction.type !== "username" && mlPrediction.type !== "email") {535537 return;536538 }@@ -549,6 +551,7 @@549551 550552 const domain = getPageDomain();551553 const firstResult = await fetchAutofillEntries(domain);554+ if (passkeyToastActive) return;552555 553556 // Vault is locked — show an inline unlock prompt.554557 // Re-triggering after unlock is handled by the VAULT_UNLOCKED message so@@ -569,6 +572,8 @@569572 const allEntries = entries.length === 0570573 ? (await fetchAutofillEntries(domain, true)).entries571574 : entries;575+576+ if (passkeyToastActive) return;572577 573578 let usernameEl: HTMLInputElement | null = null;574579 const userField = fields.find((f) => f.type === "username" || f.type === "email");