Commit Graph

151 Commits

Author SHA1 Message Date
Katherine Patenio
333197cd22 Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 16:46:18 +00:00
James Teh
fdca51c6f2 Bug 1570560: Remove message and disabling of content accessibility for very old JAWS versions. r=nlapre
Differential Revision: https://phabricator.services.mozilla.com/D180778
2023-06-19 04:24:08 +00:00
Mike Conley
1bfa3c24e2 Bug 1838056 - Make sure to load MigrationUtils in BrowserGlue. r=niklas
Bug 1823537 moved the registration of the MigrationWizard JSWindowActor pair
into MigrationUtils from BrowserGlue. This makes it so that the wizard can
be used properly in the scenario where BrowserGlue hasn't yet had a chance
to run (which is the case when we're showing the migration wizard on startup).

This, however, means that the actors aren't being registered unless MigrationUtils
is loaded, which is no longer the case having moved the registration outside of
BrowserGlue.

This means that the embedded migration wizard in about:welcome (and the spotlight
experience in bug 1837051) will not work until that module loads and the
registration occurs.

Differential Revision: https://phabricator.services.mozilla.com/D180725
2023-06-13 19:12:09 +00:00
Stanca Serban
ed6f3ad811 Backed out changeset 90a2e5f4b324 (bug 1838056) for causing mochitests failures in browser_startup.js. CLOSED TREE 2023-06-13 20:52:46 +03:00
Mike Conley
f05b94c652 Bug 1838056 - Make sure to load MigrationUtils in BrowserGlue. r=niklas
Bug 1823537 moved the registration of the MigrationWizard JSWindowActor pair
into MigrationUtils from BrowserGlue. This makes it so that the wizard can
be used properly in the scenario where BrowserGlue hasn't yet had a chance
to run (which is the case when we're showing the migration wizard on startup).

This, however, means that the actors aren't being registered unless MigrationUtils
is loaded, which is no longer the case having moved the registration outside of
BrowserGlue.

This means that the embedded migration wizard in about:welcome (and the spotlight
experience in bug 1837051) will not work until that module loads and the
registration occurs.

Differential Revision: https://phabricator.services.mozilla.com/D180725
2023-06-13 16:46:13 +00:00
Karandeep
d759f51203 Bug 1643887 - Move handling of search engine one-off hidden from preferences into the search settings. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D180229
2023-06-12 18:03:52 +00:00
Mike Conley
9dcf68ac4d Bug 1823537 - Use new migration wizard for startup and profile reset migrations. r=kpatenio,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D180230
2023-06-09 17:39:51 +00:00
Gregory Pappas
2a94685f31 Bug 1836027 - Remove browser.download.improvements_to_download_panel migrations r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D180290
2023-06-08 15:41:15 +00:00
Mark Banner
40de601f11 Bug 1834176 - Convert consumers of NetUtil.jsm to import the ES module directly. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-06-07 08:42:36 +00:00
Alexandre Lissy
0d4683513c Bug 1432719 - Notify user on speechd errors r=eeejay,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D176532
2023-06-06 06:28:14 +00:00
Iulian Moraru
3503a4a8ba Backed out changeset 4720a9935e8e (bug 1432719) as per dev's request. CLOSED TREE 2023-06-05 15:52:52 +03:00
Alexandre Lissy
34c655a131 Bug 1432719 - Notify user on speechd errors r=eeejay,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D176532
2023-06-05 11:32:39 +00:00
Rob Wu
bad812f243 Bug 1836482 - Replace AddonManager.jsm imports with AddonManager.sys.mjs r=Standard8,webcompat-reviewers,twisniewski
This patch was generated as follows:

Run:
`./mach esmify --imports . --prefix=toolkit/mozapps/extensions/AddonManager`
In the output there are linter/prettifier errors due to unused
XPCOMUtils or separate importESModule calls. These have been fixed
manually and verified with `./mach lint --outgoing`.

The `esmify` script also inserts many unwanted newlines around imports
that are broken on two lines due to length. Due to the number of these,
I fixed them programatically.

1. Create patch from the changes so far.
2. From the patch, delete all lines that consist of "+" (i.e. added blank line).
3. Reset the working dir and apply the revised patch.
4. Verify that the diff between step 1 and 3 looks reasonable.
5. Verify that this patch as a whole looks reasonable.

Commands:

```
git diff > rename.diff
:%g/^+$/d
git commit -va -m WIP-rename
git revert HEAD
git apply --recount rename.diff
git diff HEAD^  # and verify that the removed lines are ok.
git commit -va  # one last review to verify correctness of whole patch.
git rebase -i HEAD~3  # drop the WIP + reverted commit, pick only the last.
```

`git apply` has the `--recount` option to force it to ignore mismatches
in line counts, which happens because we deleted added lines (^+$)
without fixing up the line counts in the file headers.

Differential Revision: https://phabricator.services.mozilla.com/D179874
2023-06-04 13:44:45 +00:00
Mark Banner
232facd440 Bug 1824613 - Convert consumers of toolkit/mozapps/extensions/ to import ES modules directly. r=extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,sync-reviewers,sgalich,bytesized,robwu,skhamis
Depends on D179819

Differential Revision: https://phabricator.services.mozilla.com/D179820
2023-06-02 20:00:35 +00:00
Katherine Patenio
a408bb9d46 Bug 1834115 - migrate newtab/lib JSMs that do not import modules to ESMs r=Standard8,fxview-reviewers,omc-reviewers,aminomancer,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D178568
2023-05-30 22:44:42 +00:00
Mike Conley
e62aa51bdc Bug 1825874 - Offer to import passwords from a CSV file for Safari. r=kpatenio
Safari doesn't let us import all passwords from Keychain at once. Instead,
the user needs to authorize each read from Keychain one by one. This is
not tenable for password import.

Instead, we show the user instructions on how they can export their passwords
from Safari into a CSV file that can then be imported. This patch adds support
for showing those instructions (which had landed earlier in bug 1818789) and
then importing from that CSV file upon selection.

The data-review for the safari_password_file Telemetry event being used here
was done earlier in bug 1824786.

Differential Revision: https://phabricator.services.mozilla.com/D175669
2023-05-29 16:12:41 +00:00
Butkovits Atila
9664e002bb Backed out changeset 863fae78db03 (bug 1825874) for causing failures at browser_disabled_migrator.js. CLOSED TREE 2023-05-29 18:34:53 +03:00
Mike Conley
e359cbe532 Bug 1825874 - Offer to import passwords from a CSV file for Safari. r=kpatenio
Safari doesn't let us import all passwords from Keychain at once. Instead,
the user needs to authorize each read from Keychain one by one. This is
not tenable for password import.

Instead, we show the user instructions on how they can export their passwords
from Safari into a CSV file that can then be imported. This patch adds support
for showing those instructions (which had landed earlier in bug 1818789) and
then importing from that CSV file upon selection.

The data-review for the safari_password_file Telemetry event being used here
was done earlier in bug 1824786.

Differential Revision: https://phabricator.services.mozilla.com/D175669
2023-05-29 14:39:59 +00:00
Mark Banner
81c86b200c Bug 1834204 - Update more consumers to import ES modules directly. r=kpatenio,geckoview-reviewers,whimboo,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D178590
2023-05-26 11:36:33 +00:00
Kelly Cochrane
f5b163db5c Bug 1833218 - Create card container component to be used in Firefox View r=sclements
Creating new revision as a workaround for bug 1834868. The original revision was already R+ed here: https://phabricator.services.mozilla.com/D178473

Differential Revision: https://phabricator.services.mozilla.com/D179073
2023-05-25 13:14:18 +00:00
Stanca Serban
83d3ffb685 Backed out changeset b9da43bde2c9 (bug 1833218) for card_container related failures. CLOSED TREE 2023-05-24 22:13:02 +03:00
Kelly Cochrane
e98e708f30 Bug 1833218 - Create card container component to be used in Firefox View r=ayeddi,fluent-reviewers,fxview-reviewers,flod,sclements
Differential Revision: https://phabricator.services.mozilla.com/D178473
2023-05-24 17:19:46 +00:00
Katherine Patenio
99d830d71b Bug 1830418 - Convert browser/components/customizableui/CustomizableUI.jsm to ESM r=Standard8,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D177423
2023-05-24 15:52:34 +00:00
Natalia Csoregi
1b67d0b941 Backed out 3 changesets (bug 1834222, bug 1834176) for causing RemoteProcessMonitor failures. CLOSED TREE
Backed out changeset 346d3a1568dd (bug 1834222)
Backed out changeset ea1d8b634bfc (bug 1834176)
Backed out changeset 74d1880272d3 (bug 1834176)
2023-05-24 04:29:45 +03:00
Mark Banner
d1fc869252 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 19:09:29 +00:00
Noemi Erli
1f146f097e Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
Backed out changeset 57876d77a652 (bug 1834176)
Backed out changeset ae2f0837b528 (bug 1834176)
2023-05-23 12:14:37 +03:00
Mark Banner
08ff6c0ad9 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 08:13:08 +00:00
Mark Banner
0666077666 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
91fde42f7b Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Marco Bonardo
fe84c45462 Bug 1818461 - Remove the synchronous PlacesUtils.getChildCountForFolder().r=daisuke,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D175532
2023-05-19 12:17:17 +00:00
Pushpanjali
e60b51b744 Bug 1822010 - Convert toolkit/components/url-classifier to ES modules. r=perftest-reviewers,webcompat-reviewers,geckoview-reviewers,devtools-reviewers,twisniewski,valentin,m_kato,anti-tracking-reviewers,timhuang,sparky
Differential Revision: https://phabricator.services.mozilla.com/D173390
2023-05-18 12:21:12 +00:00
Harshit Sohaney
1a67d20cfd Bug 1826340 - Removed level2 PBM from ETP strict as it is now set as true by default pref from ETP strict. r=anti-tracking-reviewers,pbz
Differential Revision: https://phabricator.services.mozilla.com/D177308
2023-05-15 13:43:02 +00:00
Dan Robertson
0d2711b064 Bug 1830103 - general.smoothScroll value is preserved on UI migration. r=botond,mconley
The default value for general.smoothScroll is now calculated based on
the value of prefers-reduced-motion. Existing users with this
system-wide setting set, may have already configured the desired
behavior. Ensure that we do not overwrite their existing configuration.

Differential Revision: https://phabricator.services.mozilla.com/D176837
2023-05-11 21:50:50 +00:00
Eemeli Aro
7ee5628c88 Bug 1831851 - Migrate accounts.properties strings used by BrowserGlue.jsm to Fluent. r=sync-reviewers,fluent-reviewers,flod,markh
Differential Revision: https://phabricator.services.mozilla.com/D177602
2023-05-11 06:27:41 +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
Iulian Moraru
c03e27fe02 Backed out changeset b74999587e55 (bug 1830103) for causing xpcshell failures. CLOSED TREE 2023-05-08 22:19:51 +03:00
Dan Robertson
ce2146bd01 Bug 1830103 - general.smoothScroll value is preserved on UI migration. r=botond,mconley
The default value for general.smoothScroll is now calculated based on
the value of prefers-reduced-motion. Existing users with this
system-wide setting set, may have already configured the desired
behavior. Ensure that we do not overwrite their existing configuration.

Differential Revision: https://phabricator.services.mozilla.com/D176837
2023-05-08 17:42:26 +00:00
Eemeli Aro
c4a0a03711 Bug 1830042 - Migrate BG__showPlacesLockedNotificationBox() strings to Fluent. r=mak,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D176641
2023-05-02 18:34:41 +00:00
Kershaw Chang
ff47bdfda9 Bug 1829342 - Event telemetry for warning page loading and button clicking, r=valentin,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D176248
2023-04-27 15:43:35 +00:00
Bobby Holley
87de1f8a3c Bug 1829963 — Remove MIDI device telemetry. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D176467
2023-04-26 22:32:49 +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
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
Bilal
f49ad16881 Bug 1817002 - ESMified browser/components/pocket/content. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D175700
2023-04-19 19:18:57 +00:00
James Teow
ea6fd20f72 Bug 1825768 - Prevent timer in SearchSERPTelemetryChild from firing on non-SERPs - r=Standard8
I also moved cancelCheck to didDestroy since it seems like a common pattern amongst
other children. Once destroyed and constructed again in a new page load, isSerp should be
null again.

Differential Revision: https://phabricator.services.mozilla.com/D175202
2023-04-19 13:25:20 +00:00
Mathew Hodson
c060b32e7d Bug 1824906 - Update consumers to use normandy ESM. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D175026
2023-04-16 18:01:55 +00:00
Mark Banner
e9e02f60d4 Bug 1827624 - Restrict search SERP telemetry actors to https only pages. r=jteow
We only monitor telemetry from sites that are already https-only.

Depends on D175422

Differential Revision: https://phabricator.services.mozilla.com/D175423
2023-04-14 18:04:50 +00:00
Bilal
34ec496fc7 Bug 1816999 - ESMified browser/components/shell. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D175274
2023-04-14 16:59:15 +00:00
Lata
494bd4a34b Bug 1824494 - Convert browser/actors/WebRTC* JSMs to ESMs. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D175182
2023-04-14 16:24:51 +00:00
James Teow
254260c24b Bug 1824897 - Restrict SearchSERPTelemetry Actor to load only on http and https - r=Standard8
Since telemetry tests load http pages, we need to include both http and https.
I avoided using a wildcard for the scheme since that includes WebSocket URLs.

Differential Revision: https://phabricator.services.mozilla.com/D175203
2023-04-12 16:43:20 +00:00