Repository navigation
Allow Firefox privacy notice in departure startup test - #3825
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Firefox departure test now accepts the browser's intermittent loopback bounce-tracker notice while still requiring the aborted module-load warning and rejecting other console problems. The failed main run reached the intended startup and log assertions, then failed because that additional privacy notice was present in the collected console findings.
The test continues to protect the behavior introduced by #3280: a departing page does not report its aborted widget load as a startup fault or log error. This changes only the test's classification of a browser-generated notice; the page runtime and its error handling are unchanged.
Verified with
uv run pytest -q -n0 tests/browser/startup/test_readiness.py::test_a_firefox_departure_reports_none_of_the_loads_it_aborts(passed). The main run's diagnostic supplies the warning-present case; the local focused run exercised the warning-absent case.