Commit Graph

20 Commits

Author SHA1 Message Date
Mike de Boer
39f20cd843 Bug 1524593 - nsISearchService (aka nsIBrowserSearchService, previously) refactor to be mostly an asynchronous, in preparation of WebExtension engines. r=daleharvey
This is a rollup of all the patches that have landed on the cedar project branch:

891252fdd0
Bug 1492475 - Part 1: Migrate most, if not all nsSearchService consumers to use async APIs. r=florian

79b2eb2367
Bug 1492475 - Part 2: Move nsIBrowserSearchService.idl to toolkit/components/search/nsISearchService.idl and update references. r=florian

a947d3cdf0
Bug 1492475 - Part 3: The search service init() method should simply return a Promise. r=florian

c1e172dfac
Bug 1492475 - Part 4: Remove the synchronous initialization flow. r=florian

cd41189eac
Bug 1492475 - Part 5: Since async initialization of the search service now is implicit behavior, remove the distinctive verbiage used internally. r=florian

2ae7189dfa
Bug 1492475 - Part 6: Update the cache build task to work with an actual Promise and re-initialize only once at the same time - all to fix race conditions here. r=florian

c8ee92973f
Bug 1492475 - Part 7: Make the region fetch not block the init flow, to ensure it's as fast as possible. r=florian

c44e674e16
Bug 1492475 - Part 8: Introduce an init flag, which can only be used privately, that allows to explicitly skip waiting for the region check process to complete. r=florian

6c79eaf1d3
Bug 1492475 - Part 9: Update unit tests to stop using 'currentEngine', in favor of 'defaultEngine'. r=Standard8

21b3aa17ee
Bug 1492475 - Part 10: Update unit tests to be fully aware of the new, async signatures of the search service API and remove sync init flow tests. r=mkaply,florian

ce5ba69019
Bug 1492475 - Part 11: Repair incorrect usage of the `identifier` property of nsISearchEngine instances. r=florian

fd177a7994
Bug 1518543 - Fix up the Android (Fennec) nsISearchService shim to work with the new asynchronous API. r=florian

3653d8ee22
Bug 1523708 - Change the search service interaction in the show-heartbeat action to use the new async API. r=florian

Differential Revision: https://phabricator.services.mozilla.com/D18355
2019-02-02 11:27:21 +00:00
Dave Townsend
943f61296a Bug 1487246: Remove uses of comma sequences in linted code. r=Standard8
Two cases were hiding permanently failing tests. I've commented those out and
filed bug 1487431.

Differential Revision: https://phabricator.services.mozilla.com/D4680
2018-08-29 16:12:55 -07:00
Brian Grinstead
dd4fd5c38b Bug 1482667 - Migrate mochitest-browser tests in browser/ to use element variations of firstChild, etc;r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3530
2018-08-17 16:45:52 +00:00
Paolo Amadini
27081c7b37 Bug 1444392 - Part 2 - Use test-only helpers for the main menu across the tree. r=Gijs
MozReview-Commit-ID: IpdYFaYxx4M
2018-04-04 11:34:39 +01:00
Paolo Amadini
7c101fe117 Bug 1387416 - Place the search bar in the customization palette for new profiles. r=Gijs
MozReview-Commit-ID: Tq8YrZWG6P
2017-09-06 13:09:27 +01:00
Florian Quèze
b2499a4c57 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Mark Banner
0dc78b7964 Bug 1314918 - Fix most of the remaining no-unused-vars issues for local scope in browser/. r=mossop
MozReview-Commit-ID: LdoXLniNeT7
2016-11-03 11:51:48 +00:00
Matthew Noorenberghe
d0bbba5b87 Bug 1244899 - Run dos2unix on UITour. r=me 2016-02-01 14:55:20 -08:00
Matthew Noorenberghe
44caa1ca3e Bug 1073247 - UITour: Proxy gContentAPI method calls to the content process via ContentTask and fix tests for e10s. r=felipe
This gets us to 414 / 917 checks passing with e10s compared to non-e10s on my OS X machine.
2016-02-01 14:29:11 -08:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Paolo Amadini
3e38200c8c Bug 1177175 - Add a UITour target inside the TP panel. r=MattN 2015-07-20 13:44:32 +01:00
Matthew Noorenberghe
88be108190 Bug 1177162 - Fix UITour test bustage from d253511f5765 on a CLOSED TREE. 2015-07-17 16:15:24 -07:00
Matthew Noorenberghe
d8d801cd1b Bug 1177162 - Show an info panel on the tracking protection doorhanger anchor the first time tracking elements are blocked. r=bgrins,ttaubert 2015-07-16 13:38:20 -07:00
Ryan VanderMeulen
b341c90e06 Backed out changesets 142992f32215 and 628e80194537 (bug 1177162) for Linux debug/ASAN browser_trackingProtection.js failures.
CLOSED TREE
2015-07-16 10:11:14 -04:00
Matthew Noorenberghe
3040e5e397 Bug 1177162 - Show an info panel on the tracking protection doorhanger anchor the first time tracking elements are blocked. r=bgrins,ttaubert 2015-07-15 11:50:40 -07:00
Matthew Noorenberghe
f3a89c5848 Bug 1177162 - Don't delete the UITour variable from the browser window as it breaks later tests. r=bgrins 2015-07-10 17:38:30 -04:00
Matthew Noorenberghe
d676c6cecf Bug 1113038 - Move test_openSearchPanel from browser_UITour3.js to its own file (browser_openSearchPanel.js). 2015-07-09 01:12:49 -04:00
Blair McBride
96fd46f6a4 Bug 1098071 - Move uitour.js library out of test directory. r=MattN 2015-01-06 19:13:46 +13:00