Commit Graph

855046 Commits

Author SHA1 Message Date
Mozilla Releng Treescript
5c451b5d38 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cy -> 7216b892fc2db1e951a43f9c2cc692c4afa9b43e
da -> 5721c74a6ec62d548afea2efbe6865b94b125fde
fi -> 2cb4c3b3c5c327ef21e1b0a42cbf00aec895e23b
fr -> 6969b162694cfc540950826f47c286dd940b24b8
hy-AM -> d58fa3e2fd36551a282a8d3aee4807f2e8a31e36
it -> 01fe5039d61342b230e0e54ecdfab035fa96f1b5
nn-NO -> 3de712438cebc597f7ddebabc5e5ff97b3816f53
2023-09-12 19:00:47 +00:00
stransky
231d42ad01 Bug 1847336 [Linux] Skip frame rendering if we don't have EGL window to paint into r=sotaro
If SetEGLNativeWindowSize() returns false window size put to SetEGLNativeWindowSize() doesn't match screen scale and
will lead to Wayland protocol error. Skip this frame rendering and wait for new window size provided by layout.

Depends on D187890

Differential Revision: https://phabricator.services.mozilla.com/D187891
2023-09-12 18:32:44 +00:00
stransky
7aa5ec67ec Bug 1847336 [Linux] Propagate SetEGLNativeWindowSize() to WebRender/OGL compositor r=emilio
Propagate return code from nsWindow::SetEGLNativeWindowSize() to WebRender/OGL compositors.
It allows to skip rendering in case of incompatible recent EGL buffer size.

Depends on D187889

Differential Revision: https://phabricator.services.mozilla.com/D187890
2023-09-12 18:32:44 +00:00
stransky
a8dd741056 Bug 1847336 [Linux] Don't adjust EGLWindow size for recent scale by MozContainer r=emilio
If screen scale doesn't match requested EGLWindow size, doesn't adjust requested EGLWindow size but rather fail and report it back.
We can't update EGLWindow size imediatelly as EGL surface buffers are already created and wl_egl_window_resize() is effective for next rendering cycle,
so recent rendering will use old and incompatible screen size.

Differential Revision: https://phabricator.services.mozilla.com/D187889
2023-09-12 18:32:44 +00:00
Barret Rennie
8e2aefc4d6 Bug 1850127 - Handle setPref prefs which are nested r=emcminn
Pref observers registered for prefs like "foo" will also fire for pref changes
on "foo.bar", etc. If a feature registered nested prefs like these, then a
change to pref "foo.bar" would trigger the pref listener for "foo.bar" and
cause spurious unenrollments, especially when attempting to enroll in both an
experiment and rollout at the same time, and when trying to unenroll from an
experiment when also enrolled in a rollout.

Differential Revision: https://phabricator.services.mozilla.com/D187936
2023-09-12 18:30:22 +00:00
William Durand
074ffc748d Bug 1852537 - Add missing add-on install error codes. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187986
2023-09-12 18:29:56 +00:00
William Durand
18d5a11837 Bug 1852537 - Fix typo in an add-on install error code. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187902
2023-09-12 18:29:56 +00:00
Molly Howell
195c1d7d83 Bug 1852151 - Add a policy equivalent to DisableFirefoxAccounts but without being called Firefox. r=mkaply,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D187726
2023-09-12 18:14:08 +00:00
John Schanck
15932f108f Bug 1852636 - vendor authenticator-rs v0.4.0-alpha.21. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187956
2023-09-12 18:07:55 +00:00
John Schanck
389f2e379e Bug 1759626 - WebAuthn isUVPAA result depends on Android resident key pref. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D187926
2023-09-12 18:05:00 +00:00
Barret Rennie
8f17590be8 Bug 1821176 - Unconditionally show rollouts on about:studies r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D187789
2023-09-12 17:51:05 +00:00
Neil Deakin
3331d1bd85 Bug 1852236, treat null string formActionOrigin values as not present in certain cases, also restores some checks of formActionOrigin that got lost, r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D187842
2023-09-12 17:48:15 +00:00
Molly Howell
e48b3d224a Bug 1848815 - Add a user-facing setting to enable enterprise roots import, and enable it by default. r=keeler,settings-reviewers,fluent-reviewers,desktop-theme-reviewers,flod,Itiel,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D186236
2023-09-12 17:15:09 +00:00
Steve Fink
af73f591a5 Bug 1851619 - Common up some initialization and teardown code r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D187948
2023-09-12 17:09:57 +00:00
Steve Fink
d6f1d64f2d Bug 1851619 - Do not call ShellCleanupFinalizationRegistryCallback after ShellContext is dead r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D187947
2023-09-12 17:09:57 +00:00
Jan de Mooij
80dddb1e5c Bug 1852755 - Call encodeSafepoints as part of off-thread codegen instead of on the main thread. r=iain
This was showing up in profiles on M1. It likely affects arm64 more than x64
because it has so many registers.

Differential Revision: https://phabricator.services.mozilla.com/D187987
2023-09-12 16:50:57 +00:00
Jan de Mooij
1cae9ca7cc Bug 1851162 - Ship disabling Spectre JIT mitigations in Fission content processes. r=iain
Now that ORB is shipping in Firefox 118+ (bug 1851143), we can let this pref
change ride the trains to release in Firefox 119.

Differential Revision: https://phabricator.services.mozilla.com/D187993
2023-09-12 16:32:50 +00:00
Emilio Cobos Álvarez
cf18ae38db Bug 1852568 - Update cssparser. r=tlouw,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187910
2023-09-12 16:03:44 +00:00
Zachary Svoboda
2da94692ba Bug 1643843 - Improve narrow view for compat panel unsupported browsers r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D187920
2023-09-12 15:34:26 +00:00
Nicolas Chevobbe
a84824ada8 Bug 1767678 - [devtools] Handle null rule editor in getPropertiesForRuleIndex. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D187978
2023-09-12 15:17:40 +00:00
Nicolas Silva
0386470d2c Bug 1852723 - Reduce the per-device descriptor heap allocation in the dx12 backend. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D187972
2023-09-12 15:15:22 +00:00
Tim Huang
ce2edf4d30 Bug 1846712 - Implement s shim for MSN login. r=twisniewski,pbz,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186793
2023-09-12 14:49:10 +00:00
Sandor Molnar
8640f33f25 Backed out changeset 3f735a759aae (bug 1591533) for causing gv-junit failures on RuntimeSettingsTest#largeKeepaliveFactor CLOSED TREE 2023-09-12 19:26:10 +03:00
Sandor Molnar
1ce41dead6 Backed out changeset 9c12eef28616 (bug 1846266) for causing wpt LeakSanitizer. 2023-09-12 18:42:00 +03:00
Eden Chuang
1d507abf75 Bug 1738426 - Ignoring status 206 and vary header checking for opaque response in Cache API. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D186431
2023-09-12 14:17:53 +00:00
cschanaj
96113e9390 Bug 1591533 - Add GV API to enable DNS-over-HTTPS capability on Fenix r=geckoview-reviewers,calu,owlish
This PR adds a couple GeckoView API to setup and specific DoH TRR mode
and server URI, which enables the DNS-over-HTTPS capability on Firefox
Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D121455
2023-09-12 14:05:58 +00:00
Paul Zuehlcke
c64b6cd093 Bug 1852760 - Add Nimbus features to control cookie banner handling prefs. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D187988
2023-09-12 13:53:18 +00:00
Andreas Farre
fa87352be2 Bug 1852213 - Add crash annotation to record differing load flags. r=jjaschke,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D187969
2023-09-12 13:52:55 +00:00
Sandor Molnar
210db4d258 Bug 1844776 - Fix lint failure. a=lint-fix. CLOSED TREE 2023-09-12 17:05:48 +03:00
Paul Zuehlcke
1ab300a5d2 Bug 1844776 - Test. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D181780
2023-09-12 13:25:27 +00:00
Geoff Brown
0acef37df0 Bug 1852368 - Improve tooltool search in mozharness r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D187940
2023-09-12 12:59:39 +00:00
Sandor Molnar
212efc2d8b Backed out 2 changesets (bug 1287054) for causing wpt failures in svg/types/scripted/SVGLength-ch.html CLOSED TREE
Backed out changeset 4cca882e069d (bug 1287054)
Backed out changeset 2f48a6566514 (bug 1287054)
2023-09-12 16:02:43 +03:00
Jan Varga
569733012f Bug 1749504 - Add a way to asynchronously release directory locks when they are invalidated; r=dom-storage-reviewers,jstutte
Directory locks which block clearing operations are currently invalidated and
Client::AbortOperations is called for corresponding quota clients. There's no
other way for directory lock owners to release directory locks other than in
Client::AbortOperations or when they are no longer needed. This is especially
problematic in tests.

Changes done in this patch:
- added DirectoryLock::OnInvalidate pure virtual method
- added DirectoryLockImpl::OnInvalidate implementation
- modified DirectoryLockImpl::Invalidate to call the callback

Differential Revision: https://phabricator.services.mozilla.com/D185569
2023-09-12 12:40:41 +00:00
Jan Varga
b6a1f2ff68 Bug 1749504 - Simplify signature of QuotaManager::CreateDirectoryLock; r=dom-storage-reviewers,jstutte
CreateDirectoryLock currently takes three separate arguments which can be
expressed as just one argument.

Changes done in this patch:
- QuotaManager::CreateDirectoryLock changed to take just client metadata
- all call sites updated to reflect the changed signature

Differential Revision: https://phabricator.services.mozilla.com/D185568
2023-09-12 12:40:41 +00:00
Jan Varga
13ff443644 Bug 1749504 - Rename EnsureStorageIsInitialized to EnsureStorageIsInitializedInternal; r=dom-storage-reviewers,jstutte
One of the goals of bug 1749504 is to call EnsureStorageIsInitialized only from
InitOp. Calling from other places including quota clients will be disallowed
by changing the method to a private method. The private nature of the method
should be emphasized by adding the Internal suffix.

Changes done in this patch:
- IsStorageInitialized renamed to IsStorageInitializedInternal
- AssertStorageIsInitialized renamed to AssertStorageIsInitializedInternal
- EnsureStorageIsInitialized renamed to EnsureStorageIsInitializedInternal

Differential Revision: https://phabricator.services.mozilla.com/D185547
2023-09-12 12:40:41 +00:00
Jan Varga
0f1b3b72f4 Bug 1749504 - Add QuotaManager::ClearStorage method; r=dom-storage-reviewers,jstutte
There's currently no QuotaManager method for triggering storage clearing which
could be used by the ClearOp or directly in gtests. Asynchronous storage
initialization will introduce a flag which needs to be unset after storage
clearing or storage resetting. This can't be easilly done without a
QuotaManager method for storage clearing.

Changes done in this patch:
- added QuotaManager::ClearStorage method
- renamed ClearOp to ClearStorageOp
- QuotaManagerService::Clear reworked to use an asynchronous message instead of
  creating a sub actor

Differential Revision: https://phabricator.services.mozilla.com/D185546
2023-09-12 12:40:40 +00:00
Jan Varga
8f7711f28f Bug 1749504 - Separate the reset functionality out of ResetOrClearOp; r=dom-storage-reviewers,jstutte
The ResetOrClearOp currently supports both the resetting and clearing of
storage. However, there's already an operation for resetting storage called
ShutdownStorageOp which can be used separately.

Changes done in this patch:
- ResetOrClearOp renamed to ClearOp
- ClearOp converted to support only storage clearing
- QuotaManagerService::Reset reworked to use an asynchronous message instead of
creating a sub actor
- added generic helpers/callbacks for handling returned MozPromises

Differential Revision: https://phabricator.services.mozilla.com/D185545
2023-09-12 12:40:40 +00:00
Jan Varga
e1c6e7f74a Bug 1749504 - Add QuotaManager::IsShuttingDown check to Quota::RecvClearStoragesForPrivateBrowsing; r=dom-storage-reviewers,jstutte
The clearing operation used to use a sub actor, so the IsShuttingDown check was
done in Quota::AllocPQuotaRequestParent. Bug 1840772 stopped using a sub actor, but a corresponding IsShuttingDown check was not added to a new method for
handling the clearing operation.

Changes done in this patch:
- AssertIsOnOwningThread added to QuotaManager::ClearPrivateRepository
- IsShuttingDown check added to Quota::RecvClearStoragesForPrivateBrowsing

Differential Revision: https://phabricator.services.mozilla.com/D185527
2023-09-12 12:40:40 +00:00
Jan Varga
6b476280f2 Bug 1749504 - Change QuotaManager::ShutdownStorage to always create a new shutdown storage operation; r=dom-storage-reviewers,jstutte
QuotaManager::ShutdownStorage can't reuse existing shutdown storage operation
because that causes unexpected behavior when a storage initialization is
scheduled between two ShutdownStorage calls. The storage should be shutdown
when the second shutdown storage operation is finished.

Changes done in this patch:
- QuotaManager::ShurdownStorage changed to always create a new shutdown storage
operation
- a flag indicating that a storage shutdown is in progress has been removed
- the corresponding test has been enabled

Differential Revision: https://phabricator.services.mozilla.com/D185526
2023-09-12 12:40:40 +00:00
Jan Varga
a12f320898 Bug 1749504 - Add more tests for QuotaManager::ShutdownStorage; r=dom-storage-reviewers,jstutte
QuotaManager::ShutdownStorage currently reuses existing shutdown storage
operation which causes unexpected behavior when a storage initialization is
scheduled between two ShutdownStorage calls. The storage should be shutdown
when the second shutdown storage operation is finished (but it's not currently).

Changes done in this patch:
- a new test added for two subsequent ShutdownStorage calls
- a new disabled test added for two ShutdownStorage calls with storage
initialization scheduled in between

Differential Revision: https://phabricator.services.mozilla.com/D185525
2023-09-12 12:40:39 +00:00
Jan Varga
25548c41c6 Bug 1749504 - Convert TestQuotaManager.cpp from a file containing generic quota tests to a file dedicated for QuotaManager testing only; r=dom-storage-reviewers,jstutte
New tests need to be added for the QuotaManager class, but TestQuotaManager.cpp
currently contains tests which are not directly related to the QuotaManager. It
would be better to keep them in separate files.

Changes done in this patch:
- OriginScope related tests moved to a new file TestOriginScope.cpp
- WARN_IF_FILE_IS_UNKNOWN tests moved to TestQuotaCommon.cpp
- A simple test for QuotaManager::ShutdownStorage added to TestQuotaManager.cpp

Differential Revision: https://phabricator.services.mozilla.com/D185524
2023-09-12 12:40:39 +00:00
Jan de Mooij
11b43d70e4 Bug 1852589 - Don't call FindDollarIndex in str_replace_string_raw when there's no match. r=iain
This just reorders the code a bit to avoid looking at the replacement string when
there's no match. This applies to about 12% of calls on Speedometer 3.

Differential Revision: https://phabricator.services.mozilla.com/D187917
2023-09-12 12:31:50 +00:00
Yannis Juglaret
8c54dbd6c0 Bug 1840164 - Pre-commit stack pages on background hang monitor thread. r=mhowell
When a first hang is detected, the BHMgr Monitor thread needs to commit
5 more pages of stack to run profiler_suspend_and_sample_thread, which
contains big stack variables. If that occurs while we are low on memory,
failure to commit stack pages can crash the process.

In bug 1716727, we have added delays on failed allocations to try
to avoid crashing the main process under low memory condition. These
delays could trigger the background hang monitor, which could in
turn crash the process, as they occur in a low memory condition where we
will likely fail to commit.

We can pre-commit the 5 pages of stack at thread initialization to
ensure that they will already be commited when we later need them. Or at
least, we can try to see if that works.

We do that with a wrapper for the __chkstk function. We add a new test
in the NativeNt cppunit test, to ensure that our wrapper function
behaves as expected.

Differential Revision: https://phabricator.services.mozilla.com/D182582
2023-09-12 12:27:46 +00:00
Mirko Brodesser
af2afe1c48 Bug 1846266: add tests for <script>'s "fetchpriority" attribute checking the http opening request order. r=kershaw
While prioritization is only supported since HTTP/2 (https://developer.mozilla.org/en-US/docs/Glossary/HTTP_2), the tests contained in this patch don't depend on HTTP/2 since they test an internal priority which is used for HTTP/1 requests too.

Differential Revision: https://phabricator.services.mozilla.com/D185002
2023-09-12 12:23:49 +00:00
Yannis Juglaret
b8426d4705 Bug 1850969 - Protect patched_NtMapViewOfSection against SharedSection::ConvertToReadOnly. r=gstoll
Third-party products can start threads in our main process, which can load DLLs before the main thread has gone past SharedSection::ConvertToReadOnly. This patch therefore protects the use of the shared section within patched_NtMapViewOfSection, to guarantee that there is no race condition where the shared section could get converted while being used.

Differential Revision: https://phabricator.services.mozilla.com/D187913
2023-09-12 12:04:55 +00:00
Bob Owen
a25c682e3b Bug 1851555: Add line for PATH env var to Windows ASan build instructions mozconfig. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D187582
2023-09-12 11:54:07 +00:00
Bob Owen
6cee752c49 Bug 1850072: Initialize RecordedDrawTargetCreation::mHasExistingData. r=jrmuizel
This also specializes ElementStreamFormat for bool.

Differential Revision: https://phabricator.services.mozilla.com/D187794
2023-09-12 11:51:11 +00:00
Nazım Can Altınova
74b92aa33c Bug 1514354 - Enable the gecko profiler on Android Firefox raptor tests r=kshampur,perftest-reviewers
It looks like we had support for Android before but since the Bug 1835065, we
lost this feature. This is because it looks like we added some
`self.config["app"] == "firefox"` checks to profiler related code and firefox
for android has different app name (like "geckoview" or "fenix").

This patch brings back the android profiling by changing those if checks to
include the android firefox adds as well.

Differential Revision: https://phabricator.services.mozilla.com/D187666
2023-09-12 11:47:22 +00:00
Robert Longson
7b6c56870c Bug 1287054 part 2 - support vw, vh, vmin and vmax units for non-CSS lengths r=emilio,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D180619
2023-09-12 11:45:27 +00:00
Robert Longson
2c9fa6fab2 Bug 1287054 part 1 - support rem, ch, ic and cap units for non-CSS lengths r=emilio,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D180618
2023-09-12 11:45:26 +00:00