chore: Consolidate SearchEngines policy into single page#142
Open
bsmth wants to merge 2 commits intomozilla:mainfrom
Open
chore: Consolidate SearchEngines policy into single page#142bsmth wants to merge 2 commits intomozilla:mainfrom
bsmth wants to merge 2 commits intomozilla:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Testing with the following example:
{ "policies": { "SearchEngines": { "Add": [ { "Name": "Example1", "URLTemplate": "https://www.example.org/q={searchTerms}", "Method": "GET", "IconURL": "https://www.example.org/favicon.ico", "Alias": "example", "Description": "Description", "PostData": "name=value&q={searchTerms}", "SuggestURLTemplate": "https://www.example.org/suggestions/q={searchTerms}" } ], "Default": "Perplexity", "PreventInstalls": true, "Remove": ["Ecosia"] } } }Although noting
PreventInstallsdoesn't seem to be applying either on its own or as part of a larger example like this. Should confirm expectations about this one or if we need a bug to track it.Motivation:
We currently have four pages for the SearchEngines policy, although it appears the options are not mutually exclusive.
Related issues and pull requests:
Exists from initial import based on https://mozilla.github.io/policy-templates/
Note: we could also do the same for
CertificatesandSanitizeOnShutdown.