Open Bug 1796008 Opened 2 years ago Updated 2 years ago

SearchService.canRedirect for webRequest redirect handling

Categories

(Firefox :: Search, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: mixedpuppy, Unassigned)

Details

In a chat with Mike about search service and the search expirement we did last year, it is apparent that there may be a simple approach for deciding whether to allow a redirect of a search request. If we had a single call we could make to know if the search service wanted to prevent a redirect we could easily integrate that. It could look something like `bool SearchService.canRedirect(origUrl, targetUrl). This could validate that the origins and codes we care about are handled in a way that fits with search policy.

I think canRedirect would need to hook into SearchService's IgnoreLists. If so, I think it makes sense for this to be in search service.

Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.