Commit graph

916904 commits

Author SHA1 Message Date
Mike Hommey
21bcae940a Bug 1885449 - Move GV code shared between Android and iOS to a shared directory. r=geckoview-reviewers,frontend-codestyle-reviewers,nalexander,owlish
And hook them up to the iOS build.

Differential Revision: https://phabricator.services.mozilla.com/D204711
2024-05-16 22:08:51 +00:00
Updatebot
baca95a7c3 Bug 1897268 - Update android nightly application-services version bump to 15e90ad278221a99b90f9f489a721d1800835fa1 r=lina
Differential Revision: https://phabricator.services.mozilla.com/D210717
2024-05-16 22:01:39 +00:00
Sandor Molnar
cf5e24f720 Bug 1896794 - Update wpt metadata @ /scroll-animations/css/<...> r=emilio DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D210595
2024-05-16 21:54:43 +00:00
Mike Hommey
6577227124 Bug 1897015 - Fix valgrind suppression for rustc 1.78
Differential Revision: https://phabricator.services.mozilla.com/D210739
2024-05-16 21:36:42 +00:00
Masatoshi Kimura
2c1cddd5b8 Bug 1610148 - Add -DEPENDENTLOADFLAG:0x800 to DLL link flags. r=firefox-build-system-reviewers,glandium
We can't add the flag to EXE files unless we do either
* Make the CRT an SxS assembly (bug 1733734) or
* Ship the redistributable installer to install the CRT to System32.
Because otherwise firefox.exe will no longer be able to find the CRT.

Differential Revision: https://phabricator.services.mozilla.com/D210639
2024-05-16 21:27:14 +00:00
Rob Wu
749d4500ae Bug 1896669 - Add matchOriginAsFallback to contentScripts.register API r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D210646
2024-05-16 21:12:29 +00:00
Rob Wu
111774a8c7 Bug 1419576 - Fix intermittent failure in test_ext_contentScripts_register.js r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D210645
2024-05-16 21:12:29 +00:00
Erik Nordin
9d77fc9c1e Bug 1894575 - Ensure panel cannot be resized off screen r=translations-reviewers,gregtatum
Adds logic that ensures that the SelectTranslationsPanel
cannot be resized off the bottom edge of the screen when
click-and-dragging the vertical textarea resizer within
the panel.

Depends on D209396

Differential Revision: https://phabricator.services.mozilla.com/D209178
2024-05-16 21:03:06 +00:00
Erik Nordin
706cc9f6f7 Bug 1894935 - Disable textarea resize based on popuppositioned r=translations-reviewers,desktop-theme-reviewers,gregtatum,emilio
Determines if the SelectTranslationsPanel was positioned before
opening such that the bottom corner of the panel is the anchor
point. This causes the text-area resizer to grow the panel
upward even though the user is dragging downward, so we should
disable resizing in this case.

Differential Revision: https://phabricator.services.mozilla.com/D209396
2024-05-16 21:03:05 +00:00
Alexandra Borovova
c8b02dd320 Bug 1896712 - Update test expectations for /css/css-view-transitions/navigation/reload-crash.html. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D210427
2024-05-16 20:58:44 +00:00
Kershaw Chang
4bd1a86fd4 Bug 968273 - Only persist permanent redirects for HTTPS, r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D210483
2024-05-16 20:43:27 +00:00
Travis Long
9a3d8766df Bug 1894530 - Augment the Glean Interface For Firefox Telemetry (GIFFT) to support the Legacy Telemetry event value parameter.r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D210724
2024-05-16 20:31:13 +00:00
Tamas Szentpeteri
86dcf9e3dc Backed out 2 changesets (bug 1893402) for causing mochitest failures regarding nsGlobalWindowInner. CLOSED TREE
Backed out changeset e909b94c1280 (bug 1893402)
Backed out changeset beef636e1562 (bug 1893402)
2024-05-17 00:16:25 +03:00
Tamas Szentpeteri
51fcffb106 Backed out changeset 8ddf02897ed0 (bug 1833735) for causing mochitest failures on browser_xpcom_graph_wait.js. 2024-05-16 23:57:59 +03:00
Tamas Szentpeteri
a0fd2ca353 Backed out changeset 0a1f42ba0143 (bug 1896732) for causing fatal errors while processing mozzbuild file. CLOSED TREE 2024-05-16 23:32:08 +03:00
Chris H-C
4204463ce6 Bug 1896732 - Introducing mach gifft to generate Glean metric definitions for named Legacy probes r=TravisLong
Currently only supports events.

Differential Revision: https://phabricator.services.mozilla.com/D210690
2024-05-16 20:08:15 +00:00
Robin Steuber
7844ba490f Bug 1875502 - Disable update by default in all tests r=perftest-reviewers,nalexander,afinder,whimboo,sparky
I really thought this was already the case. It was a bit of a shock to debug a non-update-related test and discover that the failure was because update was just attempting to run normally while the test did something unrelated. In general, we shouldn't have the updater running during tests that aren't testing updater functionality. It cause test failures by contacting the real update url or by throwing errors when attempting to use features that aren't available during that test.

Differential Revision: https://phabricator.services.mozilla.com/D209130
2024-05-16 20:01:55 +00:00
Robin Steuber
c288841e23 Bug 1875502 - Fix tests broken by the previous patch stack that standardizes update initialization r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204129
2024-05-16 20:01:55 +00:00
Robin Steuber
c9a19be7fa Bug 1875502 - Update UpdateServiceStub consumers r=nalexander,application-update-reviewers,firefox-desktop-core-reviewers
The earlier patches in this stack (a) made it possible to await on the stub to complete and (b) ensured that the update system initiates properly regardless of when and if the update service stub is invoked. This allows us to remove explict stub invocations in some cases and to have the await on the results in others.

Differential Revision: https://phabricator.services.mozilla.com/D209129
2024-05-16 20:01:54 +00:00
Robin Steuber
69f5302a38 Bug 1887980 - Report !UpdateService.disabled for the telemetry environment's update.enabled value r=nalexander,application-update-reviewers
In order to do this without initializing the update system this early, we move the functionality to the stub, add an XPCOM interface for it, and convert it to new-style class using the `class` keyword.

Differential Revision: https://phabricator.services.mozilla.com/D209128
2024-05-16 20:01:54 +00:00
Robin Steuber
2ef30b1bbb Bug 1875502 - Add UpdateManager.updateInstalledAtStartup r=nalexander,application-update-reviewers,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209127
2024-05-16 20:01:54 +00:00
Robin Steuber
b785a583f3 Bug 1875502 - Create standardized update init flow r=nalexander,settings-reviewers,application-update-reviewers
A number of changes are made as part of this patch:
 - A consistent way of initializing update is created. This is automatically run when methods that need it are invoked.
 - The "post-update-processing" notification has been removed. Post update processing is now done through the new `nsIApplicationUpdateService.init` or `nsIApplicationUpdateService.internal.postUpdateProcessing`.
 - Post update processing no longer waits for the sessionstore-windows-restored observer service notification
 - Post update processing is no longer invoked only when the `update.status` file exists. It is now run unconditionally.
 - Explicitly initialize before we potentially clean up updates from the update UI.

Note that the update service stub and a few consumers of it ought to be able to wait for post update processing to be done but they currently do not. That will be done later in this patch stack when we rework the stub.

Differential Revision: https://phabricator.services.mozilla.com/D209126
2024-05-16 20:01:53 +00:00
Robin Steuber
576cc66d6d Bug 1875502 - Pre: Split the update checker service's checkForUpdates into an internal version and an external version r=nalexander,application-update-reviewers
The internal/external state needs to be piped through to #updateCheck, where the asynchrous initialization will need to be done.

Differential Revision: https://phabricator.services.mozilla.com/D209125
2024-05-16 20:01:53 +00:00
Robin Steuber
b77bfa34e1 Bug 1875502 - Pre: Split Update Manager's refreshUpdateStatus into an internal version and an external version r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209124
2024-05-16 20:01:52 +00:00
Robin Steuber
c5ae38f1cb Bug 1875502 - Pre: Split AUS.stopDownload into an internal version and an external version r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209123
2024-05-16 20:01:52 +00:00
Robin Steuber
3753922fb2 Bug 1875502 - Pre: Split AUS.downloadUpdate into an internal version and an external version and make result more specific r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209122
2024-05-16 20:01:52 +00:00
Robin Steuber
c8b59a383f Bug 1875502 - Pre: Switch incorrect standardInit uses to testPostUpdateProcessing r=nalexander,application-update-reviewers
We currently seem to use `standardInit` and `testPostUpdateProcessing` interchangeably. In the future, we should not do this. `standardInit` will do the standard initialization process, which only ever runs once. If we want to run postUpdateProcessing again, even after initialization has already run, we should call into `testPostUpdateProcessing`. I believe that this makes sense considering the naming, but existing uses don't always match this expectation.

There are many places where we do things like
```
await setupUpdaterTest(...);
runUpdate(...);
await standardInit();
```
This doesn't make sense. We will already have initialized update by that point. This patch replaces uses of `standardInit` that are used this way with `testPostUpdateProcessing`.

Differential Revision: https://phabricator.services.mozilla.com/D209608
2024-05-16 20:01:51 +00:00
Robin Steuber
40d2bcc4f9 Bug 1875502 - Pre: Make initUpdateServiceStub async r=nalexander,application-update-reviewers
This is because initializing the update service will be an asynchronous process. This is introduced later in this patch stack.

Differential Revision: https://phabricator.services.mozilla.com/D209121
2024-05-16 20:01:51 +00:00
Robin Steuber
9c1a207525 Bug 1875502 - Pre: Make testPostUpdateProcessing async r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209119
2024-05-16 20:01:50 +00:00
Robin Steuber
f44f8ef955 Bug 1875502 - Pre: Update tests to accomodate async downloadingUpdate r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209118
2024-05-16 20:01:50 +00:00
Robin Steuber
4ad4a99b25 Bug 1875502 - Pre: Make AUS's downloadingUpdate async r=nalexander,application-update-reviewers
This does not include testing changes. Those will be in the next patch in this stack.

Differential Revision: https://phabricator.services.mozilla.com/D209117
2024-05-16 20:01:50 +00:00
Robin Steuber
0d911fbc65 Bug 1875502 - Pre: Update tests to accomodate async readyUpdate r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209116
2024-05-16 20:01:49 +00:00
Robin Steuber
f2176ce163 Bug 1875502 - Pre: Make AUS's readyUpdate async r=nalexander,settings-reviewers,application-update-reviewers
Aside from tests (which will be in the next patch in the stack), this specifically leaves two instances of readyUpdate unchanged - the one in BrowserContentHandler's `getArgs` and the one in UpdatePing's `_getActiveUpdate`. In both of these cases what is actually wanted is the update that was just installed. It's only because of the (fairly arbitrary) order that things are started up in that `readyUpdate` still happens to contain this value when these things run. Later in this patch stack we will add something more appropriate for this. But in the meantime, it doesn't make sense to convert functions to be asynchronous that will not ultimately need to be asynchronous.

Differential Revision: https://phabricator.services.mozilla.com/D209115
2024-05-16 20:01:49 +00:00
Robin Steuber
24dda3cffa Bug 1875502 - Pre: Make AUS's selectUpdate async r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209114
2024-05-16 20:01:48 +00:00
Robin Steuber
f6bbdc46ce Bug 1875502 - Pre: Make UpdateManager's history functions async r=nalexander,settings-reviewers,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209113
2024-05-16 20:01:48 +00:00
Robin Steuber
0d82fdb97c Bug 1875502 - Pre: Make update cleanup functions async r=nalexander,settings-reviewers,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209111
2024-05-16 20:01:47 +00:00
Robin Steuber
025dc7710c Bug 1875502 - Pre: Make AUS._checkForBackgroundUpdates async r=nalexander,application-update-reviewers,firefox-desktop-core-reviewers
I want the initialization function that I'm going to add later in the patch stack to be asynchronous, so the update entry points should be asynchronous functions.

Differential Revision: https://phabricator.services.mozilla.com/D209109
2024-05-16 20:01:47 +00:00
Robin Steuber
6fbd565f7c Bug 1875502 - Pre: Move update manager reload functionality into nsIUpdateManagerInternal r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209107
2024-05-16 20:01:47 +00:00
Robin Steuber
5c7a3b3caa Bug 1875502 - Pre: Add separate XPCOM interface for internal use of the update manager r=nalexander,application-update-reviewers
Looking forward, a goal of this patch stack is to have external interfaces automatically initialize the update system before doing anything that requires that. However, during that initialization, we need to make sure that we don't accidentally cause recursion by invoking an external interface that also does initialization. To do this, we will require special, privileged access to this functionality that doesn't do the initialization.

An appealing way of implementing this is to have `UpdateManager` implement both `nsIUpdateManager` and `nsIUpdateManagerInternal`. However, by experimentation, this seems to allow us to use the internal functions directly on the update manager object, even without ever QIing it to `nsIUpdateManagerInternal`. This is undesirable both because it allows consumers to use internal interfaces sort of implicitly and because it means that if we move functionality from the public interface to the private one, existing consumers of that interface could more easily be missed since the method is still available on the update manager object that it's already using.

This commit doesn't actually add any attributes or methods to the new interface. That will be done later in the patch stack.

Differential Revision: https://phabricator.services.mozilla.com/D209106
2024-05-16 20:01:46 +00:00
Eric Chen
b90331f7c4 Bug 1833735 - Set background task timeout to indefinite when JS debugger is connected r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D209957
2024-05-16 19:45:31 +00:00
Fatih
dd464427ad Bug 1881993 - Allow use of important fonts through FontVisibilityLangPack. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D209589
2024-05-16 19:43:13 +00:00
Fatih
727dac89a3 Bug 1871789 - Spoof mozInputSource and mozPressure for RFP. r=tjr,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D209543
2024-05-16 19:43:12 +00:00
Nicholas Poon
c0b666f2de Bug 1835900 - Moved NormalTabsPage, PrivateTabsPage, EmptyTabPage, and SyncedTabsPage to their own files and made them internal r=android-reviewers,calu,007
Differential Revision: https://phabricator.services.mozilla.com/D210083
2024-05-16 19:19:47 +00:00
Mozilla Releng Treescript
5d2515798d no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
nb-NO -> d42892bc4ca48049816bae2b5192a67e2517428b
nn-NO -> c2c5d6c81b7c3e4dedcfc5d887c817292107678d
uk -> 54cdfaa7ece2e0564e79730c9bf97580aecc723a
2024-05-16 19:03:42 +00:00
Chun-Min Chang
cb2e9396d6 Bug 1896547 - Move flag appending to a single location r=media-playback-reviewers,padenot
This patch consolidates the flag appending process into a single
location, reducing redundant flag appending code across multiple areas.

Differential Revision: https://phabricator.services.mozilla.com/D210585
2024-05-16 18:10:24 +00:00
Chun-Min Chang
34e303397b Bug 1896547 - Fix ios build by adding dotprod and crc flags r=media-playback-reviewers,padenot
This patch fixes the iOS build by adding the dotprod and crc flags for
files ending with `neon_dotprod.c` and `arm_crc32.c`. These flags are
copied from build/cmake/cpu.cmake [1].

[1] https://aomedia.googlesource.com/aom/+/8f107273cc641d3d4c260df122a21399b7e46a93/build/cmake/cpu.cmake#18

Differential Revision: https://phabricator.services.mozilla.com/D210584
2024-05-16 18:10:24 +00:00
Ryan VanderMeulen
93784a8a4b Bug 1897238 - Fix new Fenix "was not can only be called on a mocked object" exceptions. r=android-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D210705
2024-05-16 18:05:43 +00:00
Ryan VanderMeulen
1a30eed018 Bug 1897238 - Update Mockito and MockK to their latest releases. r=android-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D210704
2024-05-16 18:05:42 +00:00
Sam Foster
562487ee21 Bug 1896791 - Fix logging typo for the createTabsForSessionRestore return value. r=sessionstore-reviewers,nsharpley,sclements
Differential Revision: https://phabricator.services.mozilla.com/D210391
2024-05-16 17:58:14 +00:00
Tamas Szentpeteri
db7f7b5ddf Backed out 3 changesets (bug 1894703) for causing failures related to DOCSHELL logging. CLOSED TREE
Backed out changeset f9a8141501a7 (bug 1894703)
Backed out changeset e8eb7ab47374 (bug 1894703)
Backed out changeset a84074f814da (bug 1894703)
2024-05-16 21:12:06 +03:00