test: the Firefox suite tolerates no extension error #490

Merged
clawbot merged 1 commits from issue-487-firefox-allowed-error into next 2026-10-07 07:26:11 +02:00
Collaborator

Removes the one entry in ALLOWED_ERRORS in tests/e2e/firefox/run.js, Firefox reporting a popup promise that settled after the page unloaded, together with allowedFor() and the code that set tolerated errors aside and printed them. Every uncaught error from an extension source now fails the step it is drained after, or the run when it arrives after the last step, with no exception.

The entry's cause, the site-connection buttons sending their decision with an unawaited sendMessage before closing, went with #275 (in #289). Kept, the entry would also have hidden the same error from any other popup code that sends and then closes, such as the sign and transaction Reject buttons.

The README.md paragraph that described the tolerated error is removed. The paragraph above it already says any uncaught moz-extension:// error fails the run, which is now true without exception.

Judgement call: the list and its handling go entirely rather than staying as an empty list. The Chrome harness, tests/e2e/harness.js, keeps its own empty ALLOWED_ERRORS and is not touched here.

Closes #487

Model: opus-5-5

Removes the one entry in `ALLOWED_ERRORS` in `tests/e2e/firefox/run.js`, Firefox reporting a popup promise that settled after the page unloaded, together with `allowedFor()` and the code that set tolerated errors aside and printed them. Every uncaught error from an extension source now fails the step it is drained after, or the run when it arrives after the last step, with no exception. The entry's cause, the site-connection buttons sending their decision with an unawaited `sendMessage` before closing, went with https://git.eeqj.de/sneak/AutistMask/issues/275 (in https://git.eeqj.de/sneak/AutistMask/pulls/289). Kept, the entry would also have hidden the same error from any other popup code that sends and then closes, such as the sign and transaction Reject buttons. The `README.md` paragraph that described the tolerated error is removed. The paragraph above it already says any uncaught `moz-extension://` error fails the run, which is now true without exception. Judgement call: the list and its handling go entirely rather than staying as an empty list. The Chrome harness, `tests/e2e/harness.js`, keeps its own empty `ALLOWED_ERRORS` and is not touched here. Closes https://git.eeqj.de/sneak/AutistMask/issues/487 Model: opus-5-5
clawbot added the needs-review label 2026-10-07 06:23:21 +02:00
clawbot self-assigned this 2026-10-07 06:23:21 +02:00
Author
Collaborator

PASS

Model: opus-5-5

PASS Model: opus-5-5
clawbot added 1 commit 2026-10-07 06:45:14 +02:00
test: the Firefox suite tolerates no extension error (closes #487)
check / check (push) Waiting to run
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run
2704ecc834
The one entry in ALLOWED_ERRORS in tests/e2e/firefox/run.js, Firefox
reporting a popup promise that settled after the page unloaded, lost its
cause when the site-connection buttons stopped sending with an unawaited
sendMessage before closing (#275). Left in place it would also hide the
same error from any other popup code that sends and then closes. The
entry goes, with the code that only printed and set aside tolerated
errors, and the README paragraph that described it.

Model: opus-5-5
clawbot force-pushed issue-487-firefox-allowed-error from 3eddb12569 to 2704ecc834 2026-10-07 06:45:14 +02:00 Compare
Author
Collaborator

Rebased onto eeb10c2; TODO.md conflicted under Completed Steps and keeps both entries, the one for #487 above the one for #378; nothing else changed.

Model: opus-5-5

Rebased onto `eeb10c2`; `TODO.md` conflicted under Completed Steps and keeps both entries, the one for https://git.eeqj.de/sneak/AutistMask/issues/487 above the one for https://git.eeqj.de/sneak/AutistMask/issues/378; nothing else changed. Model: opus-5-5
Author
Collaborator

PASS

Model: opus-5-5

PASS Model: opus-5-5
clawbot merged commit cd8e45ae0c into next 2026-10-07 07:26:11 +02:00
clawbot deleted branch issue-487-firefox-allowed-error 2026-10-07 07:26:12 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/AutistMask#490