792562 Commits

Author SHA1 Message Date
Scott
54dfbbf5b6 Bug 1765859 - Clear save to Pocket button recent saves if user logs into another Pocket account. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D144334
2022-04-21 22:42:09 +00:00
Norisz Fay
8f626f6989 Backed out changeset 41bd981c3622 (bug 1651728) for causing bc failures on browser_readerMode_download.js CLOSED TREE 2022-04-22 01:33:29 +03:00
Andrew Erickson
9e72184ac9 Bug 1765482: update linux hostutils r=gbrown
m-c build used: https://treeherder.mozilla.org/jobs?repo=mozilla-central&revision=f78fb89b9c2f6255da18795f55dd420dcb1be6b2

Differential Revision: https://phabricator.services.mozilla.com/D144229
2022-04-21 22:04:43 +00:00
Hunter Jones
738d90142b Bug 1678390: Prevent Picture-in-Picture windows from opening on top of one another r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D97847
2022-04-21 21:58:39 +00:00
Mike Hommey
2e75f81b2e Bug 1765680 - Use toolchain aliases for rust dependencies for toolchains. r=firefox-build-system-reviewers,mhentges
While here, upgrade the rust toolchain used for lowercase. For some
reason it was stuck on 1.47.

Differential Revision: https://phabricator.services.mozilla.com/D144240
2022-04-21 21:55:59 +00:00
Norisz Fay
2accd3d077 Backed out changeset f177a4875b01 (bug 1759196) for causing build bustages on Unified_cpp_sandbox_common0.o CLOSED TREE 2022-04-22 00:29:44 +03:00
Cosmin Sabou
86be8c9fc7 Backed out changeset 252f5225f556 (bug 1764626) for causing bc failures on browser_multistage_spotlight.js. CLOSED TREE 2022-04-22 00:15:02 +03:00
Jed Davis
f8d698d203 Bug 1759196 - Fix the Linux sandbox's handling of 32-bit arguments on 64-bit platforms. r=gcp,bobowen
Background: When 32-bit types are passed in registers on x86-64 (and
probably other platforms?), the function call ABI does not specify the
contents of the upper half, and the Linux kernel syscall ABI appears to
have the same behavior.

In practice, the upper half is usually zero (or maybe sign-extended from
the lower half), because 64-bit operations aren't cheaper than 32-bit,
and 32-bit operations zero-extend their outputs; therefore, this case
usually doesn't happen in the first place, and any kind of spill or
register move will zero the upper half.  However, arbitrary values are
possible, and a case like this has occurred with the Firefox profiler
using `clock_gettime`.  (This paragraph is applicable to x86-64 and
ARM64; other 64-bit architecutures may behave differently.)

But the Chromium seccomp-bpf compiler, when testing the value of a 32-bit
argument on a 64-bit platform, requires that the value be zero-extended
or sign-extended, and (incorrectly, as far as I can tell) considers
anything else an ABI violation.

With this patch, when that case is detected, we use the `SIGSYS` handler
to zero-extend the problematic argument and re-issue the syscall.

(It would also be possible to just ignore the upper half, and that would
be faster, but that could lead to subtle security holes if the type
used in `bpf_dsl` is incorrect and the kernel really does treat it as
64-bit.)

Differential Revision: https://phabricator.services.mozilla.com/D143964
2022-04-21 21:09:52 +00:00
Chris H-C
e3d4d5098d Bug 1763593 - Bypass NS_DispatchToMainThread's assert while handling the leak. r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D144175
2022-04-21 20:57:41 +00:00
Chris H-C
bb93306954 Bug 1763593 - Clear the map immediately if already late in shutdown r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D144174
2022-04-21 20:57:41 +00:00
Meg Viar
4fad8087fa Bug 1764626 - Differentiate between about:welcome and Spotlight context when sending event telemetry r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D143645
2022-04-21 20:25:20 +00:00
Andrew Erickson
299a7b5fe9 Bug 1765482: update mac hostutils r=gbrown
m-c build used: https://treeherder.mozilla.org/jobs?repo=mozilla-central&revision=f78fb89b9c2f6255da18795f55dd420dcb1be6b2

Differential Revision: https://phabricator.services.mozilla.com/D144232
2022-04-21 19:55:11 +00:00
Norisz Fay
88be59b607 Backed out 2 changesets (bug 1654054) for causing bc failures on browser_nimbusShowIconOnly.js
CLOSED TREE

Backed out changeset 2b6a67ada4d3 (bug 1654054)
Backed out changeset 2f9ad49eb131 (bug 1654054)
2022-04-21 22:53:22 +03:00
Andrew Erickson
fabc9f884f Bug 1765482: update win32 hostutils r=gbrown,m_kato
m-c build used: https://treeherder.mozilla.org/jobs?repo=mozilla-central&revision=f78fb89b9c2f6255da18795f55dd420dcb1be6b2

Differential Revision: https://phabricator.services.mozilla.com/D144231
2022-04-21 19:36:19 +00:00
Emilio Cobos Álvarez
56b7651e75 Bug 1765504 - Make ifdefs match to fix -Wunused.
MANUAL PUSH: Trivial build fix.
2022-04-21 21:38:07 +02:00
Luca Greco
084e167245 Bug 1761828 - Propagate isHandlingUserInput from ProxyAPIImplementation.callAsyncFunction. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D143188
2022-04-21 19:32:53 +00:00
Luca Greco
860ddca07a Bug 1764568 - Include extensions.manifestV3.enabled and extensions.eventPages.enabled prefs in about:support. r=mixedpuppy
Depends on D143726

Differential Revision: https://phabricator.services.mozilla.com/D143727
2022-04-21 18:56:06 +00:00
Luca Greco
47a3cfa721 Bug 1764568 - Include extensions.manifestV3.enabled and extensions.eventPages.enabled prefs to telemetry environment. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D143726
2022-04-21 18:56:06 +00:00
Sean Feng
2b3ba5910c Bug 1734997 - Add a test to test aborting the signal in postTask's callback r=smaug
Depends on D139902

Differential Revision: https://phabricator.services.mozilla.com/D142735
2022-04-21 18:47:55 +00:00
Sean Feng
a73ecaa2ba Bug 1734997 - Don't reduce timer precision for post-task-delay.any.js r=smaug
If the timer preceision is reduced, the elapsed time between to
timers maybe shorter than the acutal result. And this fact
made this test to fail, so here we disable this feature for this
test.

Differential Revision: https://phabricator.services.mozilla.com/D139902
2022-04-21 18:47:54 +00:00
Sean Feng
150d4ec3c9 Bug 1734997 - Enable WPT for the Prioritized Task Scheduling API r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D133498
2022-04-21 18:47:54 +00:00
Sean Feng
c8c6fa631d Bug 1734997 - Fix the setPriority-delayed-task test in Firefox r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D133497
2022-04-21 18:47:54 +00:00
Sean Feng
698c05dab7 Bug 1734997 - Fix some failures related to the new interfaces that are introduced by the Scheduling API r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D133495
2022-04-21 18:47:53 +00:00
Sean Feng
7e68246bb0 Bug 1734997 - Allow some timeouts not to clamp in workers r=smaug
Depends on D133494

Differential Revision: https://phabricator.services.mozilla.com/D142948
2022-04-21 18:47:53 +00:00
Sean Feng
5042a856cf Bug 1734997 - Prototype the Prioritized Task Scheduling API r=smaug
Spec: https://wicg.github.io/scheduling-apis/

Differential Revision: https://phabricator.services.mozilla.com/D133494
2022-04-21 18:47:52 +00:00
Joel Maher
15daab2123 Bug 1765461 - fix cron filters to not scheduled a51 condprof. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D144329
2022-04-21 18:47:40 +00:00
Andrew Erickson
5c3a1223f6 Bug 1765681: hostutils upgrade code improvement r=gbrown
Tweak hostutils upgrade logic to work with version numbers > 99.

Differential Revision: https://phabricator.services.mozilla.com/D144241
2022-04-21 18:30:19 +00:00
Kash Shampur
8c9b88cd70 Bug 1728338 - Stop alerting on tests not in alert_on r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D144216
2022-04-21 18:08:44 +00:00
Gregory Mierzwinski
b9466bda67 Bug 1765457 - Enable custom browsertime testing through raptor. r=perftest-reviewers,kshampur
This patch builds off the ability to specify custom browsertime arguments on the command line in raptor to let the user run custom tests in "vanilla" browsertime. In this patch, we create a new test called `browsertime` that can be used to get a "dummy" template for a raptor test. Then, the user will be responsible for providing either a test script, or a URL to test.

To use a custom script we can pass something like `--browsertime-arg test_script=/path/to/script` or `--browsertime-arg url=https://www.sitespeed.io`. Furthermore, we can also use `test_script=pageload` to specify that we want to use the browsertime pageload script.

Differential Revision: https://phabricator.services.mozilla.com/D144168
2022-04-21 18:05:53 +00:00
Gregory Mierzwinski
3b88452e0b Bug 1750976 - Add ability to provide custom browsertime arguments. r=perftest-reviewers,kshampur
This patch adds the ability to provide custom browsertime arguments through the command line option `--browsertime-arg`. It is used like so:

`
./mach raptor --browsertime -t browsertime --browsertime-arg test_script=/home/sparky/mozilla-source/mozilla-central/testing/raptor/browsertime/browsertime_pageload.js --browsertime-arg browsertime.url=https://www.sitespeed.io --browsertime-arg iterations=3
`

Differential Revision: https://phabricator.services.mozilla.com/D144166
2022-04-21 18:05:52 +00:00
Ray Kraesig
e2273932cb Bug 1765845 - mach configure: check all candidate SDK directories r=mhentges
`get_sdk_dirs` does not actually return multiple candidate SDK
directories. This can lead to `mach` not finding a usable SDK dir if an
unusable one conceals it.

(This state of affairs was observed after installing the latest WDK
without its matching SDK -- which is something one might do just to get
WDK-associated tools like TraceView.)

Differential Revision: https://phabricator.services.mozilla.com/D144325
2022-04-21 18:04:52 +00:00
Jim Blandy
94f2ec8fbe Bug 1755702: Return NOT_IMPLEMENTED from mozilla::webgpu::CanvasContext::GetInputStream. r=jgilbert
Continue to set the returned stream to `nullptr` (which callers do not
check for, but is safe), but return `NS_ERROR_NOT_IMPLEMENTED` instead
of `NS_OK` --- callers do check the `nsresult`.

Returning an `NS_FAILED` result from our `GetInputStream`
implementation causes `HTMLCanvasElement.prototype.toDataURL` to
return the fallback value `"data:,"`.

Differential Revision: https://phabricator.services.mozilla.com/D144242
2022-04-21 18:01:38 +00:00
David Parks
c16c179c4c Bug 1764560: Disable mochitest bug418986-3 on Windows-e10s r=bobowen
The test hasn't been working properly.  The timing of the IPDL message PBrowser::ChildToParentMatrix is often too late for the test -- it will have already computed and compared invalid "device" coordinates.  Disabling the test while we figure this out.

Differential Revision: https://phabricator.services.mozilla.com/D144318
2022-04-21 18:00:18 +00:00
Lee Salzman
cc5a1729f6 Bug 1765162 - Fix leak in GlyphCacheEntry. r=aosmond
GlyphBuffer was getting allocated but never destroyed.
This adds a destructor that fixes that.

Differential Revision: https://phabricator.services.mozilla.com/D143917
2022-04-21 17:59:45 +00:00
Niklas Baumgardner
b163e7d7a5 Bug 1654054 - Fluent migration for videocontrols. r=fluent-reviewers,mconley,flod
Depends on D139742

Differential Revision: https://phabricator.services.mozilla.com/D143622
2022-04-21 17:58:17 +00:00
Mike Conley
251672771a Bug 1654054 - Port videocontrols to Fluent. r=mconley,fluent-reviewers,pip-reviewers,flod
Original patch by Guanlin Cheng <chenggu3@msu.edu>.

Differential Revision: https://phabricator.services.mozilla.com/D139742
2022-04-21 17:58:17 +00:00
chadb
668bdfbf42 Bug 1651728 Remove reader mode toolbar from saved document. r=niklas,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D138562
2022-04-21 17:57:51 +00:00
Punam Dahiya
c4369c6409 Bug 1763825 - Handle about:welcome and spotlight dialog display for shorter screen width r=Mardak,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D143438
2022-04-21 17:43:56 +00:00
Emilio Cobos Álvarez
ae3d893e6b Bug 1765746 - Update cbindgen again. r=dshin
This basically improves and turns on constexpr support:

  https://github.com/eqrion/cbindgen/pull/756

Also incorporates:

  https://github.com/eqrion/cbindgen/pull/754

Though that has no real impact for our builds.

Depends on D144316

Differential Revision: https://phabricator.services.mozilla.com/D144317
2022-04-21 17:23:39 +00:00
Emilio Cobos Álvarez
c42ed6e96e Bug 1765746 - Tweak contain bitflag definition order to avoid static constructors. r=dshin
This has no behavior change otherwise. The STRICT definition depended on
SIZE, which was defined later. That's fine in Rust, but in C++ it causes
the initialization to be dynamic because it doesn't have the definition
of SIZE yet (ugh).

This is the fix for the regression, though the following patch turns on
constexpr support in cbindgen, which would've caught this at build-time,
and guarantees that we don't have extra static constructors.

Differential Revision: https://phabricator.services.mozilla.com/D144316
2022-04-21 17:23:38 +00:00
Cosmin Sabou
512562821f Backed out 16 changesets (bug 1752332) for causing unrooted hazard failures. CLOSED TREE
Backed out changeset 1e57c99c133b (bug 1752332)
Backed out changeset 090719a92e33 (bug 1752332)
Backed out changeset c9c556d2f676 (bug 1752332)
Backed out changeset 1ca918455158 (bug 1752332)
Backed out changeset 1e3858df144d (bug 1752332)
Backed out changeset 33fb4d7c0f3c (bug 1752332)
Backed out changeset 6320b4b3d12d (bug 1752332)
Backed out changeset 322bbf59820a (bug 1752332)
Backed out changeset fe8f3e1c43b0 (bug 1752332)
Backed out changeset e5d5d24b0f3b (bug 1752332)
Backed out changeset f48f4c1b0784 (bug 1752332)
Backed out changeset 61b6a151b215 (bug 1752332)
Backed out changeset 0e70bf8ca3e4 (bug 1752332)
Backed out changeset 2dadbfd0b1d7 (bug 1752332)
Backed out changeset ce9e1254e82f (bug 1752332)
Backed out changeset 3ce1d0529b34 (bug 1752332)
2022-04-21 21:33:03 +03:00
Boris Chiou
8e54e21d3a Bug 1737918 - Part 4: Implement scroll() in layout and support nearest scroller. r=emilio
There is a known issue: if we change overflow property of the
scroll-container, we may have to update the scroll-linked animations of
its descendants. This may be very tricky, so I filled Bug 1765211 for it.

Differential Revision: https://phabricator.services.mozilla.com/D143420
2022-04-21 17:05:19 +00:00
Boris Chiou
3efc8e6e9c Bug 1737918 - Part 3: Replace Scroller::Type with StyleScroller. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D143419
2022-04-21 17:05:18 +00:00
Boris Chiou
8efa1324d7 Bug 1737918 - Part 2: Replace StyleScrollDirection with StyleAxis. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D143418
2022-04-21 17:05:18 +00:00
Boris Chiou
b34f4349a7 Bug 1737918 - Part 1: Add scroll() to animation-timeline for style system. r=emilio
scroll() is defined in the spec proposal, and there is a temporary spec:
https://drafts.csswg.org/scroll-animations-1/rewrite#scroll-notation.

The spec is still under development, so we don't drop the orignal
scroll-timeline at rule. Instead, we add a new scroll() notation to
animation-timeline, and support both syntax for now.

Differential Revision: https://phabricator.services.mozilla.com/D143417
2022-04-21 17:05:17 +00:00
Csoregi Natalia
5c12f4e1e3 Backed out changeset 4610b9c86ea0 (bug 1763825) for causing node failures. CLOSED TREE 2022-04-21 19:58:24 +03:00
Emilio Cobos Álvarez
e8f1648bd3 Bug 1765685 - Ensure customization mode is opaque. r=dao
The Linux compositor relies on the tab area being fully opaque, all the
time. This I'm almost sure also fixes bug 1762379, since alpenglow also
has a semi-transparent toolbar-bgcolor.

Differential Revision: https://phabricator.services.mozilla.com/D144261
2022-04-21 16:36:55 +00:00
Punam Dahiya
fb833777a2 Bug 1763825 - Handle about:welcome and spotlight dialog display for shorter screen width r=Mardak,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D143438
2022-04-21 16:24:01 +00:00
Chun-Min Chang
1ed9f039d3 Bug 1765627 - Make sure {Disc, C}onnectDeviceInput are correctly called r=padenot
Add some assertions to make sure the ConnectDeviceInput and
DisconnectDeviceInput are called at the right time.

Differential Revision: https://phabricator.services.mozilla.com/D144218
2022-04-21 16:09:58 +00:00
Tom Ritter
dc43c03f13 Bug 1764976: Lint fix for moz_yaml. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D144311
2022-04-21 15:56:54 +00:00