Closed Bug 1562657 Opened 5 years ago Closed 7 months ago

Implement discovery of search extensions

Categories

(Firefox :: Search, enhancement, P3)

68 Branch
enhancement
Points:
5

Tracking

()

RESOLVED INVALID
Iteration:
75.2 - Feb 24 - Mar 8

People

(Reporter: daleharvey, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-needed)

Attachments

(3 obsolete files)

Allow users to add new one off search engines by pointing to a web extension in a mechanism much in the same way they can currently do with opensearch

https://developer.mozilla.org/en-US/docs/Web/OpenSearch#Autodiscovery_of_search_plugins

<link rel="search"
type="application/x-xpinstall"
title="searchTitle"
href="extensionURL">

Priority: -- → P3
Assignee: nobody → dharvey
Group: mozilla-employee-confidential
Status: NEW → ASSIGNED
Attachment #9089861 - Attachment description: Bug 1562657 - Add support for experiments in modernConfig → Bug 1572030 - Add support for experiments in modernConfig

Comment on attachment 9089861 [details]
Bug 1572030 - Add support for experiments in modernConfig

Revision D44376 was moved to bug 1572030. Setting attachment 9089861 [details] to obsolete.

Attachment #9089861 - Attachment is obsolete: true
Assignee: dharvey → nobody
Status: ASSIGNED → NEW
Assignee: nobody → mdeboer
Iteration: --- → 72.1 - Oct 21 - Nov 3
Status: NEW → ASSIGNED
Iteration: 72.1 - Oct 21 - Nov 3 → 72.2 - Nov 4 - 17

See tooManyEnginesOffered.html for an example link element syntax. This is the
same feature as we currently support for OpenSearch plugins; to allow a website
to promote and expose their search engine to be installed by the user.
I'm using the installAddonFromWebpage API, because we want the same
restrictions to be in place as regular WebExtensions. Therefore, when you
attempt to install a locally hosted XPI, the download will fill and a doorhanger
will tell you it did.
For now the WebExtension engines will be mixed together with the OpenSearch ones,
but in the future this may be different.
Note that I'm using the 'application/x-xpinstall' mime-type here, but this can
be changed to a new 'application/x-webext[ension]' one, if that would allow for
better interoperability with other browsers. Yes, this would be a
pseudo-mime-type.

Points: --- → 5
Attachment #9108674 - Attachment description: Bug 1562657 - Implement discovery of search engine WebExtensions by adding support for the appropriate <link> tag. r?Standard8,rhelmer! → Bug 1562657 - Implement discovery of search engine WebExtensions by adding support for the appropriate <link> tag. r?Standard8!,rhelmer!

(In reply to Mike de Boer [:mikedeboer] from comment #4)

Created attachment 9108674 [details]
Bug 1562657 - Implement discovery of search engine WebExtensions by adding support for the appropriate <link> tag. r?Standard8!,rhelmer!

For now the WebExtension engines will be mixed together with the OpenSearch ones,
but in the future this may be different.

What does that mean?

(In reply to Shane Caraveo (:mixedpuppy) from comment #5)

What does that mean?

I think I answered my own question.

Iteration: 72.2 - Nov 4 - 17 → 72.3 - Nov 18 - Dec 1
Attachment #9108674 - Attachment description: Bug 1562657 - Implement discovery of search engine WebExtensions by adding support for the appropriate <link> tag. r?Standard8!,rhelmer! → Bug 1562657 - Implement discovery of search engine WebExtensions by adding support for the appropriate <link> tag. r?Standard8!,mixedpuppy!
Attachment #9113182 - Attachment description: Bug 1562657 - Add unit test coverage for WebExtemsion search engine discovery. r?Standard8! → Bug 1562657 - Add unit test coverage for WebExtension search engine discovery. r?Standard8!
Assignee: mdeboer → dharvey
Iteration: 72.3 - Nov 18 - Dec 1 → 75.2 - Feb 24 - Mar 8
Blocks: 1617910
No longer blocks: search-optimization
Attachment #9113182 - Attachment is obsolete: true
Attachment #9108674 - Attachment is obsolete: true
Assignee: dharvey → nobody
Status: ASSIGNED → NEW
Severity: normal normal → S3 S3

This was a consideration when we were considering removing opensearch, less so now

Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: