Commit graph

46 commits

Author SHA1 Message Date
Mike de Boer
5d842c0354 Bug 1518545 - Remove the superfluous 'engine-current' Search Service observer topic in favour of 'engine-default'. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27857

--HG--
rename : toolkit/components/places/tests/unifiedcomplete/test_search_engine_current.js => toolkit/components/places/tests/unifiedcomplete/test_search_engine_default.js
extra : moz-landing-system : lando
2019-04-17 09:45:24 +00:00
Mike de Boer
481ae95c00 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

--HG--
rename : netwerk/base/nsIBrowserSearchService.idl => toolkit/components/search/nsISearchService.idl
extra : moz-landing-system : lando
2019-02-02 11:27:21 +00:00
Myk Melez
25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Dave Townsend
3cc72cc409 Bug 1497960: Make ProfileAge return the same instances for the same profile directory and preload times.json to avoid data races. r=janerik
ProfileAge now returns a promise that resolves to an instance that has already
loaded its times.json. This makes multiple attempts to update data in times.json
safer.

Differential Revision: https://phabricator.services.mozilla.com/D8463

--HG--
extra : moz-landing-system : lando
2018-10-12 18:10:20 +00:00
Neil Deakin
cf9835ac8b Bug 1446961, remove obsolete calls to showPopup and replace usages of the popup box object with the same methods defined on popups, r=paolo 2018-04-27 11:04:36 -04:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Gijs Kruitbosch
7f82c100f0 Bug 1302468 - use UpdateUtils to determine the update channel for UITour, r=MattN
MozReview-Commit-ID: 2FvxdWSfDLK

--HG--
extra : rebase_source : 8058d72c744a7949ba6695ce1dd7bae6e5d03385
2017-11-14 15:58:17 +00:00
Fischer.json
4f9c995681 Bug 951965 - Make sure checking PanelUI.panel state after the popuphidden event, r=Gijs
This commit makes sure checking PanelUI.panel state is "closed" after the popuphidden event so as to avoid the intermittent fialure because of the too early checking.

MozReview-Commit-ID: LinQbytw0lC

--HG--
extra : rebase_source : 812d09d0d5ebd291d2ddaafe122b4f5d378135dd
2017-09-17 18:02:53 +08:00
Paolo Amadini
fe96089fe4 Bug 1387416 - Place the search bar in the customization palette for new profiles. r=Gijs
MozReview-Commit-ID: Tq8YrZWG6P

--HG--
extra : rebase_source : 2e02e0a809d08ff26291a027b73a54668d6d5f9d
2017-09-06 13:09:27 +01:00
Gijs Kruitbosch
8b5c74561f Bug 1383009 - fix tests, BrowserUITelemetry and pocket to deal with the changes to the navbar, r=jaws
MozReview-Commit-ID: 9dZI5AI3kvP

--HG--
extra : rebase_source : 5be8516451149b34b1ac758436027fde10f623f5
2017-08-08 15:09:44 +01:00
Rex Lee
40df8b18af Bug 1384841 - Match the style of the UITour highlights with Photon style guide. r=Gijs
MozReview-Commit-ID: BT1o8O2A1Al

--HG--
extra : rebase_source : 9d3281a45a264197b024ae77bb4e3b2341d31e01
2017-08-01 11:56:28 +08:00
Giorgos Logiotatidis
1b62eae6c7 Bug 1343510 - Add createdWeeksAgo and resetWeeksAgo to appInfo. r=MattN
MozReview-Commit-ID: 9UDG1z1wV3R

--HG--
extra : rebase_source : 299052c1bdba6755258b4e644e1b73c2c79a7e01
2017-06-30 08:52:08 -07:00
Phil Ringnalda
8b08b5a102 Backed out changeset 5ce62f7e6633 (bug 1343510) for eslint and browser_UITour_defaultBrowser.js failures
MozReview-Commit-ID: GWQWnQ1ztKM
2017-06-26 18:53:09 -07:00
Giorgos Logiotatidis
e6f4ac50bd Bug 1343510 - Add createdWeeksAgo and resetWeeksAgo to appInfo. r=MattN
MozReview-Commit-ID: 85PXk7emZ3j

--HG--
extra : rebase_source : 9405de8dcfafbe6101fb8c106ce3ea560d8c9a76
2017-06-12 12:35:50 +03:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Gijs Kruitbosch
c2f80065e2 Bug 1359137 - update UITour to highlight in new panel where appropriate, r=MattN
MozReview-Commit-ID: Asigfu41hTv

--HG--
extra : rebase_source : c0d01ebe5e5437c876ff97c4aa55f3091875a9dd
2017-05-31 13:41:07 +01:00
Florian Quèze
16530fa1e3 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
5e3539e504 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
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Jared Wein
3718f00db1 Bug 1316870 - Enable no-shadow eslint rule for browser/. r=mossop 2016-11-15 22:58:30 -05:00
Dave Townsend
8de07a19a0 Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz

--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08:00
Alessio Placitelli
b460cfd546 Bug 1233986 - Add test coverage. r=gfritzsche
MozReview-Commit-ID: 1Mi2ogNvy2o
2016-06-27 00:27:00 +02:00
Carsten "Tomcat" Book
aa5cdbd0b4 Backed out changeset 8f48d2f1fa58 (bug 1233986)
--HG--
extra : rebase_source : 5005fdaf6c671120997b70837572713ef5042905
2016-06-27 13:19:09 +02:00
Alessio Placitelli
4c8bdc2f7f Bug 1233986 - Add test coverage. r=gfritzsche
MozReview-Commit-ID: 1Mi2ogNvy2o
2016-06-27 00:27:00 +02:00
Hector Zhao
595c6f2f19 Bug 1268369 - Expose distribution.id as part of the appinfo configuration. r=Gijs
MozReview-Commit-ID: 4q7FVNgZtiK

--HG--
extra : transplant_source : %8E%89%14%D0%EB%A9l%C3%C5%98%EFk%84k%06%FC%21%B9%3D%5C
2016-04-28 15:23:55 +08:00
Gijs Kruitbosch
cc35fdfce9 Bug 1256625 - enable function parameters to gContentAPI wrappers to fix UITour tests in e10s mode, r=MattN
MozReview-Commit-ID: 6A4X8bmgaun

--HG--
extra : rebase_source : 5e5005a1385e8ecc13a2e0c4e2ec5ff61b7e776b
2016-03-15 11:47:49 +00:00
Matthew Noorenberghe
cec5ad7159 Bug 1244899 - Run dos2unix on UITour. r=me
--HG--
extra : commitid : 5VJJygNMmAr
extra : rebase_source : 7bb93d4549c584486312ec628acb34d7e8ab8fa5
2016-02-01 14:55:20 -08:00
Matthew Noorenberghe
dfe144c1de 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.

--HG--
extra : commitid : 7VfxOGTGyvL
extra : rebase_source : 2fa3f0947ae80ff851b48206ac81cbadfa3c6b29
2016-02-01 14:29:11 -08:00
Shu-yu Guo
1768759efb Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Florian Quèze
696f2789fb Bug 1202372 - remove the UITour dead code related to the old searchbar UI, r=MattN. 2015-09-18 10:42:59 +02:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Florian Quèze
6e1b279b5f Bug 1119250 - remove old searchbar UI - part 4 - remove the oneoffui attribute, r=Mossop. 2015-09-04 22:54:28 +02:00
Paolo Amadini
a4410be9c0 Bug 1177175 - Add a UITour target inside the TP panel. r=MattN
--HG--
extra : commitid : C5lscBkw8gZ
extra : rebase_source : c529420c92e06e9c71c7d7e9a0d4b4ff4f78bb46
2015-07-20 13:44:32 +01:00
Matthew Noorenberghe
ad3716c05d Bug 1177162 - Don't delete the UITour variable from the browser window as it breaks later tests. r=bgrins
--HG--
extra : commitid : BKI3vp1kRvi
extra : rebase_source : 39a11211522491aa9345f5e5c9e355678b66cbc3
2015-07-10 17:38:30 -04:00
Benjamin Smedberg
45bc946f03 Bug 1121001 - Record a uitour ping when a tag is set, r=gfritzsche
--HG--
extra : rebase_source : 71e846e33d9e9bc4acf9c8ba1173bfaa00ca2d6b
2015-04-27 15:00:20 -04:00
Ehsan Akhgari
1a03395848 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Blair McBride
e5e50e6761 Bug 1098071 - Move uitour.js library out of test directory. r=MattN
--HG--
rename : browser/modules/test/uitour.js => browser/components/uitour/UITour-lib.js
rename : browser/modules/UITour.jsm => browser/components/uitour/UITour.jsm
rename : browser/base/content/content-UITour.js => browser/components/uitour/content-UITour.js
rename : browser/modules/test/browser_UITour.js => browser/components/uitour/test/browser_UITour.js
rename : browser/modules/test/browser_UITour2.js => browser/components/uitour/test/browser_UITour2.js
rename : browser/modules/test/browser_UITour3.js => browser/components/uitour/test/browser_UITour3.js
rename : browser/modules/test/browser_UITour_annotation_size_attributes.js => browser/components/uitour/test/browser_UITour_annotation_size_attributes.js
rename : browser/modules/test/browser_UITour_availableTargets.js => browser/components/uitour/test/browser_UITour_availableTargets.js
rename : browser/modules/test/browser_UITour_detach_tab.js => browser/components/uitour/test/browser_UITour_detach_tab.js
rename : browser/modules/test/browser_UITour_loop.js => browser/components/uitour/test/browser_UITour_loop.js
rename : browser/modules/test/browser_UITour_modalDialog.js => browser/components/uitour/test/browser_UITour_modalDialog.js
rename : browser/modules/test/browser_UITour_observe.js => browser/components/uitour/test/browser_UITour_observe.js
rename : browser/modules/test/browser_UITour_panel_close_annotation.js => browser/components/uitour/test/browser_UITour_panel_close_annotation.js
rename : browser/modules/test/browser_UITour_registerPageID.js => browser/components/uitour/test/browser_UITour_registerPageID.js
rename : browser/modules/test/browser_UITour_resetProfile.js => browser/components/uitour/test/browser_UITour_resetProfile.js
rename : browser/modules/test/browser_UITour_sync.js => browser/components/uitour/test/browser_UITour_sync.js
rename : browser/modules/test/head.js => browser/components/uitour/test/head.js
rename : browser/modules/test/image.png => browser/components/uitour/test/image.png
rename : browser/modules/test/uitour.html => browser/components/uitour/test/uitour.html
2015-01-06 19:13:46 +13:00
Renamed from browser/modules/test/browser_UITour.js (Browse further)