Improve console error checks on toolkit search tests
Categories
(Firefox :: Search, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(1 file)
For the toolkit search code, we have checks on our xpcshell-tests to ensure that there are no unexpected error messages reported to the console.
Unfortunately due to the way they are implemented (where they report errors as the tests proceed), it can cause infinite recursion, e.g. when currently running test_engine_selector_remote_settings.js
.
We should switch to checking the logs at the end of the test, and only reporting after we've finished listening to the console.
Assignee | ||
Comment 1•2 years ago
|
||
Comment 3•2 years ago
|
||
Backed out for causing xpc failures in toolkit/components/search/tests/xpcshell/test_engine_ids.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/7196cd7a42add09656a54d9fe7b68bc062ca5bff
Assignee | ||
Comment 4•2 years ago
|
||
It appears one of the errors I saw only in one test can sometimes be hit in any test. I've adapted the allow list, and filed bug 1812040 for the errors that were being added.
Comment 6•2 years ago
|
||
bugherder |
Description
•