mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1683762 - Remove the Title search shortcut from the Touch Bar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D100276
This commit is contained in:
parent
5ccd8dacb5
commit
21cd9ed842
@ -207,14 +207,6 @@ var gBuiltInInputs = {
|
||||
UrlbarTokenizer.RESTRICT.TAG
|
||||
),
|
||||
},
|
||||
Titles: {
|
||||
title: "search-titles",
|
||||
type: kInputTypes.BUTTON,
|
||||
callback: () =>
|
||||
gTouchBarHelper.insertRestrictionInUrlbar(
|
||||
UrlbarTokenizer.RESTRICT.TITLE
|
||||
),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -80,10 +80,6 @@ add_task(async function insertTokens() {
|
||||
input: "mozilla",
|
||||
token: UrlbarTokenizer.RESTRICT.OPENPAGE,
|
||||
},
|
||||
{
|
||||
input: "mozilla",
|
||||
token: UrlbarTokenizer.RESTRICT.TITLE,
|
||||
},
|
||||
];
|
||||
for (let test of tests) {
|
||||
await searchAndCheckState(test);
|
||||
|
Loading…
Reference in New Issue
Block a user