Various contentanalysis browser tests failing in Enterprise
Categories
(Enterprise Products :: Firefox, defect)
Tracking
(Not tracked)
People
(Reporter: jmendez, Assigned: jmendez)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
Changes made for Bug 2058222 triggered failures in various content analysis browser tests.
The trigger is primarily because the central entry point to analysis requests now early-returns if content analysis is "disabled". Being enabled in that context means that content analysis has to have been enabled by policy or via a test-specific CLI arg (to avoid someone turning on content analysis simply by flipping prefs). These tests only flipped the prefs which was enough for the mock content analysis setup before but now triggers the early-return path.
A separate trigger that affects the print tests is that the CA tests for printing use PrintHelper.withTestPage, which has leftover bare popPrefEnv calls (Bug 2067888). These pops would clear the enabling of content analysis in the middle of the test and combined with the early-return path, that triggered test failures.
Comment 1•2 months ago
|
||
Comment 2•2 months ago
|
||
Authored by https://github.com/jonathanmendez
https://github.com/mozilla/enterprise-firefox/commit/1bc9201bbc8d4a4d1e77dea6f4a4be3b78b6eb46
[enterprise-main] Bug 2067909 - Fix test environment for content analysis browser tests.
Authored by https://github.com/jonathanmendez
https://github.com/mozilla/enterprise-firefox/commit/c9d44e885d09fb584b141a426813b777fe5a1872
[enterprise-main] Merge pull request #1369 from jonathanmendez/fix-dlp-tests
Updated•2 months ago
|
Description
•