Commit Graph

1478 Commits

Author SHA1 Message Date
Cosmin Sabou
0b29d94c62 Backed out changeset 9f5e51b38c2c (bug 1678323) for causing frequent failures in Bug 1691389 and Bug 1652531. 2021-02-08 19:08:13 +02:00
Marco Bonardo
e5f581b091 Bug 1678323 - Ctrl+L, Tab stopped working with browser.toolbars.keyboard_navigation=false. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D104212
2021-02-08 11:07:57 +00:00
Paul Zuehlcke
a1d23766c7 Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-02-05 13:40:35 +00:00
harry
7074630ed0 Bug 1655403 - Add a test for Bug 1653436. r=mak
This test fails on https://hg.mozilla.org/mozilla-central/rev/138e7b575614cbfc1e45576a15825f51cb6e6614, which still suffered from bug 1653436.

Differential Revision: https://phabricator.services.mozilla.com/D104108
2021-02-05 16:50:28 +00:00
harry
87c149589d Bug 1685734 - Add telemetry for tab-to-search result impressions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103075
2021-02-04 19:53:40 +00:00
harry
a767458341 Bug 1686330 - Add telemetry for tab-to-search result impressions, per-engine. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103074
2021-02-04 19:53:37 +00:00
Daisuke Akatsuka
15fb4f10e7 Bug 1689055: Avoid autofilling during IME composition. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103614
2021-02-04 00:15:37 +00:00
Narcis Beleuzu
731564fc32 Backed out 2 changesets (bug 1686330, bug 1685734) for bc failures on browser_urlbar_telemetry_tabtosearch.js
Backed out changeset 50a8c2a5f4e8 (bug 1685734)
Backed out changeset b129d712e3bc (bug 1686330)
2021-02-01 17:52:34 +02:00
harry
68d45df6dc Bug 1685734 - Add telemetry for tab-to-search result impressions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103075
2021-01-28 15:44:22 +00:00
harry
9cc4dd2296 Bug 1686330 - Add telemetry for tab-to-search result impressions, per-engine. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103074
2021-01-27 17:23:35 +00:00
Narcis Beleuzu
926d2f6257 Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js
Backed out changeset 635972f169e7 (bug 1596897)
Backed out changeset a84b667007e2 (bug 1596897)
2021-01-30 04:01:21 +02:00
Paul Zuehlcke
480794a586 Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-29 16:06:08 +00:00
harry
79e983b223 Bug 1675558 - Remove emptySearchBehavior setter from browser_searchMode_preview.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D103383
2021-01-28 23:13:42 +00:00
Drew Willcoxon
2dd0131936 Bug 1688786 - Add a browser.urlbar.showSearchSuggestionsFirst pref. r=mak,preferences-reviewers
Introduce a new `browser.urlbar.showSearchSuggestionsFirst` boolean pref that
determines whether search suggestions are shown before general results.

This keeps the `matchBuckets` pref. I could have removed it since the only thing
we're using it for right now is to tell whether suggestions are shown first. The
reason I didn't remove it is because ultimately we do want a `matchBuckets` or
`resultBuckets` pref so we can experiment with different results compositions
using simple pref-flip studies. Hopefully bug 1676469 will land soon and we'll
replace `matchBuckets` with `resultBuckets`, but in the meantime I think we
should keep `matchBuckets` around.

This also removes some `browser.urlbar.matchBuckets` assignments in tests that
don't actually depend on it. For tests that do depend on it, I changed them so
they set `showSearchSuggestionsFirst` now.

Differential Revision: https://phabricator.services.mozilla.com/D103137
2021-01-28 23:23:16 +00:00
Kris Maglione
5c5db3fe69 Bug 1685801: Part 12 - Remove BrowserUtils.urlSecurityCheck. r=mccr8
This moves the exception prettifying to the script security manager for all JS
callers, where it is much cheaper and more consistently applied.

Differential Revision: https://phabricator.services.mozilla.com/D101492
2021-01-28 20:58:48 +00:00
Kris Maglione
445094519d Bug 1685801: Part 7 - Move BrowserUtils.parseUrlAndPostData to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101487
2021-01-28 20:58:41 +00:00
Kris Maglione
caf1d0e771 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 20:58:43 +00:00
Mihai Alexandru Michis
e10f79168a Backed out 12 changesets (bug 1685801) for causing bc failures in browser_ctrlTab.js
CLOSED TREE

Backed out changeset 021924b62f13 (bug 1685801)
Backed out changeset 38cc10101c1f (bug 1685801)
Backed out changeset 9ab9574ac72a (bug 1685801)
Backed out changeset 1a7f259cc2ec (bug 1685801)
Backed out changeset b267b19a7f6e (bug 1685801)
Backed out changeset 7dfcf0257487 (bug 1685801)
Backed out changeset ee0d0169b079 (bug 1685801)
Backed out changeset 0c358ee51951 (bug 1685801)
Backed out changeset 338ab91af557 (bug 1685801)
Backed out changeset a49415007aaf (bug 1685801)
Backed out changeset b91098299143 (bug 1685801)
Backed out changeset edf6209861a8 (bug 1685801)
2021-01-28 22:55:11 +02:00
Kris Maglione
267655240c Bug 1685801: Part 12 - Remove BrowserUtils.urlSecurityCheck. r=mccr8
This moves the exception prettifying to the script security manager for all JS
callers, where it is much cheaper and more consistently applied.

Differential Revision: https://phabricator.services.mozilla.com/D101492
2021-01-28 05:25:15 +00:00
Kris Maglione
9e4f265fc6 Bug 1685801: Part 7 - Move BrowserUtils.parseUrlAndPostData to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101487
2021-01-28 05:25:01 +00:00
Kris Maglione
2d5f151948 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 05:25:03 +00:00
Butkovits Atila
91af0d3269 Backed out 12 changesets (bug 1685801) for causing failures on browser_fission_maxOrigins.js. CLOSED TREE
Backed out changeset 0d7153110519 (bug 1685801)
Backed out changeset 5175062925c7 (bug 1685801)
Backed out changeset 2c1250e786f0 (bug 1685801)
Backed out changeset 0ce3c773ba74 (bug 1685801)
Backed out changeset 9d51c6e24dee (bug 1685801)
Backed out changeset 3f4dc6349441 (bug 1685801)
Backed out changeset a80de9abb9f8 (bug 1685801)
Backed out changeset 30786893a5e7 (bug 1685801)
Backed out changeset 8007b12d6e32 (bug 1685801)
Backed out changeset fa814f4b7125 (bug 1685801)
Backed out changeset 14e4e47ee99f (bug 1685801)
Backed out changeset d9f1feba9454 (bug 1685801)
2021-01-28 07:15:59 +02:00
Kris Maglione
34d967e2b8 Bug 1685801: Part 12 - Remove BrowserUtils.urlSecurityCheck. r=mccr8
This moves the exception prettifying to the script security manager for all JS
callers, where it is much cheaper and more consistently applied.

Differential Revision: https://phabricator.services.mozilla.com/D101492
2021-01-28 03:33:09 +00:00
Kris Maglione
3a4bdecbdd Bug 1685801: Part 7 - Move BrowserUtils.parseUrlAndPostData to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101487
2021-01-28 03:32:51 +00:00
Kris Maglione
cebae4d59b Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 03:32:43 +00:00
harry
3d8b607582 Bug 1590880 - Reenable tabMatchesInAwesomebar on Fission Linux. r=adw
Looks like this test was fixed by changes to the address bar and/or Fission over the last 14 months.

Differential Revision: https://phabricator.services.mozilla.com/D103180
2021-01-27 19:56:53 +00:00
Bogdan Tara
9175d14e52 Backed out changeset 5c2127a7d44e (bug 1688000) for gecko decision task complaining about browser.ini CLOSED TREE 2021-01-27 00:01:01 +02:00
harry
8de2855c57 Bug 1688000 - Add experimental suggestionsEnabled WebExtension API. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D102645
2021-01-22 19:17:05 +00:00
Mark Banner
8a9fc4165b Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-26 13:42:38 +00:00
Brindusan Cristian
201069fdac Backed out 5 changesets (bug 1687235) for mochitest failures at test_menulist_null_value.xhtml. CLOSED TREE
Backed out changeset 638c802ca1d1 (bug 1687235)
Backed out changeset ec830b771bce (bug 1687235)
Backed out changeset a7c933ddecfd (bug 1687235)
Backed out changeset c36493fb0599 (bug 1687235)
Backed out changeset 6eb33ad5d460 (bug 1687235)
2021-01-26 10:58:43 +02:00
Mark Banner
36cf48f89d Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-25 22:27:19 +00:00
Magnus Melin
0f56a88072 Bug 1524836 - Move new HTML about:config page from browser to toolkit. r=fluent-reviewers,preferences-reviewers,geckoview-reviewers,Gijs,agi
Unbitrot and change strategy for geckoview: now map about:config directly in nsAboutRecirector.cpp

Differential Revision: https://phabricator.services.mozilla.com/D25938
2021-01-26 00:27:56 +00:00
Drew Willcoxon
9342e54c41 Bug 1647878 - Add in-tree documentation for dynamic result types. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D102681
2021-01-25 22:58:48 +00:00
amy churchwell
e71c3e3421 Bug 1685991 - Change default value of IME composition pref and add it to Nightly Experiments. r=harry,fluent-reviewers,preferences-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D102347
2021-01-25 21:02:20 +00:00
Mark Banner
b3e05a4f51 Bug 1664847 - Log the search access point for searches with ads and ad clicks. r=daleharvey
Depends on D102441

Differential Revision: https://phabricator.services.mozilla.com/D102443
2021-01-22 10:45:26 +00:00
Mark Banner
79fc6ebc12 Bug 1664847 - Change BrowserSearchTelemetry.recordSearch to take a browser rather than tabbrowser as that is more accurate. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D102440
2021-01-21 23:08:09 +00:00
Marco Bonardo
6a23da36e0 Bug 1687767 - Don't highlight url heuristic results without autocompleted parts. r=harry
Avoid the cost of highligthing unvisited heuristic url results, since the whole
string would just be copied over and highlighted, paying an unnecessary cost.
Note, here we could go with an HIGHLIGHT.ALL mode, to retain the current behavior,
but highlighting the full url just makes it less readable, and we're not adding
anything to it, so highligting the typed part is not useful regardless.

Also don't try to autofill very long strings, it's expensive and not useful,
since the autofilled part would be out of screen anyway.

Differential Revision: https://phabricator.services.mozilla.com/D102485
2021-01-21 11:21:58 +00:00
Marco Bonardo
d22fa9c98e Bug 1672507 - History results are not shown in search mode when they are set to come before search suggestions. r=harry
When the user unchecks the "Show search suggestions before history results" pref,
we change browser.urlbar.matchBuckets to general:5;suggestions:Infinity.
When the code inverted the buckets, it put Infinity suggestions before general
results, pushing them away.
That pref could also be modified by the users or an experiment, so we can't just
set a suggestions limit from the default value (4 at this time).
The safest solution seems to be to get the results, then transplant suggestions
at the top, that allows to keep the matchBuckets defined number of general
results and fill remaining space above them with suggestions.

Differential Revision: https://phabricator.services.mozilla.com/D102346
2021-01-20 09:56:39 +00:00
harry
4859dbd173 Bug 1686811 - Call pickResult even when shouldNavigate payload property is set. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D101823
2021-01-15 15:30:44 +00:00
amy churchwell
de63a13a51 Bug 1665066 - Remove payload.keywordOffer in favor of payload.providesSearchMode. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D101414
2021-01-14 18:45:25 +00:00
Marco Bonardo
9fec1a815d Bug 1681697 - Private window offers broken switch-to-tab option for top sites. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D101646
2021-01-15 14:23:14 +00:00
Butkovits Atila
b3b956f403 Backed out changeset a9646f8eaea8 (bug 1686811) for causing failures on browser_tabToSearch.js. 2021-01-15 12:49:11 +02:00
harry
bc0fb0df43 Bug 1686767 - Unhide urlbar.extension.enabled pref and add experimental APIs to set it. r=adw
Having browser.urlbar.extension.enabled be a hidden pref was causing issues with the new experimental APIs and their tests. Both the APIs and their tests first read the value of the pref before modifying it so it can later be restored to its default value. The default value of a hidden pref is undefined, which was causing errors. It's not a particularly sensitive pref, so I think unhiding it is preferable to finding a workaround to get the APIs/tests working with hidden prefs.

Differential Revision: https://phabricator.services.mozilla.com/D101799
2021-01-14 23:44:04 +00:00
harry
590ead4b17 Bug 1686811 - Call pickResult even when shouldNavigate payload property is set. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D101823
2021-01-14 23:08:58 +00:00
Narcis Beleuzu
3a21c5f3c1 Backed out changeset 663e0df951c7 (bug 1686767) for bustages on browser.ini . CLOSED TREE 2021-01-15 00:28:17 +02:00
harry
d9577b3393 Bug 1686767 - Unhide urlbar.extension.enabled pref and add experimental APIs to set it. r=adw
Having browser.urlbar.extension.enabled be a hidden pref was causing issues with the new experimental APIs and their tests. Both the APIs and their tests first read the value of the pref before modifying it so it can later be restored to its default value. The default value of a hidden pref is undefined, which was causing errors. It's not a particularly sensitive pref, so I think unhiding it is preferable to finding a workaround to get the APIs/tests working with hidden prefs.

Differential Revision: https://phabricator.services.mozilla.com/D101799
2021-01-14 21:49:02 +00:00
harry
e6484a5df5 Bug 1686127 - Support text highlighting in dynamic results. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D101412
2021-01-12 19:53:15 +00:00
Drew Willcoxon
6944af4675 Bug 1579964 - Update the urlbar experiments doc for the new experimental API development model. r=harry
I focused this on fixing what the bug describes: updating the doc for our new
development model where we create experimental APIs inside each extension
instead of landing APIs in mozilla-central. There are a number of other changes
I want to make to this doc but didn't here in order to keep it scoped. I filed
bug 1684069 for those other changes. I can imagine that some of the changes that
this patch makes will be overidden or updated by that bug.

This also fixes a broken link or two.

Differential Revision: https://phabricator.services.mozilla.com/D100417
2021-01-12 19:44:58 +00:00
Dale Harvey
b54c716789 Bug 1685619 - Add shouldNavigate property to dynamic urlbar results r=harry
Differential Revision: https://phabricator.services.mozilla.com/D101230
2021-01-12 17:05:40 +00:00
Alexis Beingessner
7b0d5a09cc Bug 1683730 - disabled tests failing with tsan full shutdown. r=decoder
Seems like all timeouts at various levels.

Differential Revision: https://phabricator.services.mozilla.com/D100269
2021-01-08 20:08:29 +00:00