[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/tor-browser-78.6.0esr-10.5-1] fixup! Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing
- To: tor-commits@xxxxxxxxxxxxxxxxxxxx, tbb-commits@xxxxxxxxxxxxxxxxxxxx
- Subject: [tor-commits] [tor-browser/tor-browser-78.6.0esr-10.5-1] fixup! Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing
- From: gk@xxxxxxxxxxxxxx
- Date: Mon, 11 Jan 2021 17:05:35 +0000 (UTC)
- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Mon, 11 Jan 2021 12:06:01 -0500
- List-archive: <http://lists.torproject.org/pipermail/tor-commits/>
- List-help: <mailto:tor-commits-request@lists.torproject.org?subject=help>
- List-id: "auto: code repository commits" <tor-commits.lists.torproject.org>
- List-post: <mailto:tor-commits@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits>, <mailto:tor-commits-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-commits>, <mailto:tor-commits-request@lists.torproject.org?subject=unsubscribe>
- Patch-author: Alex Catarineu <acat@xxxxxxxxxxxxxx>
- Sender: "tor-commits" <tor-commits-bounces@xxxxxxxxxxxxxxxxxxxx>
commit 28ea631ca62814105ac9d7b54b006e5a8208d320
Author: Alex Catarineu <acat@xxxxxxxxxxxxxx>
Date: Wed Nov 4 21:04:52 2020 +0100
fixup! Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing
---
tbb-tests/browser_tor_omnibox.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tbb-tests/browser_tor_omnibox.js b/tbb-tests/browser_tor_omnibox.js
index e18b2a84a3d8..f3efd0c3da5e 100644
--- a/tbb-tests/browser_tor_omnibox.js
+++ b/tbb-tests/browser_tor_omnibox.js
@@ -1,14 +1,14 @@
// # Test Tor Omnibox
// Check what search engines are installed in the search box.
-function test() {
+add_task(async function() {
// Grab engine IDs.
let browserSearchService = Components.classes["@mozilla.org/browser/search-service;1"]
- .getService(Components.interfaces.nsIBrowserSearchService),
- engineIDs = browserSearchService.getEngines().map(e => e.identifier);
+ .getService(Components.interfaces.nsISearchService),
+ engineIDs = (await browserSearchService.getEngines()).map(e => e.identifier);
// Check that we have the correct engines installed, in the right order.
is(engineIDs[0], "ddg", "Default search engine is duckduckgo");
is(engineIDs[1], "youtube", "Secondary search engine is youtube");
is(engineIDs[2], "google", "Google is third search engine");
-}
+});
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits