Commit Graph

3375 Commits

Author SHA1 Message Date
James Teow
2423c61e3e Bug 1920493 - Clear search mode in Persisted Search when loading a default SERP - r=adw,urlbar-reviewers
In the patch where I ensure the correct `searchMode` is added, I didn't consider the possibility a user could return to a default SERP. Thus, if there was a search mode chiclet, it should be cleared.

Differential Revision: https://phabricator.services.mozilla.com/D223141
2024-09-24 03:32:02 +00:00
abhishekmadan30
9605ca52bd Bug 1895334 - Grey out Copy without Site Tracking option when nothing can be stripped. r=pbz,urlbar-reviewers,anti-tracking-reviewers,dao
Co-authored-by: Manuel Bucher <manuel@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D215815
2024-09-23 22:11:50 +00:00
mcheang
38e8fa20a9 Bug 1917992 - Add scalar telemetry for picked restrict keyword result and glean telemetry for abandonment and engagement. r=mak,urlbar-reviewers
This patch adds telemetry for when the user sees or interacts with restrict keyword results.
Following is an overview of the interactions that will trigger the telemetry to be recorded:

When the user types `@` and selects one of the restrict results, the scalar telemetry will be recorded:

  - `urlbar.picked.restrict_keyword_tabs`
  - `urlbar.picked.restrict_keyword_bookmarks`
  - `urlbar.picked.restrict_keyword_history`
  - `urlbar.picked.restrict_keyword_actions`

For example, we can select the tabs result in multiple ways for the telemetry to be recorded:
  - type`@` and click on tabs result
  - type`@` and arrow down to tabs result and press enter
  - type partial keyword `@t` and press enter to autofill
  - type partial keyword `@t` and press tab and then enter


When the user types `@` and **does not** select one of the restrict results, the glean abandonment will be recorded:
```
    groups:
      "general,general,general,general,general,general,restrict_keyword,restrict_keyword,restrict_keyword,restrict_keyword",
    results:
      "search_engine,search_engine,search_engine,search_engine,search_engine,search_engine,restrict_keyword_bookmarks,restrict_keyword_tabs,restrict_keyword_history,restrict_keyword_actions",
```

When the user types `@` and **does** select one of the restrict results, the glean engagement will be recorded:
```
    groups:
      "general,general,general,general,general,general,restrict_keyword,restrict_keyword,restrict_keyword,restrict_keyword",
    results:
       "search_engine,search_engine,search_engine,search_engine,search_engine,search_engine,restrict_keyword_bookmarks,restrict_keyword_tabs,restrict_keyword_history,restrict_keyword_actions",
    selected_result: `restrict_keyword_${category}`,
```

For the `selected_result` in engagement telemetry, the `category` variable will be `tabs, bookmarks, history, or actions`.

Differential Revision: https://phabricator.services.mozilla.com/D222355
2024-09-23 18:21:41 +00:00
James Teow
9f2653fd25 Bug 1913312 - Enable Persisted Search for non-default app provided search engines - r=adw,urlbar-reviewers
There's two main changes:

- Change `getSearchTermIfDefaultSerpUri` to enable it work for any app-provided engine.
- Show the correct Search Chicklet / Unified Search Mode Chicklet when the user loads a non-default SERP. Recall that Persisted Search is enabled in Nightly independent of Scotch Bonnet.

**Issue 1:**

 `this.searchMode` is not always known or consistent with the non-default search page when `setURI` is called.

Some scenarios:

- Clear search mode, switch tab, return to the original. The absence of search mode seems acceptable because the user was potentially in the middle of modifying their search or navigating to a URL.
- Clear search mode and reload a non-default SERP.
- Switch search mode, but reload non-default SERP.
- Go back/forward in tabhistory to return to a non-default SERP.

In the latter three cases, if the search terms were to persist again, I'd expect the most accurate search mode to be present.

**Issue 2:**

`userTypedValue` has been used as an indicator for whether or not search terms should persist. However, entering search mode causes userTypedValue to have a value, so that it can be restored when switching back to the current tab and across sessions. Thus, on blur, I have a slightly more complicated check to ensure the revert button is consistent regardless of whether the engine is default or non-default.

**Issue 3:**

Lastly, it's possible for the revert button to show up when switching from tab to tab while the address bar is focused. I added an additional check in this patch since it's a small addition, but I can move it out if it overcomplicates things.

I'm not 100% confident my solution is ideal since I ended up having to add hacky awaits in `browser_UrlbarInput_searchTerms_searchMode.js` for the search mode to appear...

Differential Revision: https://phabricator.services.mozilla.com/D222846
2024-09-20 19:59:45 +00:00
Florian Quèze
cd093f0a88 Bug 1918702 - Migrate telemetry events to use Glean APIs for screenshots, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D222607
2024-09-20 13:58:19 +00:00
Daisuke Akatsuka
4bbadf1a69 Bug 1914390: Stop observing if scotch bonnnet is disabled r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D222744
2024-09-20 00:58:02 +00:00
Joel Maher
04cf186cea Bug 1917223 - re-enable many tests on browser/components/[pri*-urlbar]/**/browser.toml. r=aryx,sessionstore-reviewers,tabbrowser-reviewers,translations-reviewers,omc-reviewers,urlbar-reviewers,dao,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D221309
2024-09-18 23:37:52 +00:00
Daisuke Akatsuka
3ac1f45cb0 Bug 1918625: Fix a11y-checks errors r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D222430
2024-09-18 21:21:25 +00:00
Yazan Al Macki
e202ce97df Bug 1874543 - Fix intermittent failure in browser_searchTips_interaction.js. r=urlbar-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D222630
2024-09-18 14:22:06 +00:00
Marco Bonardo
4af32e7c32 Bug 1898155 - Untrim URL in the address bar immediately when focused by keyboard. r=jteow,urlbar-reviewers
When focusing the urlbar with the mouse we must avoid modifying or
shifting the URL to support operations like double-click or drag to select.
When focusing with the keyboard though we don't have such restrictions
and we can make editing and selection more visually coherent.
This patch is not intercepting commands on mainKeyset, because F6 and
TAB bypass all of that. We instead detect focus following a keydown,
though we must avoid untrimming on TabSelect shortcuts.
Note direct calls to .focus() without a peripheral follow the mouse
behavior, because code (external callers) and tests rely on that.

Differential Revision: https://phabricator.services.mozilla.com/D222138
2024-09-18 14:12:05 +00:00
Ben Dean-Kawamura
b410d3bf0f Bug 1919362 - Add Suggest metrics, r=adw,urlbar-reviewers
I added them to the urlbar metrics.yaml file since this is where the
`RustSuggest` component is consumed.

Differential Revision: https://phabricator.services.mozilla.com/D222506
2024-09-18 14:05:15 +00:00
James Teow
d5710cd89a Bug 1919193 - Simplify Persisted Search UI - r=adw,desktop-theme-reviewers,urlbar-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D222489
2024-09-18 04:44:31 +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
Marco Bonardo
c9cadb9fef Bug 1909189 - Don't shift URL in the Address Bar on mouse focus, delay DOM changes to the first input event. r=jteow,daleharvey,desktop-theme-reviewers,urlbar-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D221031
2024-09-16 08:30:48 +00:00
James Teow
32a513aca6 Bug 1918176 - Restrict Persisted Search to App Provided Engines - r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D222165
2024-09-14 03:21:33 +00:00
Daisuke Akatsuka
12ba476194 Bug 1913199: Clear userTypedValue when closing the urlbar view if search mode is preview r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D221926
2024-09-13 22:45:17 +00:00
Daisuke Akatsuka
68985d48ee Bug 1913205: Display url upon pressing shift/ctrl for switch to tab suggestion r=desktop-theme-reviewers,daleharvey,dao
Differential Revision: https://phabricator.services.mozilla.com/D221759
2024-09-13 22:09:33 +00:00
Daisuke Akatsuka
b4f5e812ce Bug 1915250: Open search engine page directly if click/enter with shiftKey r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D221003
2024-09-13 22:08:26 +00:00
Dale Harvey
e230b4cd2c Bug 1917186 - Escape searchMode when uses presses Esc. r=daisuke,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221800
2024-09-13 20:27:31 +00:00
Cristian Tuns
65d71807dd Backed out changeset 78d0a0c70d7c (bug 1918411) for causing bc failures in browser_quicksuggest_fakespot.js CLOSED TREE 2024-09-13 10:43:48 -04:00
Francesco Lodolo (:flod)
427afe7eb9 Bug 1918411 - Use explicit NUMBER() in Fluent plurals, update docs, r=bolsson,credential-management-reviewers,devtools-reviewers,places-reviewers,omc-reviewers,urlbar-reviewers,nchevobbe,daisuke,dimi,mviar
Differential Revision: https://phabricator.services.mozilla.com/D221992
2024-09-13 13:34:52 +00:00
Drew Willcoxon
405e2eb591 Bug 1918307 - Allow keyword exposures to be recorded for a subset of exposure results. r=mak
Depends on D221912

Differential Revision: https://phabricator.services.mozilla.com/D221916
2024-09-12 23:45:42 +00:00
Drew Willcoxon
21dfca244b Bug 1918299 - Add a terminal extra key to the urlbar exposure event. r=mak
Please see the bug for context and motivation.

I found a problem with the `terminal` calculation I added in bug 1915507
D220501. Basing it on query contexts isn't quite right. Ideally, for visible
results, `terminal` will be true iff the result is in `view.visibleResults` at
the end of the session, i.e., iff the result is recorded in the engagement or
abandonment event. Anything else would be confusing.

During the last query in a session, the view will be full of stale results from
previous queries. As the view updates itself, it will mark these rows as stale
and call `addExposure()` for them, passing in the current (final) query context.
It's not incorrect to add exposures since these rows are in fact visible. And if
the final query is canceled, they'll remain visible and actually be terminal
results. However, if the final query finishes without being canceled, the view
will remove these rows, and they won't be terminal at all, but since the view
called `addExposure()` for them with the final query context, `TelemetryEvent`
will think they are.

For visible exposures, the `terminal` calculation needs to be based on the
actual visible rows at the end of the session, same as how the results in the
engagement/abandonment events are determined. For hidden exposures, we can just
use `queryContext.results`.

Differential Revision: https://phabricator.services.mozilla.com/D221912
2024-09-12 23:45:42 +00:00
Mark Banner
aabcf18c26 Bug 1917530 - Fix some ESLint no-shadow issues in misc code. r=frontend-codestyle-reviewers,perftest-reviewers,translations-reviewers,omc-reviewers,migration-reviewers,webcompat-reviewers,urlbar-reviewers,dao,twisniewski,sparky,mconley,emcminn,mossop
Differential Revision: https://phabricator.services.mozilla.com/D221443
2024-09-12 21:08:44 +00:00
Sandor Molnar
b59809ee6a Backed out 8 changesets (bug 1917532, bug 1575506, bug 1917530) for causing node newtab failures CLOSED TREE
Backed out changeset 8d6f7bc74d08 (bug 1917532)
Backed out changeset 7c963e72cf06 (bug 1575506)
Backed out changeset d5e110187781 (bug 1917530)
Backed out changeset 1d2325ffded6 (bug 1917530)
Backed out changeset 8a361e37e32c (bug 1917530)
Backed out changeset c4011d92c7f7 (bug 1917530)
Backed out changeset 1a45047dfb3c (bug 1917530)
Backed out changeset ed6b35444c45 (bug 1917530)
2024-09-12 20:45:28 +03:00
Mark Banner
e3981e1099 Bug 1917530 - Fix some ESLint no-shadow issues in misc code. r=frontend-codestyle-reviewers,perftest-reviewers,translations-reviewers,omc-reviewers,migration-reviewers,webcompat-reviewers,urlbar-reviewers,dao,twisniewski,sparky,mconley,emcminn,mossop
Differential Revision: https://phabricator.services.mozilla.com/D221443
2024-09-12 16:41:58 +00:00
Daisuke Akatsuka
dda4bd5ee8 Bug 1913200: Focus the first item when opened by keypress only r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D221753
2024-09-11 19:59:46 +00:00
Drew Willcoxon
333d2a9ac1 Bug 1915766 - Add a Nimbus variable that hides the Suggest UI. r=daisuke,settings-reviewers,mossop
This makes `browser_search_firefoxSuggest.js` more realistic by installing a
Nimbus experiment to change the Suggest scenario instead of manually setting the
scenario via the helper function. (The "scenario" just means whether Suggest is
enabled or not, basically. "history" means it's not enabled; "offline" and
"online" mean it's enabled. The difference between the latter two is that in
"online" the user has opted in to the Merino server, and that only means one of
the Suggest prefs is true instead of false.)

I noticed `browser_privacy_firefoxSuggest.js` does not check the visibility of
its Suggest section at all, so I added similar tasks to it and factored out the
common helpers into `head.js`.

Depends on D221097

Differential Revision: https://phabricator.services.mozilla.com/D221099
2024-09-11 19:40:01 +00:00
Drew Willcoxon
8c6acb1e3d Bug 1916873 - Allow Suggest to be safely enabled in non-Suggest locales. r=daisuke,settings-reviewers,mossop
In addition to addressing the bug, this also adds some exposure tests to make
sure that they can be triggered in non-Suggest locales and that non-exposure
suggestions are not triggered.

Depends on D220501

Differential Revision: https://phabricator.services.mozilla.com/D221097
2024-09-11 19:39:59 +00:00
Drew Willcoxon
34a4542ebe Bug 1915507 - Replace potential exposures with keyword exposures. r=mak
This replaces the current potential exposures implementation with "keyword
exposures." The current implementation is based on a keyword list defined in
Nimbus. Keyword exposures improve on the following drawbacks to that approach:

* Potential exposures can't be recorded for existing result types without
  duplicating their keywords in the Nimbus list. The ability to record potential
  exposures for existing types is an idea from DS (Dave).
* They're unrelated to `exposure` telemetry, so we don't get an `exposure` event
  for them in the main ping, making it hard to correlate them with engagements
  and abandonments. This is another drawback pointed out by DS (Dave). (By
  design, we don't want to correlate individual keywords with
  engagements/abandonments for privacy reasons, but we do want to know whether a
  potential exposure was triggered during an engagement/abandonment without
  knowing the matching keywords.)
* Storing the keywords in Nimbus means the Nimbus recipe is at least as large as
  the keyword list. It's probably not a great idea to put thousands of keywords
  in the recipe JSON.
* The keyword-matching strategy is simplistic exact matching. It can't do more
  sophisticated strategies used for real results, like how we recently started
  using FTS in Suggest.

Keyword exposures as implemented by this revision improve on all that. Summary:

* Keyword exposures are implemented on top of existing `exposure` telemetry.
  They can be enabled for any result type, and they are always "in addition to"
  `exposure` telemetry.
* They're enabled with a new bool Nimbus variable. When true, they're recorded
  for all results that trigger `exposure` telemetry.
* They work with the new `Exposure` Rust suggestions (bug 1915317, bug 1893086,
  result type "rust_exposure"). In combination, `Exposure` suggestions and
  keyword exposures are the new way to do "potential exposures," i.e., exposure
  telemetry for hypothetical suggestions that includes matching keywords. Like
  every other Rust suggestion type, `Exposure` suggestions take their keywords
  from remote settings and can do sophisticated matching.

Other changes in this revision:

* Keyword exposures are recorded on each instance of a matched result. With the
  current approach, potential exposures are recorded per unique matched keyword.
  That gives us more info. I cleared this idea with Dave.
* Properly detect `terminal` cases by comparing the final query context with the
  context at the time of the exposure. The current detection is wrong because
  it's only based on search strings, which doesn't work because the final search
  string could also have been typed earlier in the session.
* In the feature manifest, change the branch of the related `setPref` variables
  from `default` to `user`. When an experiment is uninstalled, the Nimbus client
  [does *not* restore previous defaults](https://searchfox.org/mozilla-central/rev/446ff34da077a31d5550359480cb327f729c027b/toolkit/components/normandy/lib/PrefUtils.sys.mjs#119) for prefs set on the default branch. That
  breaks some of the tests and also doesn't seem good for users.

Differential Revision: https://phabricator.services.mozilla.com/D220501
2024-09-11 04:47:52 +00:00
Daisuke Akatsuka
1dd2731973 Bug 1914605: Define tooltip for search mode exit button r=daleharvey,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221092
2024-09-10 20:43:36 +00:00
Eemeli Aro
b3031aa097 Bug 1889417 - Fix minor Fluent bugs in various tests. r=fluent-reviewers,credential-management-reviewers,fxview-reviewers,places-reviewers,omc-reviewers,backup-reviewers,urlbar-reviewers,dimi,Standard8,nsharpley,mconley,flod,emcminn
Issues revealed by adding a `MOZ_ASSERT(false)` in Fluent error reporting and trawling through the resulting logs.

Differential Revision: https://phabricator.services.mozilla.com/D221421
2024-09-10 19:03:18 +00:00
Daisuke Akatsuka
36e28078b6 Bug 1914604: Update result by default engine if exiting the search mode r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D221098
2024-09-09 13:54:10 +00:00
Daisuke Akatsuka
51c5b9ed62 Bug 1913204: Apply container color border to secondary action button for tab switch r=desktop-theme-reviewers,urlbar-reviewers,daleharvey,dao
Differential Revision: https://phabricator.services.mozilla.com/D221114
2024-09-09 11:53:09 +00:00
Francesco Lodolo (:flod)
426d95862d Bug 1917163 - Update rstcheck to 6.2.4, fix resulting errors in documents, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D221287
2024-09-06 15:04:10 +00:00
Cristina Horotan
fcdbf602e5 Backed out changeset 4e2df2c48e4b (bug 1917163) for causing mozlint failure. CLOSED TREE 2024-09-06 16:57:11 +03:00
Francesco Lodolo (:flod)
d62c1a8e25 Bug 1917163 - Update rstcheck to 6.2.4, fix resulting errors in documents, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D221287
2024-09-06 12:17:06 +00:00
Joel Maher
3c323306ab Bug 1917158 - move some skip-if -> run-if for browser/components/**/browser.toml. r=sessionstore-reviewers,tabbrowser-reviewers,urlbar-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D221286
2024-09-06 10:08:18 +00:00
Drew Willcoxon
247ce81e9b Bug 1915317 - Integrate Rust exposure suggestions with desktop. r=daisuke
This integrates Rust exposure suggestions with desktop. Exposure suggestions are
a part of the replacement for the existing potential exposures feature
(bug 1881875). When we want to test potential exposures in the future, we can
add new exposure suggestions to remote settings and tell the Rust component to
ingest them and return them in queries. When the Rust component returns an
exposure suggestion, desktop will record it in exposure telemetry. (The other
part of the replacement is keyword exposure telemetry in bug 1915507 D220501).

More details about the design of exposure suggestions here:

* Bug 1893086
* https://github.com/mozilla/application-services/pull/6343

The way desktop tells the Rust component about different types of exposure
suggestions is through the new "provider constraints" feature. `ingest()` and
`query()` can take a `SuggestionProviderConstraints` object that changes what's
ingested and queried. Therefore, we need to re-ingest exposure suggestions when
the provider constraints change. Right now, exposure suggestions are the only
kind of suggestions that use provider constraints.

Depends on D220359

Differential Revision: https://phabricator.services.mozilla.com/D220359
2024-09-06 04:30:20 +00:00
Drew Willcoxon
f3302e8ef0 Bug 1914545 - Make UrlbarProviderQuickSuggest add all its suggestions instead of only the first. r=mak
Please see the bug for details.

This makes some changes to search strings and URLs in the tests that might look
unnecessary. They're due to switching to the QuickSuggestTestUtils helpers in
the head files instead of hardcoding the suggestions data. It's possible to
force the helpers to use the existing search strings and URLs that are used in
these tests, but it's good to be consistent with other tests that use these
helpers because it makes everything easier to understand.

Depends on D220352

Differential Revision: https://phabricator.services.mozilla.com/D219943
2024-09-06 04:30:20 +00:00
Norisz Fay
df377f83f3 Backed out changeset 76f7599ecbfa (bug 1914545) as requested by developer for causing Bug 1916458 CLOSED TREE 2024-09-03 23:23:42 +03:00
Dale Harvey
b0ce3c14e9 Bug 1893071 - Enter searchMode when using contextual search. r=Standard8,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D220071
2024-09-03 15:11:11 +00:00
Mark Banner
6f297d4ef8 Bug 1915550 - Fix document errors in urlbar dynamic-result-types. r=urlbar-reviewers,jteow
The error was:
ERROR: Unknown target name: "appendix b: using the webextensions api directly".

This is out of date documentation as we no longer support webextensions for dynamic result types.

Differential Revision: https://phabricator.services.mozilla.com/D220532
2024-09-02 14:38:07 +00:00
Karandeep
c81bb956f2 Bug 1838604 - Replace TestProvider with UrlbarTestUtils.TestProvider. r=mak,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D220561
2024-08-30 14:28:38 +00:00
Drew Willcoxon
887c7ed38f Bug 1915291 - Keep track of stale Suggest suggestion types and ingest only stale types when their feature is updated. r=daisuke
This keeps track of the enabled suggestion types that have been ingested while
the app is running. I call those types "fresh". In the code, they're stored in
the `#ingestedSuggestionTypes` set. Types that have not been ingested and types
that are disabled are called "stale". When a feature is updated, we update the
staleness bookkeeping in `#ingestedSuggestionTypes` and ingest only enabled
stale types.

This is similar to how each feature has an `#isEnabled` property. It's our
cached value of the last-known state that we can compare to the current state.

Depends on D219943

Differential Revision: https://phabricator.services.mozilla.com/D220352
2024-08-29 03:59:14 +00:00
Drew Willcoxon
bc60fd377d Bug 1914545 - Make UrlbarProviderQuickSuggest add all its suggestions instead of only the first. r=mak
Please see the bug for details.

This makes some changes to search strings and URLs in the tests that might look
unnecessary. They're due to switching to the QuickSuggestTestUtils helpers in
the head files instead of hardcoding the suggestions data. It's possible to
force the helpers to use the existing search strings and URLs that are used in
these tests, but it's good to be consistent with other tests that use these
helpers because it makes everything easier to understand.

Depends on D219942

Differential Revision: https://phabricator.services.mozilla.com/D219943
2024-08-27 20:12:55 +00:00
Drew Willcoxon
26cdd4f115 Bug 1914542 - Replace UrlbarResult.exposureResultType and exposureResultHidden with a single simple value. r=mak
This replaces `UrlbarResult.exposureResultType` and `exposureResultHidden` with
a single simple value called `exposureTelemetry`. Please see the bug for the
rationale.

Other changes:

* For convenience, make `UrlbarPrefs.get("exposureResults")` return a `Set` so
  consumers don't have to parse the string value.
* Simplify handling of result properties in `check_results()` (xpcshell tests)
* Add more tasks/checks to test_exposure.js

Depends on D219939

Differential Revision: https://phabricator.services.mozilla.com/D219942
2024-08-27 20:12:55 +00:00
Drew Willcoxon
7484290451 Bug 1914536 - Move some Suggest xpcshell test helpers from head.js to QuickSuggestTestUtils. r=mak
As part of bug 1914535, I'd like to move some Suggest xpcshell test helpers from
head.js to QuickSuggestTestUtils so that other tests outside the quicksuggest
directory can use them and also so that Suggest helpers are more centralized.

This doesn't make any functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D219939
2024-08-27 20:12:54 +00:00