Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit df62174

Browse files
committed
Bug 1953485 - Remove plugins quickaction. r=daisuke,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D243024
1 parent 12536fb commit df62174

File tree

5 files changed

+2
-44
lines changed

5 files changed

+2
-44
lines changed

browser/components/urlbar/QuickActionsLoaderDefault.sys.mjs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,6 @@ const DEFAULT_ACTIONS = {
154154
label: "quickactions-logins2",
155155
onPick: openUrlFun("about:logins"),
156156
},
157-
plugins: {
158-
l10nCommands: ["quickactions-cmd-plugins"],
159-
icon: "chrome://mozapps/skin/extensions/category-extensions.svg",
160-
label: "quickactions-plugins",
161-
onPick: openAddonsUrl("addons://list/plugin"),
162-
},
163157
print: {
164158
l10nCommands: ["quickactions-cmd-print"],
165159
label: "quickactions-print2",

browser/components/urlbar/metrics.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ urlbar:
154154
description: >
155155
Comma separated list of actions keys in the order they were shown to
156156
the user. Possible keys are: `addons`, `bookmarks`, `clear`, `downloads`,
157-
`extensions`, `inspect`, `logins`, `plugins`, `print`, `private`,
157+
`extensions`, `inspect`, `logins`, `print`, `private`,
158158
`refresh`, `restart`, `savepdf`, `screenshot`, `settings`, `tabswitch`,
159159
`themes`, `update`, `viewsource`.
160160
If there is no action shown in a position that is denoted with `none`.
@@ -422,7 +422,7 @@ urlbar:
422422
description: >
423423
Comma separated list of actions keys in the order they were shown to
424424
the user. Possible keys are: `addons`, `bookmarks`, `clear`, `downloads`,
425-
`extensions`, `inspect`, `logins`, `plugins`, `print`, `private`,
425+
`extensions`, `inspect`, `logins`, `print`, `private`,
426426
`refresh`, `restart`, `savepdf`, `screenshot`, `settings`, `tabswitch`,
427427
`themes`, `update`, `viewsource`.
428428
If there is no action shown in a position that is denoted with `none`.

browser/components/urlbar/tests/browser/browser_quickactions_commands.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ let COMMANDS_TESTS = [
4141
uri: "about:addons",
4242
testFun: async () => isSelected("button[name=discover]"),
4343
},
44-
{
45-
cmd: "plugins",
46-
uri: "about:addons",
47-
testFun: async () => isSelected("button[name=plugin]"),
48-
},
4944
{
5045
cmd: "extensions",
5146
uri: "about:addons",
@@ -74,24 +69,6 @@ let COMMANDS_TESTS = [
7469
loadType: LOAD_TYPE.NEW_TAB,
7570
testFun: async () => isSelected("button[name=discover]"),
7671
},
77-
{
78-
cmd: "plugins",
79-
setup: async () => {
80-
const onLoad = BrowserTestUtils.browserLoaded(
81-
gBrowser.selectedBrowser,
82-
false,
83-
"https://example.com/"
84-
);
85-
BrowserTestUtils.startLoadingURIString(
86-
gBrowser.selectedBrowser,
87-
"https://example.com/"
88-
);
89-
await onLoad;
90-
},
91-
uri: "about:addons",
92-
loadType: LOAD_TYPE.NEW_TAB,
93-
testFun: async () => isSelected("button[name=plugin]"),
94-
},
9572
{
9673
cmd: "extensions",
9774
setup: async () => {

browser/components/urlbar/tests/browser/browser_quickactions_tab_refocus.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ add_task(async function test_about_pages() {
5050
uri: "about:addons",
5151
component: "button[name=extension]",
5252
},
53-
{
54-
firstInput: "plugins",
55-
uri: "about:addons",
56-
component: "button[name=plugin]",
57-
},
5853
{
5954
firstInput: "themes",
6055
uri: "about:addons",
@@ -136,10 +131,6 @@ add_task(async function test_about_addons_pages() {
136131
cmd: "add-ons",
137132
testFun: async () => isSelected("button[name=discover]"),
138133
},
139-
{
140-
cmd: "plugins",
141-
testFun: async () => isSelected("button[name=plugin]"),
142-
},
143134
{
144135
cmd: "extensions",
145136
testFun: async () => isSelected("button[name=extension]"),

browser/locales/en-US/browser/browser.ftl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,6 @@ quickactions-cmd-inspector = inspector, devtools
320320
quickactions-logins2 = Manage passwords
321321
quickactions-cmd-logins = logins, passwords
322322
323-
# Opens about:addons page in the plugins section
324-
quickactions-plugins = Manage plugins
325-
quickactions-cmd-plugins = plugins
326-
327323
# Opens the print dialog
328324
quickactions-print2 = Print page
329325
quickactions-cmd-print = print

0 commit comments

Comments
 (0)