Commit Graph

86 Commits

Author SHA1 Message Date
Dave Townsend
65dcbf0b37 Bug 1721647: Add a stub page data service API to enable parallel development. r=mak
This adds the stub API for the page data service and some basic docs. The service can be used from
xpcshell tests and the events respond with sane data. As there are no consumers currently the
in-memory cache never clears.

Differential Revision: https://phabricator.services.mozilla.com/D120498
2021-07-26 18:23:06 +00:00
Cosmin Sabou
393d2a3fd1 Backed out changeset e9a336383b55 (bug 1721647) for bc failures on browser_all_files_referenced.js. CLOSED TREE 2021-07-26 20:04:46 +03:00
Dave Townsend
a9ee86fdb3 Bug 1721647: Add a stub page data service API to enable parallel development. r=mak
This adds the stub API for the page data service and some basic docs. The service can be used from
xpcshell tests and the events respond with sane data. As there are no consumers currently the
in-memory cache never clears.

Differential Revision: https://phabricator.services.mozilla.com/D120498
2021-07-26 15:30:58 +00:00
Marian-Vasile Laza
cfc5ecb63a Backed out changeset 2035b7835ff6 (bug 1721647) for causing bc failures on browser_all_files_referenced.js. CLOSED TREE 2021-07-26 17:52:34 +03:00
Dave Townsend
660210e5ce Bug 1721647: Add a stub page data service API to enable parallel development. r=mak
This adds the stub API for the page data service and some basic docs. The service can be used from
xpcshell tests and the events respond with sane data. As there are no consumers currently the
in-memory cache never clears.

Differential Revision: https://phabricator.services.mozilla.com/D120498
2021-07-26 12:51:42 +00:00
Michael Kohler
1be16968ee Bug 1701990 - Remove Drag Space r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D111011
2021-04-11 11:42:57 +00:00
Butkovits Atila
6fcf242672 Backed out changeset 2ee25a7f42f2 (bug 1701990) for causing failures at browser_970511_undo_restore_default.js. CLOSED TREE 2021-04-10 10:50:31 +03:00
Michael Kohler
6ef0e4de5c Bug 1701990 - Remove Drag Space r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D111011
2021-04-10 06:10:15 +00:00
Mark Banner
fa234e703d Bug 1681382 - Drop BrowserSearch.record*SearchInTelemetry and call BrowserSearchTelemetry direct. r=daleharvey
Depends on D99206

Differential Revision: https://phabricator.services.mozilla.com/D99207
2020-12-10 23:40:58 +00:00
Mark Banner
4309bd5e99 Bug 1664849 - Extend ad impression/click telemetry to organic SERPS. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D97493
2020-11-20 13:40:09 +00:00
Butkovits Atila
567861d45c Backed out changeset aaee4ba7af2e (bug 1664849) for failures on test_urlTelemetry.js. CLOSED TREE 2020-11-20 14:32:42 +02:00
Mark Banner
c51fadb819 Bug 1664849 - Extend ad impression/click telemetry to organic SERPS. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D97493
2020-11-20 10:25:48 +00:00
Jared Wein
1cacf7d2fc Bug 1665391 - Add telemetry to measure effectiveness of 2h2020 bookmarks changes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D97251
2020-11-19 16:01:25 +00:00
Sylvestre Ledru
34821e90ae Bug 1588458 - Replace dxr by searchfox in the rst doc r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D49140
2020-10-08 08:13:15 +00:00
Kirk Steuber
206989e70f Bug 1647422 - Collect the profile count to report via telemetry r=chutten,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86409
2020-08-13 14:51:20 +00:00
Dave Townsend
4b134e74e8 Bug 1620358: Gather telemetry on toolbar state. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D78393
2020-06-16 21:06:15 +00:00
Molly Howell
c78a4ffc6c Bug 1602463 Part 3 - Windows default browser agent. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61889
2020-03-16 20:16:25 +00:00
Mihai Alexandru Michis
583b30fd99 Backed out 5 changesets (bug 1602463) for causing diffoscope failures.
CLOSED TREE

Backed out changeset ff565862e785 (bug 1602463)
Backed out changeset 2583a2703658 (bug 1602463)
Backed out changeset 8f3de97c5d50 (bug 1602463)
Backed out changeset be11972a8149 (bug 1602463)
Backed out changeset 5a6058d8266c (bug 1602463)
2020-03-16 20:29:20 +02:00
Molly Howell
5fb5aa36fa Bug 1602463 Part 3 - Windows default browser agent. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61889
2020-03-16 15:11:17 +00:00
Dan Mosedale
81481e1dee Bug 1616963 - surface ASRouter docs to firefox-source-docs, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D63539
2020-02-27 09:06:31 +00:00
Matthew Noorenberghe
a0396b5df3 Bug 1595953 - Connect UITour-lib.js docs to sphinx-js to publish on firefox-source-docs. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D52772
2019-11-13 02:40:03 +00:00
Harry Twyford
50ff1b7cd0 Bug 1589135 - Add Touch Bar documentation. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D49665
2019-11-05 10:05:49 +00:00
Dorel Luca
b7d43fd116 Backed out changeset 35d4451f348d (bug 1588458) as requested by the dev 2019-10-15 19:04:22 +03:00
Sylvestre Ledru
21db358eeb Bug 1588458 - Replace dxr by searchfox in the doc r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49140
2019-10-15 15:27:13 +00:00
Michael Kaply
e45d30657d Bug 158968 - Implement kiosk mode. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41848
2019-10-04 19:47:56 +00:00
Mark Banner
df6f40f106 Bug 1578938 - Correctly move the urlbar documentation up a folder. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D44801
2019-09-05 13:28:23 +00:00
Mark Banner
f86fcfbab5 Bug 1567121 - Re-arrange the docs under browser/ so that they all fall under the top-level 'Firefox' docs page. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D42567
2019-08-20 17:14:50 +00:00
Drew Willcoxon
cb7e855b5c Bug 1566932 - Move quantumbar docs to browser/components/urlbar/docs. r=mak
* Move AddressBar.rst into a new browser/components/urlbar/docs directory
* Break it up into several files, which makes the patch look way bigger than it really is because I used `hg cp` to preserve blame
* Add an Experiments & Extensions file/subsection, to be written later
* Rewrite the intro a little for wording and also to reflect the fact that quantumbar has shipped, and also tweak the wording of some subsection titles

Differential Revision: https://phabricator.services.mozilla.com/D38938
2019-07-23 17:54:03 +00:00
Dão Gottwald
2796866c06 Bug 1564830 - Remove userInitiatedFocus flag. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37540
2019-07-11 07:48:42 +00:00
Andreea Pavel
9272babf98 Backed out changeset c602dc47afce (bug 1564830) ES lint failure on a CLOSED TREE 2019-07-10 19:11:54 +03:00
Dão Gottwald
a67a02f13e Bug 1564830 - Remove userInitiatedFocus flag. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37540
2019-07-10 15:40:50 +00:00
Dão Gottwald
d2894e5c84 Bug 1528605 - Remove UrlbarInput::closePopup in favor of UrlbarView::close. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37550
2019-07-10 15:25:35 +00:00
Marco Bonardo
4c1dc8c278 Bug 1551898 - Replace UrlbarProvider.sources with a more flexible solution. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D31272
2019-05-17 14:25:47 +00:00
Marco Bonardo
d73773cca1 Bug 1548817 - Quantum Bar controller notifications may arrive out of order. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D30082
2019-05-08 21:14:33 +00:00
Drew Willcoxon
ef9feda30b Bug 1545916 - Make quantumbar match highlighting case insensitive. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D28751
2019-04-25 18:12:06 +00:00
Bogdan Tara
685a092891 Backed out changeset 2fb18533192e (bug 1545916) for test_tokenizer.js failures CLOSED TREE 2019-04-25 19:57:27 +03:00
Drew Willcoxon
2a4f8995cb Bug 1545916 - Make quantumbar match highlighting case insensitive. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D28751
2019-04-25 08:56:47 +00:00
Drew Willcoxon
89d97a3ced Bug 1524550 - Remove UrlbarQueryContext's lastKey property. r=mak
This assumes that the current direction in bug 1522278 is the one we want, which it's looking like it is.

Differential Revision: https://phabricator.services.mozilla.com/D27854
2019-04-17 15:19:23 +00:00
championshuttler
2cb7df72c9 Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc'. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24536
2019-03-22 19:30:34 +00:00
Drew Willcoxon
3bde43c06c Bug 1529931 - Prevent autofill flicker and fix cases where we're not autofilling but should be. r=mak
* In nsAutoCompleteController, the logic that determines whether the new search is a prefix of the old search is only done in HandleText, i.e., on input, not when the value is set programmatically.

* That logic is a lot more complex in nsAutoCompleteController.

* nsAutoCompleteController autofills in one case where quantumbar doesn't: when completing the "placeholder" string before starting a new search and waiting for the async results (thereby preventing flicker).

* Some nsAutoCompleteController state gets reset each time the awesomebar is focused (see calls to attachController() in the autocomplete binding, which sets the controller's input, which calls ResetInternalState()). That state is important in regard to autofill and the placeholder string. If it's not reset, then the autofill of one search will incorrectly affect the autofill of a later search.

Differential Revision: https://phabricator.services.mozilla.com/D22306
2019-03-20 17:07:15 +00:00
Boris Zbarsky
b61174af9c Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D17327
2019-02-28 01:09:48 +00:00
Marco Bonardo
5b6cdb6110 Bug 1496685 - Implement UrlbarController::viewContextChanged. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20841
2019-02-26 15:30:10 +00:00
Drew Willcoxon
4920730641 Bug 1524714 - @ by itself should show all the engine @aliases. r=mak,dao
The main part of the corresponding logic in the legacy urlbar is here: https://hg.mozilla.org/mozilla-central/annotate/73a91e84dbec/toolkit/content/widgets/autocomplete.xml#l1964

This patch basically just ports that.

Differential Revision: https://phabricator.services.mozilla.com/D18771
2019-02-08 08:53:07 +00:00
Drew Willcoxon
a1d649b4dc Bug 1524718 - Replace context.autofillValue with result.autofill, and autofill results when they're selected. r=mak
We should replace the context.autofillValue property with a result.autofill property. When the view selects results, it already notifies the input about it by calling input.setValueFromResult(). So we can modify setValueFromResult to check for the presence of result.autofill and thereby get autofill "for free".

result.autofill is an object: { value, selectionStart, selectionEnd }

This is going to help me implement bug 1521702.

One potentially cool thing about doing autofill this way is that any result can now trigger autofill, not only the heuristic result, and do it easily. Of course the user isn't typing when they select a non-heuristic result, so it's probably not fair to call that "autofill", but the result can trigger the selection aspect of autofill. As one example, that might be interesting for search suggestions: Type "foo", key down to the "foobar" suggestion, and the "bar" substring is automatically selected.

Differential Revision: https://phabricator.services.mozilla.com/D18618
2019-02-07 00:30:04 +00:00
Narcis Beleuzu
7eff442b15 Backed out changeset f89acdbfa432 (bug 1524718) for bc failures on browser_urlbar_locationchange_urlbar_edit_dos.js. CLOSED TREE 2019-02-06 19:42:16 +02:00
Drew Willcoxon
69c0c200c6 Bug 1524718 - Replace context.autofillValue with result.autofill, and autofill results when they're selected. r=mak
We should replace the context.autofillValue property with a result.autofill property. When the view selects results, it already notifies the input about it by calling input.setValueFromResult(). So we can modify setValueFromResult to check for the presence of result.autofill and thereby get autofill "for free". (The one place where the view doesn't call input.setValueFromResult() when a result is selected is when it selects the preselected result, so this patch adds that.)

result.autofill is an object: { value, selectionStart, selectionEnd }

This is going to help me implement bug 1521702.

One potentially cool thing about doing autofill this way is that any result can now trigger autofill, not only the heuristic result, and do it easily. Of course the user isn't typing when they select a non-heuristic result, so it's probably not fair to call that "autofill", but the result can trigger the selection aspect of autofill. As one example, that might be interesting for search suggestions: Type "foo", key down to the "foobar" suggestion, and the "bar" substring is automatically selected.

Differential Revision: https://phabricator.services.mozilla.com/D18618
2019-02-06 16:38:27 +00:00
Dão Gottwald
775ea837ee Bug 1522425 - Rename MATCH_SOURCE to RESULT_SOURCE. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17837
2019-01-29 09:29:21 +00:00
Dão Gottwald
e26ce1f3cf Bug 1522426 - Rename MATCH_TYPE to RESULT_TYPE. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17628
2019-01-25 16:14:21 +00:00
Dão Gottwald
8d73b5ad79 Bug 1515306 - Rename UrlbarMatch to UrlbarResult. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17481
2019-01-24 11:23:20 +00:00
Drew Willcoxon
1244448bdf Bug 1520907 - Rename QueryContext to UrlbarQueryContext. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17033
2019-01-23 00:39:07 +00:00