Commit Graph

839182 Commits

Author SHA1 Message Date
Thomas Wisniewski
695f2198ee Bug 1828953 - add automated tests for a lot of webcompat interventions (mostly Android); r=ksenia
Differential Revision: https://phabricator.services.mozilla.com/D176205
2023-04-24 18:15:41 +00:00
Tyson Smith
f2f8898b45 Bug 1825171 - Wayland TSan suppressions. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D174937
2023-04-24 18:13:28 +00:00
Mike Conley
01e40bc7c1 Bug 1828738 - Make it possible for about:welcome to close the FxA sign-in tab after sign-in completes. r=aminomancer,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D175934
2023-04-24 18:03:19 +00:00
Brad Werth
1c8e1b829f Bug 1776738: Make fullscreen and pointerlock mochitests use document.fullscreenElement to determine fullscreen-ness. r=edgar
With these changes, it's no longer necessary to store the normalSize on
the window, since we never check it, nor check for resize events. This
also removes the flaky timeouts, and replaces them with an executeSoon.

For some of the fullscreen tests, the number of calls to enter and exit
fullscreen are not matched. Since that count is essential for the checks
of whether or not the screen is in the expected fullscreen, this defines a
method that can force the count to a specific value. This is used in some
of the fullscreen tests to get the expected results.

Differential Revision: https://phabricator.services.mozilla.com/D172852
2023-04-24 17:59:39 +00:00
Calixte
562799d5e5 Bug 1829366 - Enable the new PDF.js toolbar on GeckoView r=geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D176309
2023-04-24 17:51:22 +00:00
Calixte
7daed634d5 Bug 1829638 - Update PDF.js to new version 1b79b0cd210e38aab6e3420de5fe862a1c7f56c7 r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D176299
2023-04-24 17:42:33 +00:00
Julien Pages
a493bef73e Bug 1819215 - wasm: Change the validation of supertypes during parsing. r=rhunt,jseward
Split the parsing and validation of the types section in two iterations.
First, parse and validate the types. Then, check the subtyping relationships
in a second iteration, this avoid dealing with not yet loaded supertypes.

Differential Revision: https://phabricator.services.mozilla.com/D175698
2023-04-24 17:02:58 +00:00
Jamie Nicol
1229a40148 Bug 1828248 - Use QCOM_tiled_rendering when rendering color and picture cache targets. r=gfx-reviewers,nical
We have seen reports that various websites, including twitter, perform
poorly on older Adreno devices due, to backdrop filter. We previously
encountered similar on Mali-G710 devices in bug 1809738, and it
appeared to be due to having to copy the contents of large
framebuffers--required to render the backdrop filter--to and from the
GPU's tile memory. On Mali we were able to avoid this penalty by
ensuring we performed an unscissored clear immediately after binding
the framebuffer, allowing the driver to omit initalizing the contents
of tile memory prior to rendering.

It's plausible that older Adreno drivers are not clever enough to be
able to make this optimization. However, there exists an extension
QCOM_tiled_rendering, which allows us to explicitly tell the driver
which subregion of a render target we are rendering too, and whether
it must be pre-initilized or post-resolved.

This patch makes use of this extension when rendering to color and
picture cache targets. In both cases we supply the region that is
being rendered and must only resolve the color attachment back to main
memory. In most cases we can additionally avoid initializing tile
memory prior to rendering, with the exception being in
draw_color_target() when we do not perform an initial clear, in which
case we must initialize the color attachment.

This results in a significant performance improvement on twitter when
tested on a Nexus 5 (Adreno 330) device.

Differential Revision: https://phabricator.services.mozilla.com/D176154
2023-04-24 16:37:07 +00:00
Jamie Nicol
d62fe2d0aa Bug 1828248 - Update gleam to 0.15. r=gfx-reviewers,supply-chain-reviewers,jrmuizel
This provides us with QCOM_tiled_rendering, which will be used in the
next patch in this series.

Differential Revision: https://phabricator.services.mozilla.com/D176153
2023-04-24 16:37:06 +00:00
Sergey Galich
9fcf0fb644 Bug 1829427 - Update Relay integration checkbox in Settings r=credential-management-reviewers,fluent-reviewers,settings-reviewers,flod,jneuberger,mconley
Differential Revision: https://phabricator.services.mozilla.com/D176192
2023-04-24 16:31:13 +00:00
serge-sans-paille
7df7d42bf2 Bug 1827566 - Isolate SSE2 requirements to SSE-compiled file r=glandium
Only provide forward declaration to the generic code.

Differential Revision: https://phabricator.services.mozilla.com/D175742
2023-04-24 16:27:38 +00:00
Narcis Beleuzu
f8f8179943 Backed out 2 changesets (bug 1753565) for GTest failure on MultipleSmoothScrollsSmooth . CLOSED TREE
Backed out changeset d454667254ed (bug 1753565)
Backed out changeset 1c5305d4d10a (bug 1753565)
2023-04-24 20:58:57 +03:00
Bilal
cfcf4ebb8e Bug 1817013 - ESMified browser/components/touchbar/MacTouchBar.jsm. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D176082
2023-04-24 16:27:34 +00:00
Dan Robertson
24231c094d Bug 1753565 - Disable prefers-reduced-motion for tests. r=botond
Disable the prefers-reduced-motion preference for mochitests and
web-platform-tests.

Depends on D172446

Differential Revision: https://phabricator.services.mozilla.com/D174956
2023-04-24 16:21:31 +00:00
Dan Robertson
1ee623fb13 Bug 1753565 - Default disable smooth scrolls if prefers-reduced-motion. r=botond
If the user has the prefers-reduced-motion system setting enabled, do
not enable smooth scrolls by default.

Differential Revision: https://phabricator.services.mozilla.com/D172446
2023-04-24 16:21:31 +00:00
Sandor Molnar
657465b8bd Backed out changeset 980bbb2d3e06 (bug 1814210) for causing multiple dt/bc failures in modules/remotepagemanager/RemotePageManagerParent.sys.mjs CLOSED TREE 2023-04-24 19:11:24 +03:00
Julien Pages
7390510f3f Bug 1819215 - wasm: Change subtyping rules for functions. r=rhunt
Previously, function subtyping was only checking the invariance.
Now, return types are covariant and arguments are contravariant.

Differential Revision: https://phabricator.services.mozilla.com/D175697
2023-04-24 16:05:59 +00:00
Steven Michaud
a49062ba28 Bug 1801419 - Explicitly link SidecarCore framework. r=mac-reviewers,spohl
Differential Revision: https://phabricator.services.mozilla.com/D175383
2023-04-24 16:00:45 +00:00
Mark Banner
79db15f9e5 Bug 1829620 - Treat try_task_config.json as a generated file, so that it is not linted when pushing to try. r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D176285
2023-04-24 16:00:32 +00:00
Molly Howell
94fdd79366 Bug 1826715 - Manually mark a document as activated when a PIP window is opened from it. r=pip-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D176181
2023-04-24 15:56:38 +00:00
Cristina Horotan
2e588d640d Backed out changeset db920151d68a (bug 1827566) for causing build bustages at nsTextFragmentGenericFwd.h CLOSED TREE 2023-04-24 18:54:22 +03:00
Mike Conley
db83dfef1b Bug 1828117 - Add a convenient ASRouterTargeting attribute for clients installed via guided device migration from SUMO. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D176185
2023-04-24 15:38:41 +00:00
serge-sans-paille
2b365837ed Bug 1827566 - Isolate SSE2 requirements to SSE-compiled file r=glandium
Only provide forward declaration to the generic code.

Differential Revision: https://phabricator.services.mozilla.com/D175742
2023-04-24 15:35:11 +00:00
Neil Deakin
bdaddaaa1b Bug 1814210, remove remote page manager now that it is no longer used, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D171605
2023-04-24 15:17:10 +00:00
Sandor Molnar
ca475d4684 Backed out changeset 3ae01032459a (bug 1814210) for causing bc failures in browser/base/content/test/static/browser_all_files_referenced.js CLOSED TREE 2023-04-24 18:27:23 +03:00
Sandor Molnar
8ef4b76706 Backed out 2 changesets (bug 1828248) for causing wrench bustages.
Backed out changeset 7a9431bded9e (bug 1828248)
Backed out changeset 5ec09fef9385 (bug 1828248)
2023-04-24 18:22:41 +03:00
Jan de Mooij
3144067bef Bug 1829358 - Handle length < initializedLength when copying dense elements. r=jonco
In this case we shouldn't copy all dense elements from the source object.

This can happen when `@@isConcatSpreadable` is used with non-array objects.
The patch also adds a number of tests for that to improve our test coverage.

Differential Revision: https://phabricator.services.mozilla.com/D176312
2023-04-24 15:01:37 +00:00
Jamie Nicol
d03c4c499b Bug 1828248 - Use QCOM_tiled_rendering when rendering color and picture cache targets. r=gfx-reviewers,nical
We have seen reports that various websites, including twitter, perform
poorly on older Adreno devices due, to backdrop filter. We previously
encountered similar on Mali-G710 devices in bug 1809738, and it
appeared to be due to having to copy the contents of large
framebuffers--required to render the backdrop filter--to and from the
GPU's tile memory. On Mali we were able to avoid this penalty by
ensuring we performed an unscissored clear immediately after binding
the framebuffer, allowing the driver to omit initalizing the contents
of tile memory prior to rendering.

It's plausible that older Adreno drivers are not clever enough to be
able to make this optimization. However, there exists an extension
QCOM_tiled_rendering, which allows us to explicitly tell the driver
which subregion of a render target we are rendering too, and whether
it must be pre-initilized or post-resolved.

This patch makes use of this extension when rendering to color and
picture cache targets. In both cases we supply the region that is
being rendered and must only resolve the color attachment back to main
memory. In most cases we can additionally avoid initializing tile
memory prior to rendering, with the exception being in
draw_color_target() when we do not perform an initial clear, in which
case we must initialize the color attachment.

This results in a significant performance improvement on twitter when
tested on a Nexus 5 (Adreno 330) device.

Differential Revision: https://phabricator.services.mozilla.com/D176154
2023-04-24 15:00:17 +00:00
Jamie Nicol
08408d1bf3 Bug 1828248 - Update gleam to 0.15. r=gfx-reviewers,supply-chain-reviewers,jrmuizel
This provides us with QCOM_tiled_rendering, which will be used in the
next patch in this series.

Differential Revision: https://phabricator.services.mozilla.com/D176153
2023-04-24 15:00:16 +00:00
James Teow
67d2b60534 Bug 1829578 - Allow hrefs of SERPs to be classified as non_ads_link - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D176243
2023-04-24 14:54:29 +00:00
James Teow
26c970ec24 Bug 1816736 - Add in-content search tracking to SERP impression event - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D176242
2023-04-24 14:54:28 +00:00
James Teow
62944933ed Bug 1828786 - Allow component categorization and ad_impression to occur on pages without ads - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D176159
2023-04-24 14:54:28 +00:00
Mike Kaply
d8e47b1e43 Bug 1829197 - Add support for deleting PKCS #11 modules via policy. r=keeler,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D176078
2023-04-24 14:51:32 +00:00
Neil Deakin
e6baacb051 Bug 1814210, switch ActivityStreamMessageChannel to use actor-based Remote Page Manager, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D171604
2023-04-24 14:27:58 +00:00
Cristina Horotan
72d8303d24 Backed out changeset 79e250417e3f (bug 1828387) for causing fp failures at test_gifft.py and bustages at GleanJSMetricsLookup.cpp CLOSED TREE 2023-04-24 17:28:06 +03:00
Kris Maglione
d16cfba269 Bug 1827439: Null check mFrameLoader in ChangeFrameLoaderCommon. r=edgar
When we're called from IPC, we can race the child for frame loader
destruction, which means we can wind up with a null `mFrameLoader` here.
Adding a null check is consistent with the other similar null checks higher
and lower in the call chain.

Differential Revision: https://phabricator.services.mozilla.com/D176286
2023-04-24 14:16:24 +00:00
serge-sans-paille
fc30569ccf Bug 1828387 - Make toolkit/components/glean buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D175600
2023-04-24 14:07:10 +00:00
anwar
acb6cab567 Bug 1826705 - Make destroy method of MessageHandler modules optional. r=jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176294
2023-04-24 14:00:41 +00:00
Nicolas Chevobbe
664b953b47 Bug 1824910 - Bug 1829100 - [devtools] Decode folder name in Debugger Sources Tree. r=devtools-reviewers,bomsy.
We were decoding groups and files source items label,
but not folders.
We fix this and take the occasion to use decodeURI instead
of the non-standard unescape.
A test is added to ensure the source tree items are rendered
as expected.

Differential Revision: https://phabricator.services.mozilla.com/D176145
2023-04-24 13:46:58 +00:00
Olivia Hall
23e5c337c2 Bug 1823082 - GeckoView PDF Stream Adjustment r=geckoview-reviewers,jonalmeida,amejiamarmol
If an issue occurs when generating the PDF stream, we should be able to
send an error. The prior function (SendError()) was for stream readers
to use. The error state here can occur during writing.

Created a WriteError() option to set an error state that will cause
an IOException when reading to indicate the stream is in an inconclusive
state and to stop reading from it.

Differential Revision: https://phabricator.services.mozilla.com/D175918
2023-04-24 13:15:30 +00:00
ffxbld
ae8103a7cf No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D176280
2023-04-24 12:54:54 +00:00
Ryan VanderMeulen
c7ce7b343c Bug 1829425 - Rename the ASAN/TSAN blacklist macros. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D176201
2023-04-24 12:47:00 +00:00
Ryan VanderMeulen
981b7acbdd Bug 1806947 - Skip TestStackWalk on TSAN. r=decoder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D176203
2023-04-24 12:46:39 +00:00
Andreas Pehrson
ea13ac4487 Bug 1826526 - In test_gUM_basicScreenshare.html adjust thresholds and re-enable on Mac. r=webrtc-reviewers,ng
This patch introduces multiple thresholds, depending on platform and color, as
the colors rendered to screen are captured in the display rgb color profile on
Mac and therefore can be significantly off. See bug 1827606 for always capturing
in sRGB.

Differential Revision: https://phabricator.services.mozilla.com/D174754
2023-04-24 12:46:32 +00:00
Andreas Pehrson
16f574bd1f Bug 1826526 - In test_gUM_basicScreenshare.html draw white instead of grey. r=webrtc-reviewers,ng
White is less susceptible to false positives than grey with a high threshold,
given that all its components are at an extreme (255 vs 128).

Differential Revision: https://phabricator.services.mozilla.com/D174753
2023-04-24 12:46:32 +00:00
Emilio Cobos Álvarez
49aea6eb43 Bug 1829493 - [wayland] Misc WaylandVsyncSource clean-ups. r=rmader
Improve naming of some of the variables, remove some redundant type
params, and avoid calling TimeStamp::Now() unnecessarily, which is not
free.

Depends on D176282

Differential Revision: https://phabricator.services.mozilla.com/D176283
2023-04-24 12:31:01 +00:00
Emilio Cobos Álvarez
b2637ab513 Bug 1829493 - [wayland] Don't keep firing vsync at idle rate once idle. r=rmader
Once we detect we're idle, remove the idle timer (until the frame callback
fires again, which would start the timer).

That makes vsync not fire at 1Hz on occluded windows (it makes vsync not fire
at all for those). Matching the windows behavior too.

We had this so that we didn't leak in bug 1786247, but the right fix is
bug 1828587.

Differential Revision: https://phabricator.services.mozilla.com/D176282
2023-04-24 12:31:01 +00:00
Ben Visness
1f4f99a8f3 Bug 1827952: Implement bottom types (rhunt's patch). r=jseward,jpages
Differential Revision: https://phabricator.services.mozilla.com/D175488
2023-04-24 12:28:03 +00:00
Ben Visness
0952da34eb Bug 1827952: Implement the v6 GC instruction encodings. r=rhunt,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175487
2023-04-24 12:28:03 +00:00
Tom Schuster
a7714b3fad Bug 1827576 - Respect resist-fingerprinting for sin/cos/tan in asm.js. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D176143
2023-04-24 12:22:56 +00:00