Commit graph

25 commits

Author SHA1 Message Date
Dão Gottwald
28ad95b9a1 Bug 1578375 - Stop flushing layout in SearchOneOffs::__rebuild when used with the address bar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D44449

--HG--
extra : moz-landing-system : lando
2019-09-03 18:32:32 +00:00
harry
bb7b264fe5 Bug 1551240 - Remove quantumbar handling from tests. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D41623

--HG--
extra : moz-landing-system : lando
2019-08-12 20:51:06 +00:00
Dão Gottwald
968ae4419d Bug 1551598 - Stop using a popup window for urlbar results. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D38988

--HG--
extra : moz-landing-system : lando
2019-07-25 20:13:33 +00:00
Victor Porof
f9f5914039 Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 96b3895a3b2aa2fcb064c85ec5857b7216884556
2019-07-05 09:48:57 +02:00
Drew Willcoxon
66b8f1c131 Bug 1529931 - Avoid autofill flicker: Fix reflow performance tests. r=mconley
Replace a couple of popup methods so that they call dirtyFrame(), so that reflows happen deterministically.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 16:08:21 +00:00
Drew Willcoxon
0f9b9dfe9d Bug 1528744 - Port browser_urlbar_search.js and browser_urlbar_keyed_search.js to QuantumBar. r=Standard8,mconley
Differential Revision: https://phabricator.services.mozilla.com/D21242

--HG--
rename : browser/base/content/test/performance/browser_urlbar_keyed_search.js => browser/base/content/test/performance/browser_urlbar_keyed_search_legacy.js
rename : browser/base/content/test/performance/browser_urlbar_search.js => browser/base/content/test/performance/browser_urlbar_search_legacy.js
extra : moz-landing-system : lando
2019-02-28 21:19:42 +00:00
Cosmin Sabou
4ae5f536f9 Backed out changeset 71dd92230a54 (bug 1528744) for permafails on browser_urlbar_keyed_search.js 2019-02-28 09:57:20 +02:00
Drew Willcoxon
b860840c2f Bug 1528744 - Port browser_urlbar_search.js and browser_urlbar_keyed_search.js to QuantumBar. r=Standard8,mconley
Differential Revision: https://phabricator.services.mozilla.com/D21242

--HG--
rename : browser/base/content/test/performance/browser_urlbar_keyed_search.js => browser/base/content/test/performance/browser_urlbar_keyed_search_legacy.js
rename : browser/base/content/test/performance/browser_urlbar_search.js => browser/base/content/test/performance/browser_urlbar_search_legacy.js
extra : moz-landing-system : lando
2019-02-28 00:32:08 +00:00
Mike de Boer
9f68077886 Bug 1524908 - Since the Search Service API is now asynchronous, the one-off-search (re)build method became re-entrant and evidently race-y. Let's guard against that. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D18672

--HG--
extra : moz-landing-system : lando
2019-02-06 11:51:04 +00:00
Brindusan Cristian
76cfa49e64 Backed out changeset 0a5768488340 (bug 1524908) for bc failures at browser_urlbar_keyed_search.js. 2019-02-06 13:42:52 +02:00
Mike de Boer
0662a2f419 Bug 1524908 - Since the Search Service API is now asynchronous, the one-off-search (re)build method became re-entrant and evidently race-y. Let's guard against that. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D18672

--HG--
extra : moz-landing-system : lando
2019-02-05 21:08:08 +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
Alexander Surkov
599d3ecb6b Bug 1519486 - convert autocomplete-richlistitem XBL binding to CE, r=MattN 2019-01-24 08:40:36 -05:00
Drew Willcoxon
f261cff897 Bug 1498023 - Search shortcuts should hide all one-off UI when typed r=mak,Mardak
* Disable or enable the one-offs per each new search based on whether the first char is "@". The patch does this in `onResultsAdded`, where other per-search initialization happens.
* Remove the `disableOneOffButtons` option from the urlbar `search` method. It's not necessary anymore now that one-offs are automatically hidden for the only caller that uses this option (new tab with the "@engine" tiles).
* Make the `oneOffSearchesEnabled` getter return the actual status of the one-off UI instead of relying on an `_oneOffSearchesEnabled` property.

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

--HG--
extra : moz-landing-system : lando
2018-10-29 16:13:49 +00:00
Brian Grinstead
a1b87b1887 Bug 1493536 - Convert search-one-offs binding to custom element;r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9710

--HG--
rename : browser/components/search/content/search.xml => browser/components/search/content/search-one-offs.js
extra : moz-landing-system : lando
2018-10-25 09:36:15 +00:00
Dão Gottwald
7dee39df6f Bug 1477985 - Implement basic UrlbarInput and UrlbarView classes and a hidden pref for using them. r=standard8 2018-09-13 18:38:07 +02:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Brian Grinstead
4995c61b0f 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

--HG--
extra : moz-landing-system : lando
2018-08-17 16:45:52 +00:00
Drew Willcoxon
68ed88f0e3 Bug 1480503 - Create API for setting text (keyword) in and focusing on the awesomebar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D2895

--HG--
extra : moz-landing-system : lando
2018-08-08 19:45:52 +00:00
Brian Grinstead
b0b2b901d0 Bug 1470910 - Migrate input-box and input-box-spell to a Custom Element;r=paolo
Instead of `<xul:hbox class="textbox-input-box">`, consumers now should use
`<xul:moz-input-box />`. This covers the normal case and also handles
[spellcheck=true] while sharing much of the code within one class.

MozReview-Commit-ID: DjvT8sFq3SQ

--HG--
rename : toolkit/content/widgets/textbox.xml => toolkit/content/widgets/textbox.js
2018-08-02 20:53:59 -07:00
Gijs Kruitbosch
5c512f312d Bug 1358443 - remove reflows from adjustHeight itself, r=mak,florian
This goes back to relying on rows being the same height.
Places where we replace the popup will likely not use the richlistbox,
and we no longer have code that changes the height or exceeds the maximum
number of visible children with a scrollbar, so we should be OK.

To determine the padding on the richlistbox and the height of the initial
row, I've used a promiseDocumentFlushed callback. It's possible this causes
flicker the first time the popup opens. I can't see any, but it's quite
possible I'm missing something.

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

--HG--
extra : moz-landing-system : lando
2018-07-26 13:17:41 +00:00
Cosmin Sabou
64cb11c1e6 Backed out changeset 0ce819c0a081 (bug 1358443) for browser chromes failures on browser_urlbar_search_no_speculative_connect_with_client_cert.
--HG--
extra : rebase_source : 3a78034202473e32d0e4d39e74116832e583cd1b
2018-07-25 20:12:26 +03:00
Gijs Kruitbosch
cb8f16be3f Bug 1358443 - remove reflows from adjustHeight itself, r=mak,florian
This goes back to relying on rows being the same height.
Places where we replace the popup will likely not use the richlistbox,
and we no longer have code that changes the height or exceeds the maximum
number of visible children with a scrollbar, so we should be OK.

To determine the padding on the richlistbox and the height of the initial
row, I've used a promiseDocumentFlushed callback. It's possible this causes
flicker the first time the popup opens. I can't see any, but it's quite
possible I'm missing something.

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

--HG--
extra : moz-landing-system : lando
2018-07-25 15:35:01 +00:00
Neil Deakin
ef5f9b4b23 Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz
Test changes for removal of PopupBoxObject and popup.xml methods, some reflow tests now have different stacks now that they are not going through popup.xml binding methods, test_popupanchor.xul changes due to need to wait for popuppositioned event after resizing. The old code would just adjust the arrow directly when sizeTo was called, but the new code does this through an asynchronous popuppositioned event. Changes to some places that check for XULElement class.

--HG--
rename : dom/webidl/PopupBoxObject.webidl => dom/webidl/XULPopupElement.webidl
rename : layout/xul/PopupBoxObject.cpp => dom/xul/XULPopupElement.cpp
rename : layout/xul/PopupBoxObject.h => dom/xul/XULPopupElement.h
2018-04-27 11:04:38 -04:00
Florian Quèze
5e1aae44fd Bug 1443578 - remove the _reflows suffix from tests that now cover both reflows and flicker, r=mconley.
--HG--
rename : browser/base/content/test/performance/browser_appmenu_reflows.js => browser/base/content/test/performance/browser_appmenu.js
rename : browser/base/content/test/performance/browser_tabclose_reflows.js => browser/base/content/test/performance/browser_tabclose.js
rename : browser/base/content/test/performance/browser_tabclose_grow_reflows.js => browser/base/content/test/performance/browser_tabclose_grow.js
rename : browser/base/content/test/performance/browser_tabopen_reflows.js => browser/base/content/test/performance/browser_tabopen.js
rename : browser/base/content/test/performance/browser_tabopen_squeeze_reflows.js => browser/base/content/test/performance/browser_tabopen_squeeze.js
rename : browser/base/content/test/performance/browser_tabstrip_overflow_underflow_reflows.js => browser/base/content/test/performance/browser_tabstrip_overflow_underflow.js
rename : browser/base/content/test/performance/browser_tabswitch_reflows.js => browser/base/content/test/performance/browser_tabswitch.js
rename : browser/base/content/test/performance/browser_urlbar_keyed_search_reflows.js => browser/base/content/test/performance/browser_urlbar_keyed_search.js
rename : browser/base/content/test/performance/browser_urlbar_search_reflows.js => browser/base/content/test/performance/browser_urlbar_search.js
rename : browser/base/content/test/performance/browser_window_resize_reflows.js => browser/base/content/test/performance/browser_window_resize.js
rename : browser/base/content/test/performance/browser_windowclose_reflows.js => browser/base/content/test/performance/browser_windowclose.js
2018-03-22 21:16:17 +01:00
Renamed from browser/base/content/test/performance/browser_urlbar_search_reflows.js (Browse further)