Open Bug 1796154 Opened 3 years ago Updated 2 years ago

Add a test for in-memory policy engines, if the engine is removed we show a notification box to the user

Categories

(Firefox :: Search, task, P3)

task

Tracking

()

People

(Reporter: mcheang, Assigned: mcheang)

References

Details

(Whiteboard: [snt-scrubbed][search-testing])

After Mark finished his patches to make policy engines load on start up and be in-memory engines (see Bug 445134), there was a failure we didn't detect due to the code in SearchService#shouldDisplayRemovalOfEngineNotificaitonBox. All the tests were passing on TRY, however, https://searchfox.org/mozilla-central/source/toolkit/components/search/tests/xpcshell/test_remove_engine_notification_box.js should be updated to test for policy engines.

The regression: https://bugzilla.mozilla.org/show_bug.cgi?id=1796029
The patch that fixed the regression: https://phabricator.services.mozilla.com/D159670

Whiteboard: [snt-scrubbed][search-testing]
You need to log in before you can comment on or make changes to this bug.