Граф коммитов

47075 Коммитов

Автор SHA1 Сообщение Дата
Stanca Serban fe1949a695 Backed out changeset 80db8b7ff2af (bug 1891335) for causing mochitests failures in test_bug1639328.html. 2024-09-06 00:22:51 +03:00
Emilio Cobos Álvarez 61a57e6c46 Bug 1891335 - Compute EffectInfo updates at IntersectionObserver time. r=smaug,hiro
What goes on here is that there's a couple of unfortunate style change
sequences which end up making us not do the EffectsInfo dance correctly.

Twitter uses (maybe didn't use to, which would explain the regression) a
visibility: hidden, out-of-flow iframe for a bit (which we correctly
throttle). But then they switch to an in-flow, visible, zero-height
iframe. That we should _not_ throttle. However, we end up not getting to
the display list code at all, because nsBlockFrame decides that we don't
need to descend into an empty line[1].

It seems less error prone to re-use the IntersectionObserver timing and
computation to determine whether the iframe is visible. That completely
matches in-process iframes, too.

Removing the empty frame border and putting them on an empty line in
dom/base/test/test_bug1639328.html is enough to reproduce the issue
without this patch.

[1]: https://searchfox.org/mozilla-central/rev/fe2743c6c5c708061c7f6504b26958fcc815bb4a/layout/generic/nsBlockFrame.cpp#7569-7579

Differential Revision: https://phabricator.services.mozilla.com/D207479
2024-09-05 17:16:12 +00:00
Botond Ballo 2baddaaae1 Bug 1915006 - When squishing a scroll thumb during overscroll, handle the case where the overscroll amount is larger than the scroll port length. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D220818
2024-09-04 23:33:53 +00:00
Emilio Cobos Álvarez 250e3875ed Bug 1915433 - Simplify CMS and gfxPlatform initialization. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D220484
2024-09-04 16:31:05 +00:00
Alex Jakobi 01b3e76804 Bug 1841896 - Port helper_fission_inactivescroller_under_oopif to regular mochitests r=hiro
Besides porting helper_fission_inactivescroller_under_oopif, this adds
helper_fission_utils.js::hitTestOOPIF() which will replace
helper_fission_utils.js::fissionHitTest(). The latter will be removed
with the completion of Bug 1841896.

Differential Revision: https://phabricator.services.mozilla.com/D217165
2024-09-04 14:11:46 +00:00
Alex Jakobi 6dcdb30df6 Bug 1841896 - Port helper_fission_scroll_handoff to regular mochitests r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D217162
2024-09-04 14:11:46 +00:00
Alex Jakobi c370b3e602 Bug 1841896 - Port helper_fission_touch to regular mochitests r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D217155
2024-09-04 14:11:45 +00:00
Alex Jakobi 55ba4fccc3 Bug 1841896 - Port helper_fission_tap_on_zoomed to regular mochitests r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D217082
2024-09-04 14:11:45 +00:00
Alex Jakobi 141b16b62c Bug 1841896 - Port helper_fission_tap to regular mochitests r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D217077
2024-09-04 14:11:44 +00:00
Cristina Horotan 3ca588520a Backed out 2 changesets (bug 1894122) for causing GTest failures
Backed out changeset a1bbca68e1f7 (bug 1894122)
Backed out changeset 1355b1b3841c (bug 1894122)
2024-09-04 02:32:53 +03:00
Dan Robertson 7f9adcc498 Bug 1894122: Improve axis locking for touch scrolls. r=botond
For long touch scrolls that change direction, using the start point of
the touch scroll as the origin to calculate the angle of the scroll is
problematic for determine the axis that should be locked. Maintain a
list of recent touch gesture points and calculate the gesture angle from
the most recent touch gesture points.

Differential Revision: https://phabricator.services.mozilla.com/D219228
2024-09-03 20:51:10 +00:00
Dan Robertson ee6e304101 Bug 1894122: Add a minimum size parameter to the RecentEventsBuffer. r=botond
Add a minimum size parameter to the RecentEventsBuffer, for the scenario
in which we would prefer data from stale events to that of the fallback.

Differential Revision: https://phabricator.services.mozilla.com/D220141
2024-09-03 20:51:10 +00:00
tannal d7683fbab7 Bug 1906157 Use AsyncPanZoomController::ToCSSPixel in more places r=ajakobi
Differential Revision: https://phabricator.services.mozilla.com/D219053
2024-09-03 12:17:07 +00:00
serge-sans-paille ad10848805 Bug 1914333 - Backport -fstrict-flex-arrays=2 support for harfbuzz r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D219850
2024-09-03 09:28:01 +00:00
Makoto Kato 1ae9b0e33a Bug 1902949 - button and buttons property of contextmenu should be touch contact. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D220508
2024-09-02 02:50:04 +00:00
Stanca Serban 18e1bd6a28 Backed out changeset ef158dc7becf (bug 1915433) for causing xpcshell failures. CLOSED TREE 2024-08-31 03:47:50 +03:00
Kagami Sascha Rosylight 645b505ce5 Bug 1913645 - Update glslopt to 0.1.11 to fix aarch64 host build r=jnicol,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D220703
2024-08-30 22:52:13 +00:00
Cristian Tuns 0e64c3c72c Backed out changeset c4e8e7ad10c2 (bug 1913645) for causing wrench bustages. CLOSED TREE 2024-08-30 18:40:36 -04:00
Kagami Sascha Rosylight d266bacc33 Bug 1913645 - Update glslopt to 0.1.11 to fix aarch64 host build r=jnicol,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D220703
2024-08-30 22:13:18 +00:00
Emilio Cobos Álvarez 517850c2bb Bug 1915433 - Simplify CMS and gfxPlatform initialization. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D220484
2024-08-30 16:16:32 +00:00
Erich Gubler a053d7a9a3 Bug 1915609 - build(webgpu): update WGPU to bbdbafdf8a947b563b46f632a778632b906d9eb4 r=webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D220569
2024-08-30 14:56:35 +00:00
Nicolas Silva 588d182642 Bug 1912366 - Don't panic when allocating large blob tiles. r=gfx-reviewers,jnicol
Differential Revision: https://phabricator.services.mozilla.com/D220523
2024-08-30 12:39:24 +00:00
Brad Werth 5967b649e3 Bug 1914284: Make macOS use regular layers for video unless necessary for correctness or power savings. r=mac-reviewers,mstange
Multi-planar video displays fine in a CALayer, so this condition is not
necessary for the specialized video layer.

Differential Revision: https://phabricator.services.mozilla.com/D220151
2024-08-29 05:14:10 +00:00
Tamas Szentpeteri 4ade83b354 Backed out changeset 03a2926ea510 (bug 1915433) for causing mochitest failures on gfxPlatform.cpp. CLOSED TREE 2024-08-29 02:20:20 +03:00
Emilio Cobos Álvarez 9d2c5cea8d Bug 1915433 - Simplify CMS and gfxPlatform initialization. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D220484
2024-08-28 21:34:56 +00:00
Florian Quèze ee65b32f98 Bug 1915228 - Remove expired telemetry scalar browser.usage.graphite, r=TravisLong.
Depends on D220325

Differential Revision: https://phabricator.services.mozilla.com/D220326
2024-08-28 19:44:32 +00:00
Florian Quèze 6803a00619 Bug 1915228 - Remove expired telemetry scalars gfx.canvas.remote.activated and gfx.canvas.remote.deactivated_no_device, r=TravisLong.
Depends on D220324

Differential Revision: https://phabricator.services.mozilla.com/D220325
2024-08-28 19:44:32 +00:00
Botond Ballo 97d6075940 Bug 1915052 - Minor comment cleanup in test_group_touchevents-*.html. r=hiro DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D220202
2024-08-27 23:02:36 +00:00
longsonr 885f41f074 Bug 1914345 Part 3 - Increase fuzziness for Android R-nofis r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D220313
2024-08-27 20:49:49 +00:00
longsonr d0a85b9aaa Bug 1914345 Part 1 - create a pref to allow using moz2d to determine stroke bounds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D220060
2024-08-27 16:20:35 +00:00
Teodor Tanasoaia 34fb7173c1 Bug 1914434 - Update `wgpu` to revision cc11260547ae7cc2814888208f244227ed32a1d0. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D220026
2024-08-27 09:57:08 +00:00
Norisz Fay e4a6f2c462 Backed out changeset 03bd6b90ec89 (bug 1914345) for causing reftest failure on 1662062-1-no-blurry.html CLOSED TREE 2024-08-27 13:12:52 +03:00
longsonr c7184830cf Bug 1914345 Part 1 - create a pref to allow using moz2d to determine stroke bounds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D220060
2024-08-27 08:40:40 +00:00
Mike Hommey 7636ad3aa9 Bug 1915067 - Adjust qcms for the stabilization of the raw_ref_op features. r=gfx-reviewers,jnicol
Differential Revision: https://phabricator.services.mozilla.com/D220209
2024-08-27 06:03:19 +00:00
Botond Ballo 2b2d71da3f Bug 1889017 - Add a mochitest. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D220195
2024-08-27 00:28:19 +00:00
Stanca Serban 22148cc042 Backed out 2 changesets (bug 1914345) for causing reftests failures.
Backed out changeset 92acbb3b404d (bug 1914345)
Backed out changeset 3d7bad39c3f0 (bug 1914345)
2024-08-27 01:55:16 +03:00
Brad Werth effe3c1f36 Bug 1914673: Ensure WebRender provides update rects within the bounds of valid rects. r=gw
This is an extra-double-sure clipping of the scissor rect to the valid
rect. This shouldn't matter since the dirty rect is clipped before the
creation of either of the other two rects, but will ensure that rounding
issues from the application of the transform in `get_surface_rect` won't
leave us with  an out-of-bounds scissor rect.

Differential Revision: https://phabricator.services.mozilla.com/D219916
2024-08-26 21:21:21 +00:00
longsonr d8b6c112d6 Bug 1914345 Part 1 - create a pref to allow using moz2d to determine stroke bounds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D220060
2024-08-26 19:09:34 +00:00
Stanca Serban 3c6ee21d7c Backed out 2 changesets (bug 1914345) for causing Android reftests failures. CLOSED TREE
Backed out changeset c0f325a58cd9 (bug 1914345)
Backed out changeset 6ffabd992e4e (bug 1914345)
2024-08-26 21:39:52 +03:00
longsonr 873d1857eb Bug 1914345 Part 1 - create a pref to allow using moz2d to determine stroke bounds r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D220060
2024-08-26 16:29:43 +00:00
Emilio Cobos Álvarez 342c39c78d Bug 1914831 - Misc clean-ups to our DOMRect and rounding code. r=longsonr
No behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D220125
2024-08-26 14:20:26 +00:00
Hiroyuki Ikezoe d0e79f1b8c Bug 1912358 - Set a proper APZHandledResult in the case of fast-fling. r=botond,geckoview-reviewers,m_kato
During fast-fling, any event isn't delivered to contents, but fast-fling
causes scrolling, thus we need to tell the state to GeckoView via
the APZHandledResult.

The JUnit test case causes an assertion (bug 1852854) without this change.

Differential Revision: https://phabricator.services.mozilla.com/D218898
2024-08-26 01:10:18 +00:00
Hiroyuki Ikezoe c08b67a77c Bug 1912358 - Add a mochitest that any touch event is delivered to content. r=botond
This is for bug 1085404.

Differential Revision: https://phabricator.services.mozilla.com/D218897
2024-08-26 01:10:18 +00:00
Zach Hoffman 11860bb190 Bug 1914777 - Use cbindgen for StyleBorderImageRepeatKeyword. r=firefox-style-system-reviewers,layout-reviewers,emilio
Generated enum StyleBorderImageRepeatKeyword replaces enum StyleBorderImageRepeat.

Differential Revision: https://phabricator.services.mozilla.com/D220073
2024-08-25 15:57:04 +00:00
longsonr ad1c35d097 Bug 1914720 - Fix spelling of animation r=emilio DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D220059
2024-08-24 13:57:27 +00:00
Matthijs Velsink c4ff19bf2f Bug 1211547 - Don't round font scaling for GTK. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D219821
2024-08-23 22:22:08 +00:00
sotaro 7bd93b341e Bug 1914306 - Disable Super Resolution explicitly when it is enabled but not used r=gfx-reviewers,lsalzman
With current gecko, Super Resolution became inactive automatically when video overlay is removed. However, when the video overlay used Super Resolution and power change becomes false, it needs to call SetVpSuperResolution with aEnable=false for disabling Super Resolution.

Differential Revision: https://phabricator.services.mozilla.com/D219831
2024-08-22 06:41:34 +00:00
Lee Salzman f6fa2fdaed Bug 1913773 - Ensure mCurrentShmem is valid. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D219832
2024-08-22 03:35:52 +00:00
Emily McDonough b03443754d Bug 1913814 - Avoid using vecs for building gamma tables in qcms, we can just build a boxed array directly. r=jrmuizel
This wasn't causing more allocations, but it was incurring range checks and
tests for (never hit) reallocations in the generated code. We can just create
the array directly, already boxed.

Differential Revision: https://phabricator.services.mozilla.com/D219546
2024-08-20 21:12:01 +00:00
Florian Quèze cce2abc8ae Bug 1913624 - Remove expired telemetry histogram GPU_WAIT_TIME_MS, r=TravisLong.
Depends on D219471

Differential Revision: https://phabricator.services.mozilla.com/D219472
2024-08-20 20:56:50 +00:00