Commit Graph

847658 Commits

Author SHA1 Message Date
Cristian Tuns
d58b87b9ba Backed out changeset 088b1611348a (bug 1841117) as requested by canadahonk CLOSED TREE 2023-07-04 18:39:27 -04:00
CanadaHonk
094b41d891 Bug 1841117 - Remove unused intl.uidirection pref r=gregp
It was still in `about:config` and referenced in some docs after mostly
being removed in Bug 1676137.

Differential Revision: https://phabricator.services.mozilla.com/D182748
2023-07-04 22:31:28 +00:00
James Teh
ad06ac989f Bug 1840298: Unify ScrollToPoint for local and remote Accessibles, thus enabling support for RemoteAccessible on Windows. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D181952
2023-07-04 22:25:33 +00:00
Joel Maher
aac7a0622c Bug 1822117 - support for wpt to have --repeat and work with confirm failure mode. r=gbrown,taskgraph-reviewers,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182681
2023-07-04 22:21:09 +00:00
Iain Ireland
0ab6fc2776 Bug 1840745: Remove TailCallVMFunctionId r=jandem
The only remotely clever bit here is the macro that generates calls to VMFunctionDataHelper. By making valuesToPop a variadic argument, we will either generate `PopValues()` (if there is no third argument) or `PopValues(N)` (if the third argument is N).

Depends on D182433

Differential Revision: https://phabricator.services.mozilla.com/D182434
2023-07-04 22:19:47 +00:00
Iain Ireland
c9b1de60a1 Bug 1840745: Standardize return address pushing in tailCallVM on link-register platforms r=jandem
This rewrites all the other platforms to match arm64.

Differential Revision: https://phabricator.services.mozilla.com/D182433
2023-07-04 22:19:46 +00:00
CanadaHonk
c50b872101 Bug 1531213 - Round to nearest integer per spec for calc() r=dholbert
Rounding to the nearest integer rounds in the direction of +inf when the
fractional portion is 0.5. eg: -1.5 -> -1, 1.5 -> 2

Spec: https://www.w3.org/TR/css-values-4/#css-round-to-the-nearest-integer
WPT test: https://wpt.fyi/results/css/css-values/calc-z-index-fractions-001.html

1 WPT subtest newly passes.

Differential Revision: https://phabricator.services.mozilla.com/D182745
2023-07-04 22:13:29 +00:00
Alexandre Poirot
928aff7def Bug 1841041 - [devtools] Remove context from removeAllBreakpoints and toggleSourceMapIgnoreList actions. r=devtools-reviewers,bomsy
These are rather a UI actions which shouldn't be dismissed.

Differential Revision: https://phabricator.services.mozilla.com/D182409
2023-07-04 21:52:43 +00:00
Alexandre Poirot
e07df1de5a Bug 1841041 - [devtools] Remove useless cx argument passed to clearPreview. r=devtools-reviewers,bomsy
This is no longer an action but a custom method on Preview/index.js.
Also fix the missing clearPreview method passed manually from Popup to ExceptionPopup.

Differential Revision: https://phabricator.services.mozilla.com/D182408
2023-07-04 21:52:42 +00:00
Alexandre Poirot
49909632cd Bug 1841041 - [devtools] Stop using context for selectSourceURL, setPendingSelectedLocation and clearSelectedLocation. r=devtools-reviewers,bomsy
All these three actions aren't related to any thread/source and shouldn't be cancelled.

Differential Revision: https://phabricator.services.mozilla.com/D182407
2023-07-04 21:52:42 +00:00
Noemi Erli
0a74430d29 Backed out changeset 3d70f2411ec6 (bug 1638359) for causing failures in test_ext_storage_sync_kinto.js CLOSED TREE 2023-07-05 01:06:24 +03:00
Cristian Tuns
d3c3b826b2 Merge mozilla-central to autoland on a CLOSED TREE 2023-07-04 17:51:59 -04:00
Cristian Tuns
217cc028cb Merge autoland to mozilla-central. a=merge 2023-07-04 17:39:28 -04:00
Tarik Eshaq
4a40d2148e Bug 1638359: Removes kSync and kXCS from local storage. r=markh,sync-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181789
2023-07-04 21:10:16 +00:00
Kagami Sascha Rosylight
df23859c9c Bug 1839506 - Part 2: Use StableSort() and stop using memory address for comparison r=emilio
Depending on the memory address looks wrong, since it can change during sort via copy/move.

Differential Revision: https://phabricator.services.mozilla.com/D182720
2023-07-04 20:53:17 +00:00
Kagami Sascha Rosylight
08e5b250d0 Bug 1839506 - Part 1: Add a parameterless overload for StableSort r=emilio
This follows the existing examples of Sort, Contains, etc.

Differential Revision: https://phabricator.services.mozilla.com/D182735
2023-07-04 20:53:17 +00:00
Mike Conley
a963836ce1 Bug 1840792 - Be more resilient and timely when dealing with database corruption during Chrome browser import. r=kpatenio
This patch does two things:

1. It makes it so that a corrupt database doesn't result in several retries to
   requery the database, as it's extremely unlikely that a corrupt database is
   going to somehow get repaired in the interim.
2. It makes it so that if any Chrome-based browser resource fails to be acquired
   properly, it still allows other resources from the same (and other!) profiles
   to be imported.

Differential Revision: https://phabricator.services.mozilla.com/D182737
2023-07-04 20:43:09 +00:00
Mike Hommey
53a440feec Bug 1831491 - Allow the macos SDK bootstrap to fail. r=firefox-build-system-reviewers,sergesanspaille
This allows to fall back to the autodetection of the SDK from the host
on mac machines. While not ideal, it's better than the status quo where
when Apple removes the SDK from its servers, configure plain fails.

Differential Revision: https://phabricator.services.mozilla.com/D182685
2023-07-04 20:37:06 +00:00
Mike Hommey
d59ba4dd7a Bug 1841201 - Work around tail-call optimization not happening on mips*. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D182687
2023-07-04 20:35:39 +00:00
Emilio Cobos Álvarez
2793a6f959 Bug 1841186 - Ensure that if there's room for both homepage button texts, they fit without line-wrapping. r=settings-reviewers,mconley
Depends on D182662

Differential Revision: https://phabricator.services.mozilla.com/D182663
2023-07-04 20:23:14 +00:00
Emilio Cobos Álvarez
918081d917 Bug 1841186 - Ensure homepage and new tabs menulists align. r=settings-reviewers,mconley
By simplifying the markup a bit.

Differential Revision: https://phabricator.services.mozilla.com/D182662
2023-07-04 20:23:14 +00:00
Nika Layzell
189dec60f0 Bug 1838686 - Check for content-initiated file URI loads in content, r=smaug,necko-reviewers,jesup
The goal of this change is to detect content-initiated file URI loads
earlier such that crash stacks give us a better idea of what is
responsible for starting these loads.

These assertions explicitly only fire for system-principal triggered
loads of file URIs, as those should never be happening from within a web
content process.

Differential Revision: https://phabricator.services.mozilla.com/D182223
2023-07-04 20:18:36 +00:00
Johannes J. Schmidt
fcff10dd45 Bug 1655195 - Ensure clean login manager database state - r=credential-management-reviewers,sgalich
Use `setStoredLoginsAsync`, which will clear logins leftovers.

Also as a drive by: use `add_task` and co, remove the use of `gTestDependsOnDeprecatedLogin`.

Differential Revision: https://phabricator.services.mozilla.com/D182714
2023-07-04 19:56:34 +00:00
Noemi Erli
f96fc74ade Backed out changeset 2795277d5963 (bug 1833759) for causing crash reporter related failures CLOSED TREE 2023-07-04 23:10:23 +03:00
Luca Greco
01ad2b396b Bug 1840615 - Record quarantine domains list size as a Glean metrics (mirrored into unified telemetry scalars). r=willdurand
Depends on D181401

Differential Revision: https://phabricator.services.mozilla.com/D181405
2023-07-04 19:33:21 +00:00
Mike Conley
f26432d99b Bug 1841506 - Make sure to run MigrationUtils.finishMigration when tearing down the migration wizard. r=kpatenio
This is needed in order to clear the gProfileStartup state after a startup
migration from a profile reset.

Differential Revision: https://phabricator.services.mozilla.com/D182733
2023-07-04 19:18:57 +00:00
Joel Maher
79de89bc07 Bug 1841649 - xpcshell script, default repeat to 0. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D182736
2023-07-04 19:16:37 +00:00
Nika Layzell
f216180afc Bug 1841660 - Fix potential deadlock waiting for StartupCache ThreadedPrefetch, r=jesup
In a previous change to this logic, we missed a hidden early return in
the `MMAP_FAULT_HANDLER_CATCH()` macro which can early return on both
Linux and Windows. If this is hit, we could end up blocking at various
points waiting for the StartupCache to be prefetched.

This patch changes the logic to notify to happen in a ScopeExit instead,
ensuring that it'll happen on all return paths.

In addition, there was another potential deadlock due to the
ThreadedPrefetch thread acquiring mTableLock. This was fixed by passing
in the pointers in the runnable instead. This should be OK as we are
making sure to block on ThreadedPrefetch before we clear the startup
data already.

Differential Revision: https://phabricator.services.mozilla.com/D182732
2023-07-04 19:05:06 +00:00
Nika Layzell
a2f7e06013 Bug 1841660 - Fix potential deadlock waiting for StartupCache ThreadedPrefetch, r=jesup
In a previous change to this logic, we missed a hidden early return in
the `MMAP_FAULT_HANDLER_CATCH()` macro which can early return on both
Linux and Windows. If this is hit, we could end up blocking at various
points waiting for the StartupCache to be prefetched.

This patch changes the logic to notify to happen in a ScopeExit instead,
ensuring that it'll happen on all return paths.

In addition, there was another potential deadlock due to the
ThreadedPrefetch thread acquiring mTableLock. This was fixed by passing
in the pointers in the runnable instead. This should be OK as we are
making sure to block on ThreadedPrefetch before we clear the startup
data already.

Differential Revision: https://phabricator.services.mozilla.com/D182732
2023-07-04 19:05:06 +00:00
Mozilla Releng Treescript
acd9db7d96 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cs -> 720922580769bc51dd4f73976c68dd77a20900ef
fi -> 1110d6200d2c0d8b905ac91db29ad04e9b50ce87
kk -> a0437385e06b20db03ea77a5eac6a560ab91a7f7
pt-PT -> bbc658b20c65f86b10d63c54d2547fea15ba6093
2023-07-04 19:00:42 +00:00
Cristian Tuns
6b05d477b8 Backed out changeset a76eed51a093 (bug 1840818) for causing mochitest failures in test_interfaces.html CLOSED TREE 2023-07-04 14:37:26 -04:00
Tooru Fujisawa
104464de4d Bug 1833759 - Catch xpcshell test crash before setting up the crash reporter. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D179635
2023-07-04 18:36:23 +00:00
Chris Peterson
f3ffb77b17 Bug 1841215 - Hard code UA string's macOS version as 10.15. r=necko-reviewers,jesup
Firefox 115 is the last version to support macOS versions < 10.15 (bug 1836375). Firefox (like Safari and Chrome) already caps the UA string's macOS version at 10.15 to avoid webcompat breakage from sites not expecting macOS versions >= 11.0 (bug 1679929).

Since the UA string's macOS version will no longer be < 10.15 or > 10.15, we can now hard code the UA string's macOS version as 10.15.

Differential Revision: https://phabricator.services.mozilla.com/D182585
2023-07-04 17:19:27 +00:00
Bob Owen
85a6b05b42 Bug 1839463 p2: Add TargetNtImpersonateAnonymousToken and remove TargetNtSetInformationThread patch. r=handyman
Depends on D181611

Differential Revision: https://phabricator.services.mozilla.com/D181612
2023-07-04 17:17:06 +00:00
Bob Owen
0436f5900f Bug 1839463 p1: Hook NtImpersonateAnonymousToken to block before LowerToken. r=handyman
This also reverts the change to TargetNtSetInformationThread.

Differential Revision: https://phabricator.services.mozilla.com/D181611
2023-07-04 17:17:06 +00:00
Tom Schuster
918d6e00af Bug 1772772 - Implement ReadableStream.from. r=saschanaz,spidermonkey-reviewers,webidl,mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D148358
2023-07-04 16:48:23 +00:00
Alexandre Poirot
03f524f519 Bug 1839411 - [devtools] Move Breakpoint context menus from React Component to a Redux action. r=devtools-reviewers,bomsy
Also avoid unecessary other re-renders by tweaking props between index.js and breakpoint.js.
And get rid of the new function reference (checkSourceOnIgnoreList) causing a re-render for all state changes.

Differential Revision: https://phabricator.services.mozilla.com/D181620
2023-07-04 15:58:23 +00:00
Alexandre Poirot
c261480ab8 Bug 1839410 - [devtools] Move Outline context menu from React Component to a Redux action. r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D181619
2023-07-04 15:58:23 +00:00
Alexandre Poirot
e3cbb370fb Bug 1839409 - [devtools] Move Editor context menus from React Component to a Redux action. r=devtools-reviewers,bomsy
This changeset, combined with the previous removes the last usages of the "menus" modules
which have been forked into the context-menus actions.

Also fix a bug in blackboxing where CodeMirror wasn't correctly showing blackboxed lines.
It wasn't showing the last blackboxed line as blackboxed.
When blackboxing only one line... it wasn't showing the line as blackboxed.

Differential Revision: https://phabricator.services.mozilla.com/D181618
2023-07-04 15:58:23 +00:00
Alexandre Poirot
2749367f59 Bug 1839411 - [devtools] Move Breakpoint Heading context menus from React Component to a Redux action. r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D181621
2023-07-04 15:58:22 +00:00
Alexandre Poirot
bdeb321d5f Bug 1839408 - [devtools] Move Editor's Breakpoint context menus from React Component to a Redux action. r=bomsy,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181617
2023-07-04 15:58:22 +00:00
Julien Cristau
00a310d1dd Bug 1841589 - update robustcheckout hg extension. r=releng-reviewers,hneiva
We'll now retry the clone/pull on http 5xx errors.

Differential Revision: https://phabricator.services.mozilla.com/D182699
2023-07-04 15:49:22 +00:00
Jan-Niklas Jaeschke
445f27e50b Bug 1840818: Enable Custom Highlight API in Nightly. r=dom-core,sefeng
Differential Revision: https://phabricator.services.mozilla.com/D182721
2023-07-04 15:40:24 +00:00
Mike Conley
873660df09 Bug 1840917 - Add a probe to measure how long it takes to show both the legacy and new migration wizard. data-review=jhirsch,r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D182389
2023-07-04 15:36:56 +00:00
Sean Feng
9c02e5d37a Bug 1841617 - Promote ORB telemetry probes to release channel r=farre
As they are currently defined as pre-release probes.

Differential Revision: https://phabricator.services.mozilla.com/D182722
2023-07-04 15:33:59 +00:00
Jan Varga
f7abbdcf3c Bug 1840545 - Remove QuotaUsageRequestBase::Init; r=dom-storage-reviewers,jari
Storage is now initialized explicitly in each DoDirectoryWork method which
requires it.

Differential Revision: https://phabricator.services.mozilla.com/D182178
2023-07-04 15:33:40 +00:00
Jan Varga
55e23855ff Bug 1840545 - Change QuotaUsageRequestBase::Init to be a pure virtual method; r=dom-storage-reviewers,jari
This makes it clear which derived classes need storage initialization.

Differential Revision: https://phabricator.services.mozilla.com/D182177
2023-07-04 15:33:40 +00:00
Jan Varga
0f448e4f8a Bug 1840545 - Move NormalOriginOperationBase to separate files; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D182176
2023-07-04 15:33:39 +00:00
Jan Varga
1fc9807fcd Bug 1840545 - Move OriginOperationBase to separate files; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D182175
2023-07-04 15:33:39 +00:00
Jan Varga
9d981e45a3 Bug 1840545 - Move some file utils to separate files; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D182174
2023-07-04 15:33:39 +00:00