Commit Graph

855001 Commits

Author SHA1 Message Date
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
Johannes J. Schmidt
41b645c8a4 Bug 1850535 - mochitest task cleanup function based formAutofillResult and setPreferencesForTask and their use - r=credential-management-reviewers,sgalich,dimi
Rewrite `test_autocomplete_autofill_related_realms_no_dupes.html` and introduce
* `setPreferencesForTask(...preferences)`
* `setStoredLoginsDuringTest(...loginInfos)`
* `setStoredLoginsDuringTask(...loginInfos)`
* `formAutofillResult(formId)`

which handles state cleanup between tests and tasks.

This includes a simplified version and implementation of Sergs work on a form
autofill listener (https://phabricator.services.mozilla.com/D167214) but based
on the task hook, and incorporating some learnings from
https://phabricator.services.mozilla.com/D185192

Differential Revision: https://phabricator.services.mozilla.com/D187435
2023-09-12 11:25:16 +00:00
Johannes J. Schmidt
4efbe6db94 Bug 1850535 - mochitest task cleanup function example usage - r=credential-management-reviewers,dimi
Switch a sample test to use `storeLoginsDuringTask(...loginInfos)` and
`setContentForTask(html)`, which are powered by task cleanup fn.

Differential Revision: https://phabricator.services.mozilla.com/D187271
2023-09-12 11:25:16 +00:00
Johannes J. Schmidt
9b046504e9 Bug 1850535 - mochitest task cleanup function support - r=credential-management-reviewers,sgalich,jmaher
Helpers and tests can hook into the test task lifecycle to provide a code that
will be executed after the current task is finished
(`SimpleTest.registerCurrentTaskCleanupFunction`), or after each task
(`SimpleTest.registerTaskCleanupFunction`). In doing so, for example, state can
be cleaned up.

Differential Revision: https://phabricator.services.mozilla.com/D187211
2023-09-12 11:25:16 +00:00
Jan de Mooij
a9ec3f39b6 Bug 1852540 - Fix some CacheIR generators to create objects if needed instead of failing to attach. r=iain
This fixes a performance cliff in some cases where we'd attach a slower stub instead.
This could happen with spread calls for example.

Differential Revision: https://phabricator.services.mozilla.com/D187904
2023-09-12 10:58:25 +00:00
Jonathan Kew
8265030dfe Bug 1850484 - Ignore installed fonts with empty family-name. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D187921
2023-09-12 10:44:02 +00:00
stransky
a1eed7162a Bug 1852724 [Linux] Call nsWindow::SetDrawsInTitlebar() early to avoid mShell/Container widget reparent r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D187973
2023-09-12 10:29:20 +00:00
Paul Zuehlcke
957502f580 Bug 1820793 - Enable global cookie banner handling rules in Nightly. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D187977
2023-09-12 10:21:52 +00:00
Alexandra Borovova
15d130b4a0 Bug 1788659 - [wdspec] Add tests for "script.realmDestroyed" event. r=webdriver-reviewers,jdescottes
Depends on D187550

Differential Revision: https://phabricator.services.mozilla.com/D187551
2023-09-12 09:39:56 +00:00
Alexandra Borovova
f76d7e94f9 Bug 1788659 - [bidi] Implement "script.realmDestroyed" event. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D187550
2023-09-12 09:39:56 +00:00
Paul Adenot
497ea8ec6a Bug 1852460 - Actually land the testcase instead of an empty file. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D187883
2023-09-12 09:03:25 +00:00
Alexandra Borovova
24aa536555 Bug 1849369 - Add event detail to DOMModalDialogClosed event in the GeckoView. r=geckoview-reviewers,webdriver-reviewers,ohall,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D187777
2023-09-12 08:53:31 +00:00
Henrik Skupin
21ccf582af Bug 1852526 - [devtools] Remove "domstyleruleOrActorid" type. r=devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D187894
2023-09-12 08:45:44 +00:00
Henrik Skupin
6b54c871d8 Bug 1852526 - [devtools] Remove "devtools.inspector.ruleview.inline-compatibility-warning.enabled" preference. r=devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D187893
2023-09-12 08:45:44 +00:00
Yannis Juglaret
51e2ded885 Bug 1803334 - Skip execution of MovPushRet and PushRet in TestDllInterceptor if Intel CET is active. r=handyman
Bug 1596930 added support for detouring a pattern of code used by eScan
Internet Security Suite. The patch also added tests to make sure
that we correctly detour this pattern.

The pattern involves a PUSH instruction followed by a RET instruction.
This pattern is forbidden by Intel CET, which enforces at RET time that
we always return to an address that was pushed on the stack by a
prior CALL instruction. Executing the pattern thus crashes if Intel CET
is active.

If CET is active, we must thus skip the execution part of the test, or
the test crashes. We will still check that our detouring code
recognized the pattern and detoured it, but we will not run the detoured
pattern anymore under active Intel CET.

Differential Revision: https://phabricator.services.mozilla.com/D163468
2023-09-12 08:27:19 +00:00
Emilio Cobos Álvarez
162e1a954d Bug 1852084 - Cleanup image function parsing. r=boris
Depends on D187765

Differential Revision: https://phabricator.services.mozilla.com/D187850
2023-09-12 07:50:13 +00:00
Sean Feng
e8ce071ea5 Bug 1851467 - Enable COEP:credentialless on desktop r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D187724
2023-09-12 07:36:12 +00:00
stransky
7aead8cc3d Bug 1850968 [Linux] Don't ref/unref nsUserIdleServiceGTK in its constructor r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D187874
2023-09-12 07:29:19 +00:00
Mark Banner
b187022551 Bug 1852576 - Remove unnecessary AboutCompat.jsm and aboutPageProcessScript.js entries from the intermittent known scripts list in browser_startup_content.js. r=webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D187911
2023-09-12 07:27:14 +00:00
Mozilla Releng Treescript
d91166a406 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 160b9a8f3f8758d43850b5a5a389a65af9b8a5a5
cs -> 9718e1816b9bbad12a7b9d61c5fe8bda1bbb789b
es-AR -> f8cfdde87c15f4de6865db6beafc59a5ede37e3f
ia -> 24aa9bdcc1a98b4f7382edc3e4a9cf5adbeea0d5
ru -> 258376cdaf6b2a78812385df3b7c47f265563780
sv-SE -> 05d20687195957e1c5cc2a15bb5d4ee5c8a64d8e
2023-09-12 06:59:28 +00:00
Mathew Hodson
f6dc24ae9e Bug 1852653 - Deindent nsXULTooltipListener::ShowTooltip() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D187951
2023-09-12 06:02:09 +00:00
Chris Peterson
98ed084375 Bug 1844845 - Remove OnSierraExactly(), OnHighSierraOrLater(), OnMojaveOrLater(), and OnCatalinaOrLater(). r=mac-reviewers,bradwerth
Firefox versions >= 116 only support macOS >= 10.15. All the callers of these runtime version checks for macOS 10.12 - 10.15 have been removed so we can now remove these functions, too.

Differential Revision: https://phabricator.services.mozilla.com/D187868
2023-09-12 05:39:05 +00:00
Stanca Serban
6d490604c6 Backed out 2 changesets (bug 1814798) for multiple phc related failures.
Backed out changeset 50b72ab948b2 (bug 1814798)
Backed out changeset bf7d386ad43a (bug 1814798)
2023-09-12 07:54:18 +03:00
Shridhar
33923f23c1 Bug 1840096 - Add parameters to identify DuckDuckGo in WDBA Telemetry. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D185859
2023-09-12 04:30:26 +00:00
Stanca Serban
b420aa4c49 Merge mozilla-central to autoland on a CLOSED TREE 2023-09-12 07:20:33 +03:00
Stanca Serban
09f7e00da9 Merge autoland to mozilla-central. a=merge 2023-09-12 07:09:36 +03:00
Paul Bone
8f391e64c7 Bug 1814798 - pt 2. Add a PHCManager component to control PHC r=glandium,emilio
This change adds the PHCManager class which observes a pref to control PHC.
The pref can be changed at runtime and will affect the parent and content
processes.

Differential Revision: https://phabricator.services.mozilla.com/D178754
2023-09-12 04:03:16 +00:00
Paul Bone
51e69845d9 Bug 1814798 - pt 1. Add bool to enable/disable PHC at runtime r=glandium
Add the ability to enable and disable PHC at runtime through the malloc
bridge.

Differential Revision: https://phabricator.services.mozilla.com/D178753
2023-09-12 04:03:16 +00:00
Stanca Serban
515e5875fe Backed out 2 changesets (bug 1287054) for causing Android wpt failures in SVGLength-ch.html. CLOSED TREE
Backed out changeset fc8eaef017f9 (bug 1287054)
Backed out changeset 8a94c155e35c (bug 1287054)
2023-09-12 06:54:17 +03:00
Masatoshi Kimura
d6ead03f0c Bug 1852412 - Convert set user choice error types to nsresult. r=nrishel
Differential Revision: https://phabricator.services.mozilla.com/D187849
2023-09-12 03:26:52 +00:00
Sergey Galich
859d7cf826 Bug 1850888 - updating PWMGR_IMPORT_LOGINS_FROM_FILE_* probes r=credential-management-reviewers,issozi
Differential Revision: https://phabricator.services.mozilla.com/D187787
2023-09-12 02:28:31 +00:00
Hiroyuki Ikezoe
0306a17550 Bug 1768393 - Filter out snap candidates if snapping to the point makes the snap area outside of the snapport. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D184342
2023-09-12 01:33:19 +00:00
Hiroyuki Ikezoe
453ba215a3 Bug 1768393 - Make SnapPosition inherit from ScrollSnapInfo::SnapTarget. r=botond
We will need the snap area, (i.e. SnapTarget::mSnapArea) in SnapPosition to tell
whether the snap area is visible or not if we snap to a candidate snap position.

Though SnapPosition::mPosition is redundant, it's equivalent to either
SnapTarget::mSnapPoint.mX or SnapTarget::mSnapPoint.mY, if we omit it, we need
another variable representing the axis of SnapPosition.

Differential Revision: https://phabricator.services.mozilla.com/D184341
2023-09-12 01:33:19 +00:00
Hiroyuki Ikezoe
0841d615c2 Bug 1768393 - Add the snap area into ScrollSnapRange. r=botond
We could avoid adding the snap area into ScrollSnapRange if we added two
additional flags representing whether the snap area size is larger than the
snapport into SnapTarget and drop ScrollSnapRange entirely. But it would
be inefficient in most cases since such larger snap area cases are uncommon, we
will not find any larger snap areas while iterating over
ScrollSnapInfo::mSnapTargets.

Differential Revision: https://phabricator.services.mozilla.com/D184340
2023-09-12 01:33:19 +00:00
Hiroyuki Ikezoe
2c2db3b837 Bug 1768393 - Support multiple SnapPositions in CandidateTracker. r=botond
It's possible that multiple snap target elements are located at the same
position in one axis but at different position in the other axis. We need to
keep track of them respectively in each CandidateTracker.

Differential Revision: https://phabricator.services.mozilla.com/D184339
2023-09-12 01:33:19 +00:00
Hiroyuki Ikezoe
4b78ee65bb Bug 1768393 - Drop mBestEdge initialization. r=botond
We can refer mEdgeFound whether mBestEdge has been set or not.

Differential Revision: https://phabricator.services.mozilla.com/D184338
2023-09-12 01:33:18 +00:00
Hiroyuki Ikezoe
a871c68b32 Bug 1768393 - Introduce SnapPoint to wrap a pair of Maybe<nscoord>. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D184337
2023-09-12 01:33:18 +00:00
Hiroyuki Ikezoe
2c17f8584b Bug 1768393 - Change mSecondBestEdge type to nscoord. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D184336
2023-09-12 01:33:18 +00:00
Hiroyuki Ikezoe
b58d2a82a1 Bug 1768393 - Use the snap position on the axis only if the scroll snap strictness is not none to tell whether the given snap position is inside the scrollport or not. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D184335
2023-09-12 01:33:18 +00:00
Hiroyuki Ikezoe
2c18e7014d Bug 1768393 - Rename mozilla::SnapTarget to mozilla::SnapDestination. r=botond
It was confusing with ScrollSnapInfo::SnapTarget.

Differential Revision: https://phabricator.services.mozilla.com/D184334
2023-09-12 01:33:18 +00:00
Hiroyuki Ikezoe
3b13152733 Bug 1768393 - Split out ScrollSnapInfo. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D184333
2023-09-12 01:33:17 +00:00
Hiroyuki Ikezoe
4b27c29f0a Bug 1768393 - Add wpts snapping to points of combinations of two different elements. r=botond
snap-to-combination-of-two-elements-2.tentative.html is a bit questionable,
thus it's tentative for now.

We fail the tentative test due to bug 1768393. Chrome also fails in a different
way. Chrome seems to filter out snap target elements initially if they are
outside of the scroll port and then determine the final snap position. Thus snap
positions defined by #right-bottom element in the test are ignored in the case
of the initial scroll position (0, 0).

Differential Revision: https://phabricator.services.mozilla.com/D184332
2023-09-12 01:33:17 +00:00
James Teh
352ff65c6a Bug 1851865: Include the subtree of <code>, <sup>, <sub>, <ins> and <del> when computing the a11y name if the element isn't the root node of the computation. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D187866
2023-09-12 01:17:24 +00:00
James Teh
5e1a54c589 Bug 1851288: Cache when a UIA client is not on the block list. r=nlapre
Previously, we cached when a UIA client was blocked or when there were no UIA clients.
However, we did not cache the result when a UIA client was present but *not* blocked.
This isn't normally a problem because a11y is normally instantiated in this case, which means we won't try to do any client detection again this session.
However, if a11y is force disabled via the pref, we still do detection, but we don't instantiate.
This meant that a UIA client which hammered us with queries would keep triggering the detection code, since we weren't caching the result.
That resulted in severe performance degradation for impacted users.
To fix this, cache the UIA detection result even if we do allow a11y instantiation.

Differential Revision: https://phabricator.services.mozilla.com/D187869
2023-09-12 01:09:49 +00:00
Ryan VanderMeulen
64eef6b342 Bug 1852649 - Cherry-pick upstream libwebp fix. r=tnikkel, a=RyanVM
Backport of:
2af26267cd

Differential Revision: https://phabricator.services.mozilla.com/D187950
2023-09-11 20:19:25 -04:00
Mike Hommey
1a100fcdcc Bug 1851530 - Use plain packed_simd. r=hsivonen,supply-chain-reviewers
As of bug 1719535, libm is vendored, so we don't need to pull it out of
packed_simd anymore, and that was the last remaining difference between
upstream and our fork.

Differential Revision: https://phabricator.services.mozilla.com/D187413
2023-09-11 23:59:21 +00:00