Closed Bug 1736684 Opened 2 months ago Closed 1 month ago

Add test coverage for addons-search-detection

Categories

(WebExtensions :: General, task, P3)

task

Tracking

(firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: willdurand, Assigned: willdurand)

References

(Regressed 2 open bugs)

Details

(Whiteboard: [addons-jira])

Attachments

(2 files)

We should write automated tests to cover the common scenarios supported in addons-search-detection.

This patch adds a new test file containing a test case to cover the main client side scenario.

Attachment #9246888 - Attachment description: WIP: Bug 1736684 - Part 1: Add test coverage for the search-detection built-in add-on (client side). r?rpl → Bug 1736684 - Part 1: Add test coverage for the search-detection built-in add-on (client side). r?rpl
  • test_redirect_{direct,one_hop,two_hops} correspond to SSR #1
  • test_no_event_when_search_engine_not_used corresponds to SSR #2
  • test_redirect_chain_does_not_start_on_first_request corresponds to SSR #3
  • test_two_extensions_reported corresponds to SSR #4

Depends on D129050

Keywords: leave-open
Pushed by wdurand@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/226ea4af4493
Part 1: Add test coverage for the search-detection built-in add-on (client side). r=rpl
Keywords: leave-open
Pushed by wdurand@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f8e03202048b
Part 2: Add test coverage for the search-detection built-in add-on (server side). r=rpl
Severity: -- → S2
Severity: S2 → N/A
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Regressions: 1738092
Regressions: 1738343
You need to log in before you can comment on or make changes to this bug.