Magnus Melin
004297a431
Bug 334657 - follow-up, fix linting. rs=lint DONTBUILD
2024-09-27 14:42:25 +03:00
Magnus Melin
5a7518ff13
Bug 334657 - make ics parsing more tolerant to non-utf8 data. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D223675
--HG--
rename : calendar/test/unit/data/import.ics => calendar/test/unit/data/importLatin1.ics
extra : rebase_source : 84382d48d1517b381fdbab641fb7d6315d614a0d
2024-09-27 10:34:18 +03:00
Geoff Lankow
a24a359679
Bug 1918010 - Fix updating the calendar views when the first day of the week pref changes. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D221908
--HG--
extra : amend_source : 14765fed576bf7cdfc542845024a661f73668bf0
2024-09-13 13:53:18 +03:00
Magnus Melin
03004531ab
Bug 1906077 - ICS calendar subscriptions should use the original URI for temporary redirects. r=aleca
...
To test, subscribe to https://github.com/othyn/go-calendar/releases/latest/download/gocal__community_day.ics
Also
* don't fail for cases there content-type is null
* accept for content-type=application/octet-stream where the Content-Disposition says it's an .ics
Differential Revision: https://phabricator.services.mozilla.com/D220872
--HG--
extra : rebase_source : a3e7e2cc8f56bdf7e7968b1a2863bbfa8002b9a2
extra : absorb_source : 3e9d607dfd459e5ad8f87348838f9667711f8cd8
2024-09-05 13:42:16 +03:00
Magnus Melin
bc70dfc148
Bug 1855900 - Add Past Events and All Events options to unifinder. r=aleca,leftmostcat
...
Parts by Geoff Lankow.
Differential Revision: https://phabricator.services.mozilla.com/D212771
--HG--
extra : rebase_source : 26338545611a2facdb1e0ca6f9f489d4ffadefa6
extra : amend_source : 76944f98df4cec14db2900c50444d84f2da68d75
2024-09-02 17:09:47 +03:00
Geoff Lankow
e07a9c37b5
Bug 1909789 - Test that scopes modified during OAuth2 authentication are saved correctly. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D217668
--HG--
extra : rebase_source : dabf9c9a6941a2c5909f2a2c269962855606fe4b
extra : amend_source : 1783931cf3727c5688a5d18a9944c110cadf608e
2024-07-25 16:30:31 +12:00
Magnus Melin
0b09795f68
Bug 1899602 - Distribute metrics.yaml files to where they belong. r=aleca
...
Stop using the tb. prefix, and put the probes in component relative metrics.yaml files
Differential Revision: https://phabricator.services.mozilla.com/D217002
--HG--
extra : rebase_source : ba46a84da2a78c3e00a36c94de63e45eb07afb6d
extra : amend_source : c3dc50206c65e5d3cf74605af24cf453d4dbc1e0
2024-07-20 13:38:18 +03:00
Magnus Melin
ee7e203f17
Bug 1901384 - Add NAME to exported ics calendar. r=aleca,babolivier
...
Differential Revision: https://phabricator.services.mozilla.com/D214310
--HG--
extra : rebase_source : 93a18cac21203743b3046dbe9b7f8c4dd9da5287
extra : amend_source : 9d6ef8a6ab443fd0a01b07047f46a592ddd072dd
2024-07-18 13:43:54 +03:00
Geoff Lankow
0dd0febc7a
Bug 1906387 - Fix drag and drop of calendar view items. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D215829
--HG--
extra : rebase_source : ee1cd04b9727dd58bd8d7c2f8bcaaafcd316298f
extra : amend_source : ac1928464505ae925f69f6edf1c9a5fb5ea7b6d3
2024-07-05 12:17:08 +12:00
Alessandro Castellani
02839888b9
Bug 1906378 - Port bug 1893119: Separate nsIDragSession objects from nsIDragService. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D215824
--HG--
extra : moz-landing-system : lando
2024-07-04 23:30:45 +00:00
Antonin Delpeuch
700ce73ce5
Bug 1716745 - Fix CalDav import of ICS events with special characters in the UID. r=darktrojan
...
Makes sure the PUT request has a valid URL to avoid import errors.
Differential Revision: https://phabricator.services.mozilla.com/D215445
--HG--
extra : amend_source : 6b510f3e96c6b8fb202db547094f7f519652f6cf
extra : absorb_source : e27745c77a3c24887e3b4b815d7c5273d0fdd5ab
2024-07-03 11:58:11 +02:00
Patrick Cloke
ba76a8e278
Bug 1583053 - Fix handling of DNS TXT records with multiple strings. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D210189
--HG--
extra : amend_source : 1a1b1a5e6fe0a8416385216a72ec71bbf2f2f768
2024-07-02 10:53:25 +01:00
Magnus Melin
90a0913664
Bug 1899602 - migrate tb.calendar.read_only_calendar_count to glean. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D213116
--HG--
extra : rebase_source : bfc2024fc8019a222faeba8bdb5bf32e574abefa
2024-06-19 10:22:25 +03:00
Magnus Melin
5741627745
Bug 1899602 - migrate tb.calendar.calendar_count to glean. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D213115
--HG--
extra : rebase_source : 0858455c8fbe154b38282e122bbc76a7ca5e840c
2024-06-27 15:10:56 +03:00
Martin Giger
076abf8c3e
Bug 1904330 - Fix waiting for calendar week translation in browser_dayView. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D214980
--HG--
extra : amend_source : d28a7c6c7c7f2973c09e366e72a14f8a3533a319
2024-06-27 10:38:24 +01:00
Geoff Lankow
a230e27acf
Bug 1893758 - Fix test failures from calendar.properties removal. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D214347
--HG--
extra : amend_source : 8b55619e7dab3722fe06cc789c289bef09f67ee3
2024-06-20 14:29:42 +12:00
Joe Crawford
7e7c3c22fb
Bug 1893758 - Calendar Fluent Migrations - Properties Part A. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D209074
--HG--
extra : moz-landing-system : lando
2024-06-19 22:05:56 +00:00
Geoff Lankow
1ac291884a
Bug 1898130 - Use <search-bar> in the about:import calendar items selector. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D211135
--HG--
extra : rebase_source : 5668593621d1d1cf2eacc2a7afbb9c34b2e56c5f
extra : amend_source : e76801772e160420f213e2c71ccd14f808378649
2024-05-16 16:45:57 +12:00
Magnus Melin
3203350ac9
Bug 1890975 - When updating start time of recurring event series, should not move the time of event exceptions. r=leftmostcat
...
Differential Revision: https://phabricator.services.mozilla.com/D211507
--HG--
extra : rebase_source : 6f91bdc1dcf966c5a6c62267dac6e4e10f0312cf
2024-05-29 07:47:25 +00:00
Magnus Melin
feb3742036
Bug 1897884 - Port bug 1897770 - Improve sjs environment definitions in ESLint. r=aleca
...
The rule needed to move up now.
Differential Revision: https://phabricator.services.mozilla.com/D211020
--HG--
extra : amend_source : 2d85494ad3305f8937c90239d54d05745d9e4e9b
2024-05-22 10:44:17 +12:00
Geoff Lankow
ccc0a780ec
Bug 1890731 - Begin replacing nsITreeView with TreeDataAdapter. r=freaktechnik,aleca
...
Creates and heavily modifies a copy of PROTO_TREE_VIEW from jsTreeView.js. I've removed a bunch of
things that are no longer needed because we don't need to implement nsITreeView, and tidied up
what remains, while keeping the general concepts intact.
Differential Revision: https://phabricator.services.mozilla.com/D208446
--HG--
rename : mail/base/content/modules/thread-pane-columns.mjs => mail/base/content/modules/ThreadPaneColumns.mjs
rename : mailnews/base/content/jsTreeView.js => mail/base/content/modules/TreeDataAdapter.mjs
rename : mail/base/content/widgets/tree-selection.mjs => mail/base/content/modules/TreeSelection.mjs
rename : mail/base/test/widgets/files/autoTreeView.js => mail/base/test/widgets/files/autoTreeView.mjs
rename : mail/base/test/widgets/files/tree-element-test-common.js => mail/base/test/widgets/files/tree-element-test-common.mjs
rename : mail/base/test/widgets/files/tree-element-test-header.js => mail/base/test/widgets/files/tree-element-test-header.mjs
rename : mail/base/test/widgets/files/tree-element-test-no-header.js => mail/base/test/widgets/files/tree-element-test-no-header.mjs
extra : moz-landing-system : lando
2024-05-21 04:33:23 +00:00
Geoff Lankow
308c5e8760
Bug 1896844 part 1/2 - Fix calendar import test to use about:import. r=freaktechnik
...
Some of the functionality of calendar-ics-file-dialog.xhtml wasn't available in about:import, so I
copied it over. Some I decided wasn't that important, despite thinking so when I first wrote it.
Differential Revision: https://phabricator.services.mozilla.com/D210599
--HG--
extra : moz-landing-system : lando
2024-05-20 10:30:30 +00:00
Magnus Melin
781059d5c6
Bug 1895453 - convert testing __skipMe calls to skip(). r=freaktechnik
...
Try: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=c3da125cdef06d6d7b8b3461a3722f298a63943c
Differential Revision: https://phabricator.services.mozilla.com/D209656
--HG--
extra : moz-landing-system : lando
2024-05-07 17:20:16 +00:00
Geoff Lankow
af6b9ac74a
Bug 1824264 - Update ical.js to ES6 version. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D205739
--HG--
extra : amend_source : 7500126b545d60f2fd1558bdf7e750fe0fbf333e
2024-04-22 10:57:29 +01:00
John Bieling
1e88e56696
Bug 1854779 - Support discovery of iCloud calendars. r=darktrojan
...
I tend to officially sunset DAV-4-TbSync, and the only remaining
"feature" it supports which is not yet supported by Thunderbird is the
detection of iCloud calendars and address books.
I poked around the source and found that the `detectCollection()`
routine already has the calendar-home-set, but it is ignored and instead
it calls `handlePrincipal()`, trying to get the home-set from another
PROPFIND request, which fails.
This patch adds an early exit and uses the already found home-set,
instead of issuing another server request.
If this is not the right fix, it may at least give an idea of what is
going on. I can provide iCloud access credentials.
With this patch, I can enter my Apple-ID as username using a dedicated
app password created for Thunderbird, and the server `icloud.com`, to
get my calendars discovered and added.
Differential Revision: https://phabricator.services.mozilla.com/D206253
--HG--
extra : amend_source : 36c57c8d8ae2a463974e54298ff494fdf3645b29
2024-04-18 11:20:25 +01:00
Stephan Raab
cbaf3f3d77
Bug 1878944 - Fixing the sometimes not sent e-mail about the acceptance/rejection of appointments r=mkmelin
...
Currently, the email address in the account and the one used in the invitation must match one to one. This means that emails cannot be sent if there is a difference in capitalization.
This is now fixed by this code change.
Differential Revision: https://phabricator.services.mozilla.com/D207474
--HG--
extra : amend_source : 5892eae5c102b4f18876e917d7a45611797451fd
2024-04-16 23:07:08 +01:00
Magnus Melin
041dd7ff37
Bug 1824260 - Don't use mozmill in the name for the testing-common modules. r=darktrojan
...
Depends on D204769
Differential Revision: https://phabricator.services.mozilla.com/D204893
--HG--
extra : rebase_source : 50e5dd28fd88e3f4dedea2377edfca4cea504ba8
extra : amend_source : 491028478c02b7e1140f5bf43559638b50c24fc9
2024-03-25 12:28:56 +02:00
John Bieling
621fded4c5
Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik
...
Using D194522 for auto-fixing unused variables.
Differential Revision: https://phabricator.services.mozilla.com/D205426
--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:04 +00:00
Magnus Melin
7dc5369bf3
Bug 1886417 - remove HashedArray. r=leftmostcat
...
Differential Revision: https://phabricator.services.mozilla.com/D205206
--HG--
extra : rebase_source : f205ecf13436076a9c409ab1c87d26b38ef530ba
2024-03-22 09:50:18 +02:00
Magnus Melin
bf0cc3ae17
Bug 1824260 - Update outdated .jsm references. r=freaktechnik
...
Update outdated .jsm references in the tree.
Depends on D204766
Differential Revision: https://phabricator.services.mozilla.com/D204769
--HG--
extra : rebase_source : cdf8c1367702bb00c51a750cc712e156db65d371
extra : amend_source : 5f2256fc97ae8f3de2086ffbe99acde9fdef0473
2024-03-21 19:44:49 +02:00
Magnus Melin
8aa3e4cdc2
Bug 1824260 - esmify Ical.jsm. r=aleca,leftmostcat
...
Differential Revision: https://phabricator.services.mozilla.com/D204763
--HG--
rename : calendar/base/modules/Ical.jsm => calendar/base/modules/Ical.sys.mjs
rename : calendar/base/src/calICSService-worker.js => calendar/base/src/CalICSService.worker.mjs
extra : rebase_source : f5dc549aa0f7ca19b3d8bcffdb447a0b536d4995
extra : amend_source : 04f2309e0e818a907e16367557a7024cd3063826
2024-03-21 19:43:48 +02:00
Magnus Melin
6a784829d2
Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat
...
Ical.jsm doesn't want to be converted over so leaving it for now.
Will figure out how to resolve the issues there, or take bug 1824264 in next step.
Differential Revision: https://phabricator.services.mozilla.com/D204606
--HG--
rename : calendar/base/modules/calCalendarDeactivator.jsm => calendar/base/modules/calCalendarDeactivator.sys.mjs
rename : calendar/base/modules/calExtract.jsm => calendar/base/modules/calExtract.sys.mjs
rename : calendar/base/modules/calHashedArray.jsm => calendar/base/modules/calHashedArray.sys.mjs
rename : calendar/base/modules/calRecurrenceUtils.jsm => calendar/base/modules/calRecurrenceUtils.sys.mjs
rename : calendar/base/src/calCachedCalendar.js => calendar/base/src/CalCachedCalendar.sys.mjs
rename : calendar/base/src/CalMetronome.jsm => calendar/base/src/CalMetronome.sys.mjs
rename : calendar/base/src/CalReadableStreamFactory.jsm => calendar/base/src/CalReadableStreamFactory.sys.mjs
rename : calendar/base/src/CalTimezone.jsm => calendar/base/src/CalTimezone.sys.mjs
rename : calendar/base/src/CalTransactionManager.jsm => calendar/base/src/CalTransactionManager.sys.mjs
rename : calendar/extract/CalExtractParser.jsm => calendar/extract/CalExtractParser.sys.mjs
rename : calendar/extract/CalExtractParserService.jsm => calendar/extract/CalExtractParserService.sys.mjs
rename : calendar/itip/CalItipMessageSender.jsm => calendar/itip/CalItipMessageSender.sys.mjs
rename : calendar/itip/CalItipOutgoingMessage.jsm => calendar/itip/CalItipOutgoingMessage.sys.mjs
rename : calendar/providers/caldav/CalDavProvider.jsm => calendar/providers/caldav/CalDavProvider.sys.mjs
rename : calendar/providers/caldav/modules/CalDavRequest.jsm => calendar/providers/caldav/modules/CalDavRequest.sys.mjs
rename : calendar/providers/caldav/modules/CalDavRequestHandlers.jsm => calendar/providers/caldav/modules/CalDavRequestHandlers.sys.mjs
rename : calendar/providers/caldav/modules/CalDavSession.jsm => calendar/providers/caldav/modules/CalDavSession.sys.mjs
rename : calendar/providers/caldav/modules/CalDavUtils.jsm => calendar/providers/caldav/modules/CalDavUtils.sys.mjs
rename : calendar/providers/ics/CalICSProvider.jsm => calendar/providers/ics/CalICSProvider.sys.mjs
rename : calendar/providers/storage/CalStorageCachedItemModel.jsm => calendar/providers/storage/CalStorageCachedItemModel.sys.mjs
rename : calendar/providers/storage/CalStorageDatabase.jsm => calendar/providers/storage/CalStorageDatabase.sys.mjs
rename : calendar/providers/storage/CalStorageItemModel.jsm => calendar/providers/storage/CalStorageItemModel.sys.mjs
rename : calendar/providers/storage/CalStorageMetaDataModel.jsm => calendar/providers/storage/CalStorageMetaDataModel.sys.mjs
rename : calendar/providers/storage/CalStorageModelBase.jsm => calendar/providers/storage/CalStorageModelBase.sys.mjs
rename : calendar/providers/storage/CalStorageModelFactory.jsm => calendar/providers/storage/CalStorageModelFactory.sys.mjs
rename : calendar/providers/storage/CalStorageOfflineModel.jsm => calendar/providers/storage/CalStorageOfflineModel.sys.mjs
rename : calendar/providers/storage/CalStorageStatements.jsm => calendar/providers/storage/CalStorageStatements.sys.mjs
rename : calendar/providers/storage/calStorageHelpers.jsm => calendar/providers/storage/calStorageHelpers.sys.mjs
rename : calendar/providers/storage/calStorageUpgrade.jsm => calendar/providers/storage/calStorageUpgrade.sys.mjs
rename : calendar/test/CalDAVServer.jsm => calendar/test/CalDAVServer.sys.mjs
rename : calendar/test/CalendarTestUtils.jsm => calendar/test/CalendarTestUtils.sys.mjs
rename : calendar/test/CalendarUtils.jsm => calendar/test/CalendarUtils.sys.mjs
rename : calendar/test/ICSServer.jsm => calendar/test/ICSServer.sys.mjs
rename : calendar/test/ItemEditingHelpers.jsm => calendar/test/ItemEditingHelpers.sys.mjs
extra : amend_source : 180eac675e4893d841f439bd0f6e1d4ed292c783
2024-03-15 17:45:58 -07:00
Magnus Melin
4fcffc5327
Bug 1874450 - clicking an attendee deletes it from view (but not from invite). r=leftmostcat
...
Revert most of bug 1741566.
This also fixes bug 1876019.
Differential Revision: https://phabricator.services.mozilla.com/D199343
--HG--
extra : amend_source : c17b018e41a9260116b4b91c1c08f3c0f627ebf0
2024-03-13 12:42:55 +13:00
Geoff Lankow
090d60f96c
Bug 1882701 - Port bug 1878401 - Always pass BrowsingContext to nsIFilePicker::Init. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D203092
--HG--
extra : rebase_source : 5878d116d8873025ba64fc47fbdbb149c5e4f3be
2024-02-29 12:03:40 +02:00
Geoff Lankow
55f55f32da
Bug 1851536 - Await `TestUtils.promiseTestFinished` instead of passing test scope around. r=mkmelin
...
This is much cleaner than passing the test scope to each module and calling `registerCleanupFunction`
to shut down servers etc..
`TestUtils.promiseTestFinished` isn't called in XPCShell tests but because they run separately and
everything is cleaned up when the process ends, that doesn't matter.
Differential Revision: https://phabricator.services.mozilla.com/D202679
--HG--
extra : rebase_source : 4d3fe3ee0e32777734ccb850c30756cd4074c886
extra : amend_source : 9286c4162da1985f2fa9f7c50198501aecdac011
2024-02-24 21:40:22 +13:00
Geoff Lankow
cb4966f731
Bug 1851536 - Implement a proxy to convert HTTP requests to HTTPS for tests. r=john.bieling
...
Differential Revision: https://phabricator.services.mozilla.com/D202537
--HG--
extra : rebase_source : dc4d0cb00a8607db7927aec8a21698e9277a83e6
extra : amend_source : 85b2a8e206f5207a26836464bed0a8a9a92ce74f
2024-02-22 17:58:07 +13:00
Geoff Lankow
c75d8b1701
Bug 1878172 - Fix OAuth2 username hint for CalDAV calendars. r=john.bieling
...
Differential Revision: https://phabricator.services.mozilla.com/D202536
--HG--
extra : rebase_source : 07b667ff38962080b0e04e863ee64e77dba84496
extra : amend_source : 3009352d5319120d2d20d27273f83ec12e35fdc7
2024-02-21 22:40:17 +13:00
Geoff Lankow
19e1b1f605
Bug 1878172 - Update existing OAuth tests to use OAuth2TestUtils.sys.mjs. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D202535
--HG--
extra : rebase_source : a2eae4ee0f199b0314f21631a115c863a26aa422
extra : amend_source : 62822da3199061d34ee1dbdff95d282b6e9b34f3
2024-02-20 22:58:05 +13:00
Geoff Lankow
18eebd9a65
Bug 1880211 - Fix requesting a new OAuth access token if the existing one is invalid. r=leftmostcat,mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D202180
--HG--
extra : rebase_source : 502cc59cf0e73255eec768e15538d86cd3eff8df
extra : amend_source : f416de2bdd8fd52cbd491facceee7c770bdc3d6e
2024-02-20 11:37:54 +13:00
Geoff Lankow
990daa6277
Bug 1880211 - Convert the OAuth2 code to use Promises instead of callbacks. r=leftmostcat,mkmelin
...
This is a prerequisite for the next patch (and a tidy up of some quite ugly code, frankly) – using
Promises instead of callbacks, it's much easier to have two things waiting on the same result.
Differential Revision: https://phabricator.services.mozilla.com/D201795
--HG--
extra : rebase_source : 2f0eaac2bba5302588bfa540143b53e5ba9fd0c1
extra : amend_source : e6e96f0ea3f1eddf664ff3865ab1bafdbc9cffab
2024-02-14 12:06:09 +13:00
Geoff Lankow
bff71fe58c
Bug 1881992 - ESMify MailTestUtils.jsm. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D202687
--HG--
rename : mailnews/test/resources/MailTestUtils.jsm => mailnews/test/resources/MailTestUtils.sys.mjs
extra : rebase_source : 5f7ee406d6bbb953a7e84e8839c8cab164035155
extra : amend_source : 4090051db817b9aa335ed5c4b5c102d2c17b6872
2024-02-26 10:43:51 +01:00
Geoff Lankow
97bd1b28bc
Bug 1881992 - ESMify MessageGenerator.jsm. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D202686
--HG--
rename : mailnews/test/resources/MessageGenerator.jsm => mailnews/test/resources/MessageGenerator.sys.mjs
extra : rebase_source : c3fee55c1633b3277d81c198c37cb6e7e5a80a3e
extra : amend_source : 4e57c0eef297ecd697e9746fb2b9818e94044927
2024-02-26 10:43:36 +01:00
Geoff Lankow
5dba4491a1
Bug 1881992 - ESMify PromiseTestUtils.jsm. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D202683
--HG--
rename : mailnews/test/resources/PromiseTestUtils.jsm => mailnews/test/resources/PromiseTestUtils.sys.mjs
extra : rebase_source : 76023d14c7b020135fc4fac897d9a90cc4afee7c
extra : amend_source : 2ad6cb49665f60f9b50bcbad4dda25d1ac4f4634
2024-02-26 10:42:19 +01:00
Martin Giger
9ef60e63ff
Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier
...
Differential Revision: https://phabricator.services.mozilla.com/D202578
--HG--
extra : histedit_source : cf86a38881db2e15fa5665e86a444ac9091357a0
2024-02-23 13:54:58 +00:00
Magnus Melin
2cbcc82537
Bug 1875495 - Port bug 1780071 - Linter should yell if using assignment or comparisons inside assertion conditions. r=aleca
...
Didn't spot any direct errors, but these are the rewrites the plugin does for `--fix`
Differential Revision: https://phabricator.services.mozilla.com/D199105
--HG--
extra : amend_source : aa962db6dbcba906fb65b8a74ce1c0ad4f367d9f
2024-01-22 11:21:09 +01:00
Magnus Melin
a664922a87
Bug 1875452 - Port bug 1875090 - Rename is_hidden and is_visible test utility functions to camelCase. r=john.bieling
...
Rename BrowserTestUtils.is_hidden() to isHidden()
Rename BrowserTestUtils.is_visible() to isVisible()
Differential Revision: https://phabricator.services.mozilla.com/D199081
--HG--
extra : rebase_source : 01d8e641395aa400b4854ba34dfb735422896c4b
2024-01-19 10:53:42 +00:00
Vineet Deo
03fa25b246
Bug 1873377 - Ensure appendNotifcation promise is dealt with in all js files for notificationBox. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D198252
--HG--
extra : amend_source : de1c8bdb449c4d9cd694464282de2cc0fb7a151d
2024-01-15 12:47:59 +02:00
Magnus Melin
28e54a7819
Bug 1874187 - Port bug 1873914 - Remove PromiseUtils module. r=babolivier
...
Differential Revision: https://phabricator.services.mozilla.com/D198283
--HG--
extra : rebase_source : 3fd3488856cbdfbe05d3b6e4fc100d69b7feb413
extra : amend_source : 41f394264192ffce3d81b901da745283964f8369
2024-01-11 19:55:47 +02:00
Magnus Melin
87b2fa80d3
Bug 1873189 - Port bug 1845586 - Replace PromiseUtils.defer with Promise.withResolvers. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D197777
--HG--
extra : moz-landing-system : lando
2024-01-05 17:10:16 +00:00
Alessandro Castellani
37a1c0c3ff
Bug 1854255 - Enforce prefer-const eslint rule globally. r=john.bieling,ikey
...
Differential Revision: https://phabricator.services.mozilla.com/D192298
--HG--
extra : moz-landing-system : lando
2023-11-21 11:02:13 +00:00