Host permission: a refused request leaves the capture waiting with no explanation #28

Closed
opened 2026-10-04 15:26:04 +00:00 by tiagoagueda · 0 comments
Owner

Left over from #22, whose fix (postulo-chromium 31b5410) asks for the host permission from the click itself and keeps the capture meanwhile.

  • No sentence for a refused request. When the person refuses the permission prompt, the capture simply stays waiting and the outbox retries once the permission exists. Nothing tells them why it was not sent. Add a translated sentence in the popup and on the captures page (new message, filled in every language folder, test/i18n.test.mjs).
  • Not tested directly. The popup's two Send handlers are not covered by a unit test; only the ordering in the shared helper is.
  • Not checked by hand. The manual check on Firefox 140 was not done: withdraw the instance's origin, press Send, see the prompt, refuse it, and confirm the capture is listed as waiting.

Done when

  • Refusing the prompt shows a translated sentence in the popup and on the captures page.
  • A test covers the popup handlers' refused path.
  • The Firefox 140 check is done and noted on this issue.
Left over from #22, whose fix (postulo-chromium `31b5410`) asks for the host permission from the click itself and keeps the capture meanwhile. - **No sentence for a refused request.** When the person refuses the permission prompt, the capture simply stays `waiting` and the outbox retries once the permission exists. Nothing tells them why it was not sent. Add a translated sentence in the popup and on the captures page (new message, filled in every language folder, `test/i18n.test.mjs`). - **Not tested directly.** The popup's two Send handlers are not covered by a unit test; only the ordering in the shared helper is. - **Not checked by hand.** The manual check on Firefox 140 was not done: withdraw the instance's origin, press Send, see the prompt, refuse it, and confirm the capture is listed as waiting. ## Done when - Refusing the prompt shows a translated sentence in the popup and on the captures page. - A test covers the popup handlers' refused path. - The Firefox 140 check is done and noted on this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo-chromium#28
No description provided.