Commit Graph

1627 Commits

Author SHA1 Message Date
Sebastian Hengst
28c0d9bc4f Bug 1708010 - fix temperature conversion from Celsius to Fahrenheit. r=daisuke
Code got added in bug 1697722.

Differential Revision: https://phabricator.services.mozilla.com/D113575
2021-04-29 09:44:51 +00:00
Daisuke Akatsuka
70a1e050d3 Bug 1697722: Add tests for unit conversion. r=adw
Depends on D107968

Differential Revision: https://phabricator.services.mozilla.com/D108166
2021-04-29 01:30:59 +00:00
Daisuke Akatsuka
13b788dee3 Bug 1697722: Implement unit converter as UrlbarProvider. r=adw,dminor
Differential Revision: https://phabricator.services.mozilla.com/D107968
2021-04-29 01:30:58 +00:00
Daisuke Akatsuka
e87a0bdc64 Bug 1702237: Add a test for chiclet in switching tab mode.r=harry
Differential Revision: https://phabricator.services.mozilla.com/D113274
2021-04-28 23:01:11 +00:00
Valentin Gosu
8a91e525ed Bug 1574475 - Fix some failing FTP tests r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111251
2021-04-28 09:33:47 +00:00
Butkovits Atila
d38e031b6f Merge autoland to mozilla-central. a=merge 2021-04-28 01:17:14 +03:00
Sebastian Hengst
809b47baf7 Backed out 2 changesets (bug 1697722) for time dependent permanent failure in test_unitConversion.js. a=backout DONTBUILD
Backed out changeset 2e1236cb9f03 (bug 1697722)
Backed out changeset bacefd6c7f00 (bug 1697722)
2021-04-28 00:11:00 +02:00
Harry Twyford
8ff2f2e0be Bug 1707012 - Update tag styling to remove their background-color. r=mak,dao
Differential Revision: https://phabricator.services.mozilla.com/D113158
2021-04-27 17:19:03 +00:00
Dale Harvey
5d8aa80d01 Bug 1702079 - Implement the opt-in modal for Firefox QuickSuggest r=adw
Differential Revision: https://phabricator.services.mozilla.com/D110569
2021-04-27 10:00:07 +00:00
imoraru
63bab09dde Backed out changeset 7517d291e2f5 (bug 1702237) for causing Browser-Chrome failures at browser_switchToTab_chiclet.js . CLOSED TREE 2021-04-27 10:12:55 +03:00
Daisuke Akatsuka
2d83a9e59c Bug 1702237: Make chiclet label properly upon tabs mode.r=harry
Differential Revision: https://phabricator.services.mozilla.com/D113274
2021-04-27 06:14:11 +00:00
Daisuke Akatsuka
57503bcf03 Bug 1697722: Add tests for unit conversion. r=adw
Depends on D107968

Differential Revision: https://phabricator.services.mozilla.com/D108166
2021-04-27 01:36:30 +00:00
Daisuke Akatsuka
74f22e1304 Bug 1697722: Implement unit converter as UrlbarProvider. r=adw,dminor
Differential Revision: https://phabricator.services.mozilla.com/D107968
2021-04-27 01:36:29 +00:00
Cosmin Sabou
aeaaee173a Backed out changeset 7338e5d940a6 (bug 1702237) for bc failures on browser_switchToTab_chiclet.js. 2021-04-27 04:14:10 +03:00
Cosmin Sabou
f6768fee8c Backed out changeset a8d01d3d99fc (bug 1702079) for bc failures on browser_urlbar_telemetry_quicksuggest.js. CLOSED TREE 2021-04-27 01:59:11 +03:00
Daisuke Akatsuka
6d796b73d5 Bug 1702237: Make chiclet label properly upon tabs mode.r=harry
Differential Revision: https://phabricator.services.mozilla.com/D113274
2021-04-26 22:51:14 +00:00
Daisuke Akatsuka
866087ea81 Bug 1701901: Show urlbar-search-mode-indicator always upon search mode. r=adw,harry
Differential Revision: https://phabricator.services.mozilla.com/D112901
2021-04-26 22:50:05 +00:00
Dale Harvey
c3d06dd11f Bug 1702079 - Show onboarding prompt to enable QuickSuggest r=adw
Differential Revision: https://phabricator.services.mozilla.com/D110569
2021-04-26 22:20:10 +00:00
Daisuke Akatsuka
6c4b891cd1 Bug 1700374: Set suppress-focus-border true upon mouse down on urlbar while showing newtab page.r=harry
Differential Revision: https://phabricator.services.mozilla.com/D112335
2021-04-22 21:21:18 +00:00
Narcis Beleuzu
359bfccedf Backed out 8 changesets (bug 1574475, bug 1699222) for build bustages on moz.build . CLOSED TREE
Backed out changeset 6c2c039872b3 (bug 1574475)
Backed out changeset 8a2a04743c5f (bug 1699222)
Backed out changeset 9437c60798d6 (bug 1574475)
Backed out changeset 7ef1884ac11b (bug 1574475)
Backed out changeset ec8c237d5298 (bug 1574475)
Backed out changeset 4a760b3f5d53 (bug 1574475)
Backed out changeset b229b0eea1e7 (bug 1574475)
Backed out changeset 03d34a2f10a6 (bug 1574475)
2021-04-22 18:10:59 +03:00
Valentin Gosu
b856e6c8e7 Bug 1574475 - Fix some failing FTP tests r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111251
2021-04-22 13:41:35 +00:00
Marco Bonardo
ca99f3aa28 Bug 1706326 - Pressing Enter on Add Engine shortcut button doesn't add the engine. r=adw
The patch removes the special .webEngine expando and rather use the class to
recognize add engine shortcuts, similarly to how old shortcut buttons did.
It also reuses the add engine handling in SearchOneOffs.js::_on_command rather
than duplicating it.
It is also no more necessary to provide a wrapper around
SearchUIUtils.addOpenSearchEngine because it would only be used once.

Differential Revision: https://phabricator.services.mozilla.com/D112986
2021-04-21 21:10:08 +00:00
Cosmin Sabou
bcbbaa9ada Backed out changeset f2cab762429f (bug 1702079) for bc failures on browser_urlbar_telemetry_quicksuggest.js. CLOSED TREE 2021-04-21 23:04:10 +03:00
Dale Harvey
51f4ea4d75 Bug 1702079 - Show onboarding prompt to enable QuickSuggest r=adw
Differential Revision: https://phabricator.services.mozilla.com/D110569
2021-04-21 19:06:11 +00:00
Alexandru Michis
aa8d9f436c Backed out changeset 505b7fdbb498 (bug 1700374) for causing bc failures in browser_suppressFocusBorder.js
CLOSED TREE
2021-04-21 17:03:09 +03:00
Daisuke Akatsuka
4cf97ebefa Bug 1700374: Set suppress-focus-border true upon mouse down on urlbar while showing newtab page.r=harry
Differential Revision: https://phabricator.services.mozilla.com/D112335
2021-04-21 12:43:05 +00:00
Daisuke Akatsuka
7c2238d606 Bug 1706112: Remove suppress-focus-borde when clicking a search tip.r=harry
Differential Revision: https://phabricator.services.mozilla.com/D112687
2021-04-20 22:50:31 +00:00
Markus Stange
f4e89d40b7 Bug 1704554 - Remove workaround in browser_add_search_engine.js. r=harry
Depends on D112275

Differential Revision: https://phabricator.services.mozilla.com/D112276
2021-04-16 16:18:30 +00:00
Harry Twyford
bbed364e25 Bug 1704900 - Stop synthesizing context menu events in urlbar mochitests. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D111912
2021-04-13 21:23:12 +00:00
Andrei Oprea
a84b38eaf8 Bug 1701321 - Skip browser_quicksuggest.js for intermittent timeouts on asan builds r=mak
Differential Revision: https://phabricator.services.mozilla.com/D111824
2021-04-13 16:02:03 +00:00
Marco Bonardo
3977844bfa Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 18:20:21 +00:00
Cosmin Sabou
3063be1402 Backed out changeset bd396182f84a (bug 1703274) for causing wpt failures on shape-outside-shape-arguments-000.html. CLOSED TREE 2021-04-09 17:51:48 +03:00
Andrei Oprea
5fd4c4ba70 Bug 1699701 - Convert all usages of ExperimentFeature to singleton API r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D110284
2021-04-09 14:13:13 +00:00
Sebastian Hengst
cba2b35987 Backed out changeset d402c8657d3f (bug 1699701) for failing newtab's activity-stream:AboutPreferences Feed and more. CLOSED TREE 2021-04-09 15:35:48 +02:00
Andrei Oprea
ebb65f340a Bug 1699701 - Convert all usages of ExperimentFeature to singleton API r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D110284
2021-04-09 12:49:00 +00:00
Marco Bonardo
d5fff0d93b Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 11:05:17 +00:00
Daisuke Akatsuka
7aa39761b8 Bug 1446828: Focus on urlbar upon middle clicking on home button. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D111208
2021-04-09 02:16:22 +00:00
Drew Willcoxon
ef7f272bc6 Bug 1703116 - Add more tests for suggestedIndex results during view updates and tweak the update logic. r=mak
Bug 1701193 (D110365) added a bunch of new tests for suggestedIndex results
during view updates, but they all work by doing one search with search
suggestion results followed by another search with URL results. That means they
do not test the part of the view-update logic that allows new suggestions to
replace other types of results once an existing suggestion row is encountered.

This revision adds four new tests that are analogous to the prior tests except
that their first search returns one suggestion followed by URL results, and
their second search returns search suggestions. Therefore they test the
suggestion-replacement logic mentioned above.

The prior tests all use 4 results as the smaller number of results in each test
(with 10 being the larger number). I think it's better to use 5 instead because
that leaves 2 results left over when 1 heuristic and up to 2 suggestedIndex
results are also included, instead of only 1 result left over. That should make
the tests a little more rigorous. Also, 5 is half of 10, so that's a little
nicer too. For consistency I updated the prior tests so that they use 5 instead
of 4 too.

Finally, this revision makes one non-test change. When the update logic
determines whether a new suggestedIndex result is in the right spot, it should
calculate the final index relative to `results.length`, not from the current
number of rows, since `results.length` is the final number of rows once the
update is done and stale rows are removed. The current logic isn't exactly
wrong, but it means that a suggestedIndex result can appear farther down the
view during the update before moving up to its final spot after stale rows are
removed. That can be perceived as flicker, so I think it's better not to show it
at all during the update.

Differential Revision: https://phabricator.services.mozilla.com/D110870
2021-04-07 22:53:09 +00:00
Harry Twyford
27ed5295a2 Bug 1703647 - Change tab-to-search results to use a Primary Blue search glass icon instead of an inverted one. r=mak
This patch removes the pre-Proton icon and tests. It looks like other changes to icons are just removing the old icons seeing as we're in the 89 Nightly cycle. See D110849 for example.

Differential Revision: https://phabricator.services.mozilla.com/D111155
2021-04-07 22:41:06 +00:00
Harry Twyford
55c61f45f0 Bug 1703385 - Initialize UrlbarSearchOneOffs._webEngines in the constructor. r=mak
The issue here is that _rebuildEngineList is being called before updateWebEngines. updateWebEngines initializes _webEngines. When _rebuildEngineList tries to iterate over _webEngines, an exception is thrown.

Differential Revision: https://phabricator.services.mozilla.com/D111113
2021-04-07 18:58:26 +00:00
Mark Striemer
ff2c4e4732 Bug 1702327 - Fix browser_searchSingleWordNotification.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110623
2021-04-06 04:26:32 +00:00
Daisuke Akatsuka
55ac9586d8 Bug 1701638: Call preventDefault for middle click event on a tab to avoid pasting by the event. r=masayuki,adw
In this patch, avoid pasting action if the tab is removed by middle click.

Differential Revision: https://phabricator.services.mozilla.com/D110788
2021-04-06 00:31:36 +00:00
Drew Willcoxon
3034ef6248 Bug 1701136 - Make quick suggest's suggestedIndex -1 instead of maxResults - 1. r=daleharvey
With bug 1699227 and bug 1701193 fixed, we can now use -1 as the quick suggest
result's suggested index to make it stick to the bottom of the view without any
flickering.

Differential Revision: https://phabricator.services.mozilla.com/D110636
2021-04-05 19:43:17 +00:00
Dale Harvey
78b1374e8d Bug 1697251 - Add a calculator to the Urlbar r=adw,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108529
2021-04-05 08:26:29 +00:00
Daisuke Akatsuka
64118de19f Bug 1693503: Do search if the format inputed is user@host but might be intented as keyword. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106748
2021-04-02 10:05:37 +00:00
Drew Willcoxon
d474858fb8 Bug 1701193 - Don't place suggestedIndex results in the wrong spot during view updates. r=mak
This should fix flickering related to suggested indexes once and for all, knock
on wood. It fixes the view-update logic so that if we encounter a new
suggestedIndex result that can't be placed in the correct spot during the first
loop, we stop trying to update rows at that point and instead mark the remaining
rows as stale. Then we reach the loop that appends the remaining results, and we
append them all starting with the suggestedIndex result. Those results are
hidden at first so that the suggestedIndex result never appears in the wrong
spot.

This fixes bug 1701193 and the flickering problem I noted in bug 1701136. It
also fixes the flicker we have right now with the tab-to-search onboarding
result, where during the view update we briefly have 10 results in the view even
though there should only be 9 since the tab-to-search has a span of 2.

At first I had one big test file for this, but not surprisingly it timed out on
some try machines. So I split it up, moved the new files to a new directory, and
moved the two existing browser_updateRows tests there too.

The new tests all do two searches where the first search returns search
suggestions and the second returns URL results. It would be good to test the
opposite too but this patch is already big enough.

Differential Revision: https://phabricator.services.mozilla.com/D110365
2021-04-01 19:26:43 +00:00
Mark Banner
b9cc3ee370 Bug 1697477 - Use the new nsISearchEngine.isWebEngine property in the urlbar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D109548
2021-03-29 18:10:30 +00:00
Mark Banner
4a52d67ef9 Bug 1700971 - Switch to using search engine extensions in urlbar xpcshell-tests. r=mak
This allows us to use random port numbers in the tests, so that they can run in parallel.

Differential Revision: https://phabricator.services.mozilla.com/D109753
2021-03-26 22:12:43 +00:00
Andrei Oprea
499e4ef504 Bug 1700449 - Intermittent browser/components/urlbar/tests/browser/browser_quicksuggest.js r=mak
Differential Revision: https://phabricator.services.mozilla.com/D109617
2021-03-26 13:01:41 +00:00
Drew Willcoxon
36ed201877 Bug 1699227 - Support negative suggestedIndex values to allow indexes to be specified from the end of the list of urlbar results. r=mak
Given the result span problem described in bug 1699211 and bug 1699607,
currently there's no way for quick suggest to accurately specify the last index
as its suggested index.

Differential Revision: https://phabricator.services.mozilla.com/D109571
2021-03-25 20:32:52 +00:00