Tom Schuster
48c5102a90
Bug 1895770 - Improve the verification of the CSP in about: pages. r=tjr,freddyb,search-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D234484
2025-01-27 08:29:25 +00:00
Florian Quèze
466d8c2170
Bug 1935420 - rewrite more JS code storing histograms in local variables (includes changes done by hand), r=chutten,search-reviewers,anti-tracking-reviewers,sessionstore-reviewers,dao.
...
Differential Revision: https://phabricator.services.mozilla.com/D234009
2025-01-24 16:18:32 +00:00
Stephanie Cunnane
c4977b805b
Bug 1942929 - Fix typos in 'seperatePrivateDefaultUIEnabled' and 'seperatePrivateDefaultUrlbarResultEnabled' Nimbus variable names. r=search-reviewers,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D235077
2025-01-24 15:40:34 +00:00
Mike Conley
e9c91b99ec
Bug 1941026 - Decouple tippytop from the newtab codebase and move under the topsites component. r=pdahiya,jteow,home-newtab-reviewers,urlbar-reviewers,nbarrett
...
Differential Revision: https://phabricator.services.mozilla.com/D235316
2025-01-24 15:16:59 +00:00
Mark Banner
c73c87c505
Bug 1883685 - Migrate Nimbus searchConfiguration feature to use setPref instead of isEarlyStartup. r=beth,search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D234887
2025-01-23 16:37:41 +00:00
Mark Banner
99ef8eb766
Bug 1942099 - Clean up search entries in Nimbus' FeatureManifest.yml. r=search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D234535
2025-01-23 16:37:40 +00:00
Goloman Adrian
ee0f5caea1
Backed out 3 changesets (bug 1942658, bug 1942099, bug 1883685) for causing bc failures @browser_searchModeSwitcher_basic.js. CLOSED TREE
...
Backed out changeset cd11dcd0e242 (bug 1942658)
Backed out changeset ca53ba0147ff (bug 1883685)
Backed out changeset 29d42264efa5 (bug 1942099)
2025-01-23 15:14:37 +02:00
Mark Banner
44feb39ab5
Bug 1883685 - Migrate Nimbus searchConfiguration feature to use setPref instead of isEarlyStartup. r=beth,search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D234887
2025-01-23 11:49:53 +00:00
Mark Banner
88779c10f8
Bug 1942099 - Clean up search entries in Nimbus' FeatureManifest.yml. r=search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D234535
2025-01-23 11:49:52 +00:00
Mark Banner
dafdb27158
Bug 1937081 - Resolve intermittent issues in browser_searchbar_addEngine.js. r=search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D232062
2024-12-17 10:22:55 +00:00
Tom Schuster
373c42c006
Bug 1937548 - Remove inline event handler from MozSearchbar. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D232210
2024-12-16 17:51:03 +00:00
Butkovits Atila
8d8193af73
Backed out 2 changesets (bug 1935530, bug 1937081) for causing failures at browser_bookmarks_toolbar_telemetry.js. CLOSED TREE
...
Backed out changeset dcd504632080 (bug 1937081)
Backed out changeset 637d9804a655 (bug 1935530)
2024-12-14 02:20:35 +02:00
Mark Banner
1d8e60eeb0
Bug 1937081 - Resolve intermittent issues in browser_searchbar_addEngine.js. r=search-reviewers,scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D232062
2024-12-13 18:59:18 +00:00
Stephanie Cunnane
ddd3220375
Bug 1929971 - Ensure search tests clean up after themselves when mocking and stubbing with sinon.js. r=search-reviewers,jteow
...
Differential Revision: https://phabricator.services.mozilla.com/D231753
2024-12-11 23:18:04 +00:00
Adam Vandolder
2ba689d99e
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-05 01:20:07 +00:00
Goloman Adrian
05b7d33317
Backed out changeset 4d19e4620e63 (bug 1924861) for causing bc failures @browser_stop_pending.js. CLOSED TREE
2024-12-04 09:11:45 +02:00
Adam Vandolder
87c9038ba7
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-04 04:17:36 +00:00
Stephanie Cunnane
eefd24b53b
Bug 1929968 - Ensure the search unit tests use add_setup correctly. r=search-reviewers,jteow
...
Differential Revision: https://phabricator.services.mozilla.com/D230980
2024-12-03 16:38:37 +00:00
Cosmin Sabou
82fbc8fbe4
Backed out changeset a8d030efc4ea (bug 1924861) for causing bc failures on browser_stop_pending.
2024-12-02 01:21:14 +02:00
Adam Vandolder
f6e7455adc
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-01 04:13:01 +00:00
Sandor Molnar
7e190c9386
Backed out changeset b94afd94ed9c (bug 1924861) for causing multiple bc failures. CLOSED TREE
2024-11-30 20:40:15 +02:00
Adam Vandolder
5f7b028386
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-29 23:38:09 +00:00
Logan Rosen
d24c9d9ff4
Bug 1857834 - auto-formatting with Prettier v3 r=linter-reviewers,webdriver-reviewers,perftest-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,reusable-components-reviewers,profiler-reviewers,dom-storage-reviewers,android-reviewers,firefox-ai-ml-reviewers,hjones,mcheang,mstange,sparky,janv,nchevobbe,tarek,Standard8,markh
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D230598
2024-11-29 15:18:25 +00:00
Butkovits Atila
6a4f64d393
Backed out changeset 8c5bff1fa41a (bug 1924861) for causing failures at forward.py.
2024-11-26 12:51:09 +02:00
Adam Vandolder
fad0c07fe5
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-26 04:48:49 +00:00
Sandor Molnar
7058c42e18
Backed out changeset c64aebba09d9 (bug 1924861) for causing mochitest failures. CLOSED TREE
2024-11-26 03:17:30 +02:00
Adam Vandolder
2d308415a4
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-25 23:18:32 +00:00
Stephanie Cunnane
bf65f406f8
Bug 1930629 - Fix Bing follow-on searches selected from suggestion list that are incorrectly recorded as organic:none in telemetry. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D228892
2024-11-13 22:20:17 +00:00
Florian Quèze
938c54e883
Bug 1929129 - Remove the browser.search.data_transferred telemetry recording, r=search-reviewers,Standard8.
...
Differential Revision: https://phabricator.services.mozilla.com/D228300
2024-11-13 15:52:29 +00:00
Moritz Beier
b5c5b45a52
Bug 1924071 - Remove the purpose option from search URLs. r=Standard8,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D226165
2024-11-08 09:20:19 +00:00
Moritz Beier
4983a8b7fa
Bug 1916499 - Add searchForm support back to OpenSearch engines. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D225968
2024-11-04 13:53:51 +00:00
Stephanie Cunnane
c873aefe60
Bug 1927151 - Fix Bing follow-on searches incorrectly recorded as organic:none in telemetry. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D227266
2024-11-01 19:25:48 +00:00
Mark Banner
12b1c9c8a3
Bug 1928473 - Fix no-shadow and manifest section warnings (alphabetical) in search code. r=mbeier
...
Differential Revision: https://phabricator.services.mozilla.com/D227528
2024-11-01 14:17:03 +00:00
Butkovits Atila
edb20fc3fa
Backed out changeset e3b696297414 (bug 1928473) for causing failures at browser_searchbar_results.js. CLOSED TREE
2024-11-01 13:58:18 +02:00
Mark Banner
f0da7da6f6
Bug 1928473 - Fix no-shadow and manifest section warnings (alphabetical) in search code. r=mbeier
...
Differential Revision: https://phabricator.services.mozilla.com/D227528
2024-11-01 10:59:40 +00:00
Alexandru Marc
5a5f7b93df
Backed out 2 changesets (bug 1916505, bug 1916499) for causing bc failures @ browser_oneOffContextMenu.js
...
Backed out changeset dbd2ce7823c2 (bug 1916505)
Backed out changeset 5082d347bbf7 (bug 1916499)
2024-10-31 16:05:29 +02:00
Moritz Beier
36f3384408
Bug 1916499 - Add searchForm support back to OpenSearch engines. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D225968
2024-10-31 13:01:12 +00:00
Florian Quèze
6c9d1e646e
Bug 1923028 - Migrate scalars to use Glean APIs for urlbar.searchmode.*, r=chutten,search-reviewers,scunnane.
...
Differential Revision: https://phabricator.services.mozilla.com/D226510
2024-10-24 10:52:56 +00:00
Florian Quèze
8d2717cf5a
Bug 1923028 - Migrate scalars to use Glean APIs for browser.search.{content,withads,adclicks}.*, r=chutten,search-reviewers,scunnane.
...
Differential Revision: https://phabricator.services.mozilla.com/D226509
2024-10-24 10:52:56 +00:00
Florian Quèze
f15527ff77
Bug 1923028 - Migrate scalars to use Glean APIs for browser.engagement.navigation.*, r=chutten,search-reviewers,scunnane.
...
Differential Revision: https://phabricator.services.mozilla.com/D226372
2024-10-24 10:52:55 +00:00
Norisz Fay
9b743ec4a9
Backed out changeset 1de300781d3f (bug 1916499) for causing multiple search related failures CLOSED TREE
2024-10-18 22:17:36 +03:00
Moritz Beier
eedeed877c
Bug 1916499 - Add searchForm support back to OpenSearch engines. r=Standard8,urlbar-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D225968
2024-10-18 13:46:52 +00:00
James Teow
58e735c0ef
Bug 1895134 - Remove redundant telemetry test - r=scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D224945
2024-10-08 15:34:25 +00:00
James Teow
46c33defd6
Bug 1921092 - Simplify Persisted Search logic and make non-default engines consistent - r=adw,urlbar-reviewers
...
The main goal is to simplify the logic in setURI, and create a more easier to understand flow of operations.
It involves making Persisted Search more contained, offload some responsibilities to UrlbarSearchTermsPersistence, and store fewer state variables than the patch that was first reviewed. I also simplified code in UrlbarSearchTermsPersistence.
**How Search Terms Persist:**
**Step 1**
When the page first appears, set state for search terms persistence. First load doesn't necessarily mean no tab switch or same page load, as a user could load a browser in the background tab. In that latter case, the first "view" may occur on a tab switch and the state won't exist because `setURI` will never have been called with that browser object being selected.
Once the state has been set, the only property that could be updated is `shouldPersist`. Otherwise, don't update the state object unless a full new page load occurs.
**Step 2**
Call `shouldPersist`. This has all the logic for when search terms should persist and gets called anytime `setURI` is called.
The conditions in which we shouldn't persist:
- There's no reason to show search terms:
- The persist state is missing.
- There are no search terms extracted from the URL.
- We need to temporarily hide the search terms, such as by handleRevert
- `hideSearchTerms` is provided to setURI
- There is an user typed value and it differs from the search terms
- A single page application moved to a secondary page
- After the initial page load, there's the search mode (or lack of search mode) differs from the persist engine.
**Step 3**
Determine if we need to update `this.window.gBrowser.userTypedValue`. If we're going to persist, set `userTypedValue` to the search terms, which will keep the search mode and non-search mode state consistent. This'll also enable the ability to reuse existing logic that determines how to set `value`.
On same page loads, when switching from persist to non-persist, and search term equals the userTypedValue, then `null` the userTypedValue so that the URL shows.
**Step 4**
In the area of setURI which has logic for search mode, if we persist, ensure the search mode (or lack of search mode) is consistent with the engine. If it is, do nothing. If it isn't, either nullify the search mode or enter search mode.
Differential Revision: https://phabricator.services.mozilla.com/D224520
2024-10-08 04:12:29 +00:00
Florian Quèze
dc117303c1
Bug 1920723 - remove search.engine legacy telemetry event that has been replaced by a Glean event, r=Standard8,settings-reviewers.
...
Differential Revision: https://phabricator.services.mozilla.com/D223501
2024-09-30 18:26:04 +00:00
Moritz Beier
75d4af01f0
Bug 1775914 - Fix Intermittent browser/components/search/test/browser/browser_426329.js. r=search-reviewers,daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D222783
2024-09-23 07:06:36 +00:00
James Teow
43f2904306
Bug 1915856 - Enable region restrictions for SERP categorization - r=scunnane
...
Differential Revision: https://phabricator.services.mozilla.com/D220911
2024-09-18 13:58:35 +00:00
Stephanie Cunnane
15a072dd91
Bug 1603760 - Remove navigation.search legacy event telemetry. r=Standard8,urlbar-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D222362
2024-09-17 22:08:07 +00:00
Norisz Fay
4487d3a4cf
Backed out changeset 0a3a586fbbec (bug 1603760) for causing bc failures on browser_urlbar_telemetry_handoff.js CLOSED TREE
2024-09-18 00:37:24 +03:00
Stephanie Cunnane
771e4a43bb
Bug 1603760 - Remove navigation.search legacy event telemetry. r=Standard8,urlbar-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D222362
2024-09-17 19:27:56 +00:00