Commit graph

438 commits

Author SHA1 Message Date
Julian Descottes
4a1ddfd485 Bug 1790471 - [marionette] Convert /remote/marionette JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158295

Differential Revision: https://phabricator.services.mozilla.com/D158296
2022-09-30 11:08:08 +00:00
Nicholas Rishel
9454695dd9 Bug 1789390 - Remove scheduled and Action Center notifications during uninstall. r=nalexander
Non-MSIX notifications are not removed when Firefox is uninstalled. To handled this we've added a new `uninstall` background task and extended `nsIWindowsAlertService` to deregister notifications on uninstall.

Differential Revision: https://phabricator.services.mozilla.com/D156625
2022-09-14 00:42:43 +00:00
Punam Dahiya
0982627b7d Bug 1789192 - MR Onboarding Mobile Cross promo QRCode for MozillaOnline partner repack r=jprickett,hectorz
Differential Revision: https://phabricator.services.mozilla.com/D157000
2022-09-13 18:35:01 +00:00
Eemeli Aro
5992582cb9 Bug 1786185 - Migrate XMLPrettyPrint from DTD to FTL. r=gregtatum,smaug,fluent-reviewers,flod
The synchronous DocumentL10n instance that's created here is not exposed on the root document, as that is the user-defined XML document. The localization root that's connected to it is in a closed shadow root.

This localization won't update on locale changes, but that matches what this view was previously doing.

Differential Revision: https://phabricator.services.mozilla.com/D156544
2022-09-10 08:24:25 +00:00
Artur Iunusov
f960b73887 Bug 1585131, 1356045 - Removed unused dom/ipc/test.xhtml. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D156701
2022-09-08 18:03:34 +00:00
Barret Rennie
d8f62645d6 Bug 1772178 - Port osfile.jsm usage to IOUtils in browser/base/content r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D155002
2022-09-08 16:41:55 +00:00
Eemeli Aro
656bd06683 Bug 1734220 - Migrate translation-notification.js to Fluent. r=jaws,fluent-reviewers,flod
The strings from the translation.dtd and translation.properties files are all
merged into a single translationNotification.ftl file.

The string concatenation used in the original is maintained here, as DOM
Localization does not allow for using a <menulist> as a localized element.

Differential Revision: https://phabricator.services.mozilla.com/D155110
2022-09-02 11:03:31 +00:00
Eemeli Aro
4ce19437ce Bug 1785216 - Migrate notification.dtd to Fluent. r=jaws,fluent-reviewers,flod,mconley
Except for the close-notification-message, all of the notification.dtd
strings are only used by popupnotification.js. Accordingly, the strings
are migrated to two different FTL files.

Differential Revision: https://phabricator.services.mozilla.com/D154890
2022-09-02 11:03:31 +00:00
Marian-Vasile Laza
36e9738343 Backed out 2 changesets (bug 1783099, bug 1772178) for causing bc failures on browser_all_files_referenced.js. CLOSED TREE
Backed out changeset c4ca03b83a54 (bug 1772178)
Backed out changeset c5690a290bfe (bug 1783099)
2022-08-25 18:19:23 +03:00
Barret Rennie
4ecd98208f Bug 1772178 - Port osfile.jsm usage to IOUtils in browser/base/content r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D155002
2022-08-25 14:29:34 +00:00
Sandor Molnar
8ab85c7325 Backed out 2 changesets (bug 1772178, bug 1783099) for causing build bustages in dom/bindings/PathUtilsBinding.cpp CLOSED TREE
Backed out changeset c31245b98fd7 (bug 1772178)
Backed out changeset d79196b62ab2 (bug 1783099)
2022-08-25 05:58:51 +03:00
Barret Rennie
fe6447ace3 Bug 1772178 - Port osfile.jsm usage to IOUtils in browser/base/content r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D155002
2022-08-25 02:43:29 +00:00
criss
f14d9ca58e Backed out 2 changesets (bug 1783099, bug 1772178) for causing bustages on PathUtilsBinding.cpp. CLOSED TREE
Backed out changeset 12b01db19aa6 (bug 1772178)
Backed out changeset 8d668e43cbd8 (bug 1783099)
2022-08-23 17:51:28 +03:00
Barret Rennie
30e400c508 Bug 1772178 - Port osfile.jsm usage to IOUtils in browser/base/content r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D155002
2022-08-23 14:38:18 +00:00
Meg Viar
2a0357f433 Bug 1785244 - Add an exception to browser_all_files_referenced.js for featureCallout.ftl. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D155114
2022-08-19 22:20:20 +00:00
Dan Minor
043ae52e12 Bug 1779621 - Migrate intl/locale from jsm to esm; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D151865
2022-07-26 12:28:41 +00:00
Nick Alexander
1968f60af5 Bug 1776514 - Allow background tasks to enable Nimbus and Firefox Messaging System. r=barret,bytesized
This commit does several things:

1.  It configures a new Nimbus feature and corresponding message group
    `backgroundTaskMessage`.

2.  It configures `Firefox Messaging Experiments` to use the new
    Nimbus feature in background tasks.  The existing Remote Settings
    collection `nimbus-desktop-experiments` continues to be used.

    These configurations are achieved by setting preferences in
    `backgroundtasks_browser.js`, which is applied on top of
    `firefox.js` prefs by the preference service.  These preferences
    apply to every background task.

3.  It implements functions for enabling Nimbus and the Firefox
    Messaging System (and Messaging Experiments) that can be used by
    arbitrary background tasks.

    It is assumed (but not enforced here) that such tasks will use
    non-ephemeral (persistent) profiles, so that Remote Settings
    incremental sync, Nimbus bucketing, and Messaging System message
    limits, function as expected.

4.  It adds a new `message` background task specifically for testing
    background task messages.  Invoke the testing task with command
    lines like `firefox --backgroundtask message ...`.

    To ease testing, the framework accepts `--url about:studies?...`
    arguments from the Experimenter Web UI to explicitly opt-in to
    specific experiment branches.

    This task is complicated because it is intended both for QA to
    manually invoke, but also to be used by automated tests.

Eventually the existing `backgroundupdate` task will use the new
functions, just as the testing `message` task does.

Differential Revision: https://phabricator.services.mozilla.com/D150521
2022-07-22 04:42:13 +00:00
Butkovits Atila
8aa56f17be Backed out changeset e6ad35220e23 (bug 1776514) for causing failures at browser_all_files_referenced.js. CLOSED TREE 2022-07-22 07:06:35 +03:00
Nick Alexander
5cf7be7f97 Bug 1776514 - Allow background tasks to enable Nimbus and Firefox Messaging System. r=barret,bytesized
This commit does several things:

1.  It configures a new Nimbus feature and corresponding message group
    `backgroundTaskMessage`.

2.  It configures `Firefox Messaging Experiments` to use the new
    Nimbus feature in background tasks.  The existing Remote Settings
    collection `nimbus-desktop-experiments` continues to be used.

    These configurations are achieved by setting preferences in
    `backgroundtasks_browser.js`, which is applied on top of
    `firefox.js` prefs by the preference service.  These preferences
    apply to every background task.

3.  It implements functions for enabling Nimbus and the Firefox
    Messaging System (and Messaging Experiments) that can be used by
    arbitrary background tasks.

    It is assumed (but not enforced here) that such tasks will use
    non-ephemeral (persistent) profiles, so that Remote Settings
    incremental sync, Nimbus bucketing, and Messaging System message
    limits, function as expected.

4.  It adds a new `message` background task specifically for testing
    background task messages.  Invoke the testing task with command
    lines like `firefox --backgroundtask message ...`.

    To ease testing, the framework accepts `--url about:studies?...`
    arguments from the Experimenter Web UI to explicitly opt-in to
    specific experiment branches.

    This task is complicated because it is intended both for QA to
    manually invoke, but also to be used by automated tests.

Eventually the existing `backgroundupdate` task will use the new
functions, just as the testing `message` task does.

Differential Revision: https://phabricator.services.mozilla.com/D150521
2022-07-22 03:16:43 +00:00
Mark Banner
e29957943b Bug 1779982 - Migrate toolkit/components/places and browser/components/places to ESM. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D152004
2022-07-20 22:34:20 +00:00
smolnar
102b779608 Backed out 8 changesets (bug 1779982, bug 1780017, bug 1780347) for causing doc generate failures. CLOSED TREE
Backed out changeset 3f22c0f99cf1 (bug 1780347)
Backed out changeset 6f20b7e4b21b (bug 1780017)
Backed out changeset ae6062c69aeb (bug 1780017)
Backed out changeset e668d7778d97 (bug 1780017)
Backed out changeset e158fc41594b (bug 1780017)
Backed out changeset d4c69c956271 (bug 1779982)
Backed out changeset 145212fd826d (bug 1779982)
Backed out changeset 54079aaa1857 (bug 1779982)
2022-07-20 22:43:53 +03:00
Mark Banner
fa9b1b5f10 Bug 1779982 - Migrate toolkit/components/places and browser/components/places to ESM. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D152004
2022-07-20 15:50:40 +00:00
Iulian Moraru
1108246986 Backed out 7 changesets (bug 1779982, bug 1780017) for causing multiple failures. CLOSED TREE
Backed out changeset f33a58aa2f3f (bug 1780017)
Backed out changeset e21c85d61b91 (bug 1780017)
Backed out changeset 213ee5578e7c (bug 1780017)
Backed out changeset ea9b3bf42ea1 (bug 1780017)
Backed out changeset d2d8530f3c4d (bug 1779982)
Backed out changeset 088e5148c307 (bug 1779982)
Backed out changeset 267e08f3868a (bug 1779982)
2022-07-20 15:44:53 +03:00
Mark Banner
374f18ee33 Bug 1779982 - Migrate toolkit/components/places and browser/components/places to ESM. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D152004
2022-07-20 10:36:49 +00:00
Kris Maglione
a78b44be00 Bug 1777886 - Check that denylist/intermittent files actually exist in startup perf tests. r=florian
This will require that entries for renamed files be updated so that they don't
accidentally start being loaded under the new name later. It also prevents
dead code entries from sticking around after their targets are removed.

Using `throttledMapPromises` is probably not strictly necessary given the
small number of entries in most lists, but since it already exists, we may as
well use it here.

Differential Revision: https://phabricator.services.mozilla.com/D150921
2022-07-08 00:59:02 +00:00
Csoregi Natalia
4fbcd99c2c Backed out changeset 558ec2a25702 (bug 1777886) for failures on browser_startup.js. CLOSED TREE 2022-07-08 03:09:14 +03:00
Kris Maglione
834e8c64b8 Bug 1777886 - Check that denylist/intermittent files actually exist in startup perf tests. r=florian
This will require that entries for renamed files be updated so that they don't
accidentally start being loaded under the new name later. It also prevents
dead code entries from sticking around after their targets are removed.

Using `throttledMapPromises` is probably not strictly necessary given the
small number of entries in most lists, but since it already exists, we may as
well use it here.

Differential Revision: https://phabricator.services.mozilla.com/D150921
2022-07-07 22:31:29 +00:00
Mark Banner
eea090b829 Bug 1777477 - Fix browser_parsable_script.js to work with testing javascript modules (mjs files) as well. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D150751
2022-06-30 13:24:03 +00:00
hanna alemu
c77964a75a Bug 1767066 - Remove More from Mozilla "advanced" pane r=mviar,fluent-reviewers,preferences-reviewers,pdahiya,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149665
2022-06-23 22:28:53 +00:00
Marian-Vasile Laza
247e02beb5 Backed out changeset 0913ab5fe7fc (bug 1767066) for causing bustages on img-mobile.svg. CLOSED TREE 2022-06-23 20:56:49 +03:00
hanna alemu
8082f81f32 Bug 1767066 - Remove More from Mozilla "advanced" pane r=mviar,fluent-reviewers,preferences-reviewers,pdahiya,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149665
2022-06-23 17:23:25 +00:00
Henrik Skupin
53819cc312 Bug 1775064 - [marionette] Return chrome element references for elements within any privileged document. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D149852
2022-06-21 18:45:26 +00:00
Tooru Fujisawa
802076406b Bug 1769002 - Support ESM in components.conf. r=kmag
Also ESM-ify SimpleServices.jsm as an example, given an empty array is not
allowed inside StaticComponents.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D147414
2022-06-17 04:59:14 +00:00
criss
8fc8ec5d8e Backed out 8 changesets (bug 1771092, bug 1768870, bug 1771097, bug 1769002, bug 1768819) for causing mochitest failures on browser_sendQuery.js. CLOSED TREE
Backed out changeset 8a4d712f819a (bug 1771092)
Backed out changeset f4e27a35c83c (bug 1771092)
Backed out changeset 072323bc72cc (bug 1771092)
Backed out changeset 2ccf2a00fff7 (bug 1769002)
Backed out changeset ba7086fd9b1f (bug 1768819)
Backed out changeset 6205d3e2c666 (bug 1771097)
Backed out changeset 960f0aee97d5 (bug 1768870)
Backed out changeset 5f53760c5637 (bug 1768870)
2022-06-17 05:44:37 +03:00
Tooru Fujisawa
730eee44d0 Bug 1769002 - Support ESM in components.conf. r=kmag
Also ESM-ify SimpleServices.jsm as an example, given an empty array is not
allowed inside StaticComponents.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D147414
2022-06-17 01:30:23 +00:00
Molnar Sandor
c1ae6857f8 Backed out 9 changesets (bug 1769002, bug 1768870, bug 1771097, bug 1771092, bug 1768819) for causing lint failures. CLOSED TREE
Backed out changeset 829df1dfad70 (bug 1769002)
Backed out changeset f0537d333adc (bug 1771092)
Backed out changeset 25b43856bc00 (bug 1771092)
Backed out changeset a49f754ca73f (bug 1771092)
Backed out changeset 164f85686a32 (bug 1769002)
Backed out changeset ef5cf9ceb915 (bug 1768819)
Backed out changeset c64e6c1fbfe7 (bug 1771097)
Backed out changeset f85393f988a8 (bug 1768870)
Backed out changeset fe708d13cc1d (bug 1768870)
2022-06-16 20:15:14 +03:00
Tooru Fujisawa
591472f193 Bug 1769002 - Support ESM in components.conf. r=kmag
Also ESM-ify SimpleServices.jsm as an example, given an empty array is not
allowed inside StaticComponents.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D147414
2022-06-16 16:20:37 +00:00
Mark Banner
e009ca9128 Bug 1559554 - Add support for detecting imported files and for handling mjs files to browser_all_files_referenced.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D148887
2022-06-10 15:07:40 +00:00
Meg Viar
cf481193bc Bug 1762189 - Include localized app marketplace Icons in langpacks r=barret,glandium
Differential Revision: https://phabricator.services.mozilla.com/D143540
2022-06-07 23:23:33 +00:00
Mark Banner
5185d87a50 Bug 1766238 - Stop using the target argument for ChromeUtils.import in services. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D144558
2022-04-27 08:38:33 +00:00
Calixte
aa08b62a57 Bug 1766222 - Update pdf.js to version 2.14.224 r=pdfjs-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D144544
2022-04-25 19:44:06 +00:00
Barret Rennie
5d744f6cc3 Bug 1752665 - Expose feature schemas as resource:// URIs r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D138925
2022-03-25 00:01:20 +00:00
Barret Rennie
051dfe31ad Bug 1757778 - Expose Nimbus schemas as resource:// URIs r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D138929
2022-03-25 00:01:19 +00:00
Meg Viar
9c23c0a018 Bug 1758028 - Implement PBM modal content as per finalized design r=pdahiya,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D140739
2022-03-23 14:03:18 +00:00
smolnar
876c137475 Backed out changeset f6577528fc15 (bug 1758028) for causing xpc failures in xpcshell/test_BrowserUtils.js CLOSED TREE 2022-03-22 21:54:22 +02:00
Meg Viar
2ae66744d6 Bug 1758028 - Implement PBM modal content as per finalized design r=pdahiya,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D140739
2022-03-22 19:19:02 +00:00
Punam Dahiya
a76c013839 Bug 1754832 - Update PBM to support opening spotlight tab modal r=Mardak,mviar,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D140565
2022-03-17 06:41:47 +00:00
Punam Dahiya
c4f92a5d3b Bug 1756860 - Add Firefox Focus promo image r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D140780
2022-03-12 11:15:33 +00:00
Sam Foster
bcf56dfb63 Bug 1721229 - Remove the WebPayments UI code from the tree. r=MattN,desktop-theme-reviewers,edenchuang,dao
* Remove the contents of the browser/components/payments directory
* Excepting the nsIPaymentUIService implementation and its component registration - to allow the /feature-policy/payment-allowed-by-feature-policy* tests to continue to run and pass
* Update docs index to remove the web payments UI source docs
* Remove residual rules from browser CSS
* Remove references from the static analysis tests

Differential Revision: https://phabricator.services.mozilla.com/D127329
2022-02-17 20:32:13 +00:00
Mark Banner
9b90775450 Bug 1751275 - Add a snapshot monitor for triggering snapshot group builders. r=mossop
Depends on D135706

Differential Revision: https://phabricator.services.mozilla.com/D136526
2022-01-31 12:07:27 +00:00