Commit Graph

4171 Commits

Author SHA1 Message Date
Abhishek Madan
aa971cac82 Bug 1831363 - Converted SitePermissions.jsm to ES modules and all of its corresponding references. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D177380
2023-05-17 14:45:26 +00:00
Jared Hirsch
5c50139ecc Bug 1831519 - Re-enable browser_BrowserWindowTracker.js test r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D177683
2023-05-11 17:40:58 +00:00
cypherpunks1
b37ff6d130 Bug 1829140 - Avoid collecting some telemetry when MOZ_TELEMETRY_REPORTING is not set. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D176060
2023-05-11 12:28:12 +00:00
Karandeep
b4c779e1c3 Bug 1824609 convert consumers of toolkit/components/thumbnails/ to import ES modules directly. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D177197
2023-05-10 20:00:58 +00:00
Mark Banner
0fadbc1ec4 Bug 1829618 - Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D176336
2023-05-09 16:14:51 +00:00
Gijs Kruitbosch
9edab57783 Bug 1831514 - make assignments in .ini test manifests break parsing, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D177244
2023-05-05 14:25:38 +00:00
Barret Rennie
b64865ec5e Bug 1829478 - Fix intermittent in browser_UsageTelemetry_private_and_restore.js r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D177173
2023-05-04 17:39:33 +00:00
Kagami Sascha Rosylight
0db38fe58e Bug 1830384 - Skip cleanup when no sanitization happened r=hpeuckmann
D176147 falsely let the process always run; this should now skip it when not needed.

Differential Revision: https://phabricator.services.mozilla.com/D176709
2023-05-03 07:33:10 +00:00
anwar
37dde79fd5 Bug 1830075 - Put all mochitests under browser/extensions, browser/modules and browser/tools into alphabetical order. r=mconley,webcompat-reviewers,credential-management-reviewers,twisniewski,dimi
Differential Revision: https://phabricator.services.mozilla.com/D176839
2023-05-02 20:26:16 +00:00
Neil Deakin
044b5f4c4c Bug 1814210, switch ActivityStreamMessageChannel to use actor-based Remote Page Manager, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D171604
2023-04-25 12:26:24 +00:00
Kagami Sascha Rosylight
76b85e7701 Bug 1827390 - Reduce calls to maybeSanitizeSessionPrincipals r=hpeuckmann
Also initializes gPrincipalsCollector properly.

Differential Revision: https://phabricator.services.mozilla.com/D176147
2023-04-25 10:11:11 +00:00
Sandor Molnar
33f254d746 Backed out changeset 3ae01032459a (bug 1814210) for causing bc failures in browser/base/content/test/static/browser_all_files_referenced.js CLOSED TREE 2023-04-24 18:27:23 +03:00
Neil Deakin
f5cd08a0f6 Bug 1814210, switch ActivityStreamMessageChannel to use actor-based Remote Page Manager, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D171604
2023-04-24 14:27:58 +00:00
Barret Rennie
e2d9c7dd81 Bug 1810739 - Debounce tab count metric collection r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D168854
2023-04-22 04:32:24 +00:00
Shane Hughes
dfc60d7c49 Bug 1826299 - Use safe navigator for feature callout themes. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D175349
2023-04-14 16:47:58 +00:00
Chris H-C
a873954491 Bug 1827767 - Renew PingCentre send success/failure instrumentation r=TravisLong
We should be well and truly done with these before 120. Fingers crossed.

Differential Revision: https://phabricator.services.mozilla.com/D175392
2023-04-13 20:39:21 +00:00
Paul Zuehlcke
3ac336c40b Bug 1816420 - Add a test case for temporary permissions for file URIs. r=prathiksha
Depends on D167988

Differential Revision: https://phabricator.services.mozilla.com/D169233
2023-04-13 10:34:10 +00:00
Stephanie Cunnane
023227d6ea Bug 1814776 - Implement the SERP abandonment event. r=Standard8,jteow
Differential Revision: https://phabricator.services.mozilla.com/D171884
2023-04-12 19:25:31 +00:00
Jonathan Sudiaman
76828042bb Bug 1823995 - BrowserUsageTelemetry should record telemetry when opening History/Bookmark links via the context menu r=kcochrane
Ensure that `bookmark-item` and `history-item` scalars are updated when the corresponding links are opened in new tab/window via context menu.

Differential Revision: https://phabricator.services.mozilla.com/D174904
2023-04-11 19:30:49 +00:00
Russell Chan
b653cce8ee Bug 1825063 - Add ability to hide the arrow from the feature callout r=fxview-reviewers,omc-reviewers,aminomancer,sclements
Differential Revision: https://phabricator.services.mozilla.com/D174342
2023-04-11 14:01:03 +00:00
Bobby Holley
69fc50e315 Bug 1808431 — Reword second WebMIDI prompt. r=rpl,flod,desktop-theme-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D174814
2023-04-06 17:07:14 +00:00
Mark Banner
85d8bc064f Bug 1826702 - Convert PermissionTestUtils to an ES module. r=permissions-reviewers,settings-reviewers,media-playback-reviewers,pbz,padenot
Differential Revision: https://phabricator.services.mozilla.com/D174846
2023-04-06 15:07:56 +00:00
Hannah Peuckmann
359e3af2ee Bug 1578273 - Reduce calls to the PrincipalsCollector. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D162721
2023-03-31 13:47:39 +00:00
Shane Hughes
ca232ede40 Bug 1813716 - Encapsulate aboutwelcome container and make its ID more unique. r=omc-reviewers,fxview-reviewers,sfoster,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D172493
2023-03-29 21:51:09 +00:00
CanadaHonk
de0de3489c Bug 1801379 - Migrate Sinon.jsm to an ES module r=extension-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,fxview-reviewers,devtools-reviewers,Standard8,nchevobbe,sclements,dimi,mconley,bytesized,robwu
Migrated `testing/modules/Sinon.sys.mjs` to an ES module.

`testing` should now be 100% ESM 🎉

Differential Revision: https://phabricator.services.mozilla.com/D173643
2023-03-29 07:34:10 +00:00
Barret Rennie
fb10ef1df3 Bug 1772429 - Remove unused content process count / launch delta telemetry r=bdekoz
Differential Revision: https://phabricator.services.mozilla.com/D150212
2023-03-28 08:27:49 +00:00
Shane Hughes
7cf9a86c67 Bug 1818829 - Implement Feature Callout theme configuration. r=jprickett,omc-reviewers,fxview-reviewers,sfoster
Add logic to apply theme colors to Feature Callout based on where it's
going to show. We can use in-content CSS properties for Firefox View and
other themed system pages, but not for PDF.js, nor for any callouts we
might show in the browser chrome in the future. For the browser chrome
in general, we can use the lightweight theme properties directly, in the
same way the chrome frontend does. But PDF.js is a special case, since
although it exists in the chrome, it's meant to appear like it's in the
PDF.js viewer. And the PDF.js viewer has its own theme totally
independent of everything else. So this dynamically applies themes from
different sources.

This also fixes the bug where the PDF.js color scheme could mismatch the
PDF.js viewer if the browser theme and system color scheme don't match,
e.g. where system color scheme is light but a dark theme is installed,
or vice versa. For PDF.js specifically, we can use the
-moz-content-prefers-color-scheme media query to follow the color scheme
as it exists in the PDF.js viewer page instead of the color scheme in
the chrome window where the Feature Callout actually exists.

It also adds or modifies some colors that were previously missing or
different from the prototype, fixes the illegibility of buttons in HCM
and forced colors mode, and makes some other minor color changes.

Differential Revision: https://phabricator.services.mozilla.com/D173088
2023-03-28 00:38:42 +00:00
Cosmin Sabou
c31085cb42 Backed out changeset fecef27ba1fa (bug 1818829) for causing newtab failures on _feature-callout-theme.scss. CLOSED TREE 2023-03-28 02:46:44 +03:00
Shane Hughes
43bb7f08b0 Bug 1818829 - Implement Feature Callout theme configuration. r=jprickett,omc-reviewers,fxview-reviewers,sfoster
Add logic to apply theme colors to Feature Callout based on where it's
going to show. We can use in-content CSS properties for Firefox View and
other themed system pages, but not for PDF.js, nor for any callouts we
might show in the browser chrome in the future. For the browser chrome
in general, we can use the lightweight theme properties directly, in the
same way the chrome frontend does. But PDF.js is a special case, since
although it exists in the chrome, it's meant to appear like it's in the
PDF.js viewer. And the PDF.js viewer has its own theme totally
independent of everything else. So this dynamically applies themes from
different sources.

This also fixes the bug where the PDF.js color scheme could mismatch the
PDF.js viewer if the browser theme and system color scheme don't match,
e.g. where system color scheme is light but a dark theme is installed,
or vice versa. For PDF.js specifically, we can use the
-moz-content-prefers-color-scheme media query to follow the color scheme
as it exists in the PDF.js viewer page instead of the color scheme in
the chrome window where the Feature Callout actually exists.

It also adds or modifies some colors that were previously missing or
different from the prototype, fixes the illegibility of buttons in HCM
and forced colors mode, and makes some other minor color changes.

Differential Revision: https://phabricator.services.mozilla.com/D173088
2023-03-27 23:07:45 +00:00
Sarah Clements
a4c8117a6f Bug 1822016 - Update BrowserUsageTelemetry to account for history items r=Gijs
* Add new test cases to browser_UsageTelemetry_interaction.js

Differential Revision: https://phabricator.services.mozilla.com/D173411
2023-03-27 14:22:18 +00:00
Russell Chan
9b99372418 Bug 1791072 - Add focus to primary button in feature callout r=omc-reviewers,emcminn,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D172725
2023-03-23 16:21:41 +00:00
hanna alemu
92599868f8 Bug 1813809 - Implement safeguard for Feature Callout pref getter function r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D171925
2023-03-22 16:17:13 +00:00
Punam Dahiya
cefb307533 Bug 1820566 - Show FxA screen based of user import selection r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D172593
2023-03-22 05:51:12 +00:00
Stephanie Cunnane
14d14bef22 Bug 1823278 - Update consumers of toolkit/components/utils to import ES modules directly. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D172950
2023-03-22 02:02:51 +00:00
William Durand
a4e3ec09cc Bug 1820743 - Allow to move unified extensions button on the navbar. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D171845
2023-03-21 16:55:11 +00:00
Cristina Horotan
3afab63217 Backed out changeset 56de7c6ac457 (bug 1820743) for causing bc failures at browser_toolbarKeyNav.js CLOSED TREE 2023-03-21 16:16:47 +02:00
William Durand
7b68de7353 Bug 1820743 - Allow to move unified extensions button on the navbar. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D171845
2023-03-21 13:10:08 +00:00
William Durand
53fa5ffd91 Bug 1820124 - Remove addonManager.action/link/view Telemetry events. r=rpl,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171541
2023-03-20 20:11:15 +00:00
Francesco Lodolo (:flod)
fa28bcb157 Bug 1822388 - Move brandings.ftl from browser to toolkit, r=eemeli,settings-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sgalich,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D172643
2023-03-15 17:00:48 +00:00
Luca Greco
cbfb887f86 Bug 1819940 - Remove expired histogram EXTENSION_INSTALL_PROMPT_RESULT. r=willdurand
Depends on D171112

Differential Revision: https://phabricator.services.mozilla.com/D171113
2023-03-15 13:23:39 +00:00
aniket
aa471d15f4 Bug 1820882 - Convert consumers of toolkit/crashreporter to import ES modules directly r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D172545
2023-03-15 11:14:22 +00:00
Shane Hughes
c15ff9d17a Bug 1818099 - Feature Callout - more thorough cleanup. r=jprickett
Tear down all listeners when ending a Feature Tour. Also move some of
the references and module getters around to eliminate redundant imports
and define fewer properties on the window, to reduce our footprint on
the chrome window. Finally, make a few nitpick changes and improve the
documentation a bit.

Differential Revision: https://phabricator.services.mozilla.com/D170552
2023-03-14 23:21:03 +00:00
Robin Steuber
c7f37da43c Bug 1821189 - Associate provenance attribution with installation.first_seen event r=nalexander
We can't add the provenance data to the `installation.first_seen` extra data because it is already at its maximum number of keys. So instead we will add the `installation.first_seen_prov_ext` event which will be sent at the same time as `installation.first_seen` and will contain provenance attribution data in its extras object.

Differential Revision: https://phabricator.services.mozilla.com/D172520
2023-03-14 18:08:16 +00:00
Gijs Kruitbosch
431a56be8a Bug 1718082 - track current tab using browserId instead of top browsing context id for network prioritization purposes, r=nika,mconley,necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D171646
2023-03-13 17:32:08 +00:00
pmcmanis
ebd166f29c Bug 1818512 - mirror browser.engagement.profile_count to glean r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D170786
2023-03-13 14:15:33 +00:00
Lata
86dbcea07e Bug 1821897 - convert toolkit/components/remotepagemanager to ES modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D172385
2023-03-13 12:26:10 +00:00
Emilio Cobos Álvarez
1fcb289cb9 Bug 1821657 - Remove BrowserUIUtils.setToolbarButtonHeightProperty and related code. r=Gijs,desktop-theme-reviewers,dao
I don't see any visible issue on the reload / stop buttons without this.

Differential Revision: https://phabricator.services.mozilla.com/D172238
2023-03-13 11:56:55 +00:00
Robin Steuber
4e3121c527 Bug 1815023 - Call function to send attribution provenance telemetry r=nalexander,chutten
Make sure the the attribution telemetry gets sent in the `new-profile` ping and the `installation.first_seen` event.In other cases, send the telemetry when the browser is idle.

Differential Revision: https://phabricator.services.mozilla.com/D171819
2023-03-08 22:25:07 +00:00
Stanca Serban
488fe6df9c Backed out 3 changesets (bug 1819940) for causing Bug 1820248 and Bug 1820250 as requested by dev. CLOSED TREE
Backed out changeset 1bcff70fd329 (bug 1819940)
Backed out changeset 234b68df6453 (bug 1819940)
Backed out changeset 39c2d3bf84a2 (bug 1819940)
2023-03-03 23:34:59 +02:00
Luca Greco
9870cf2f73 Bug 1819940 - Remove expired histogram EXTENSION_INSTALL_PROMPT_RESULT. r=willdurand
Depends on D171112

Differential Revision: https://phabricator.services.mozilla.com/D171113
2023-03-03 11:45:30 +00:00