00569d0fc9b92fc99ab56ef014425b3c4f9c3ab3: Bug 1737068 [Linux] Enable/Disable rendering to GdkWindow when we're mapped/unmapped r=rmader
stransky <stransky@redhat.com> - Mon, 25 Oct 2021 09:30:06 +0000 - rev 596813
Push
38912 by ncsoregi@mozilla.com at Mon, 25 Oct 2021 21:41:06 +0000
Bug 1737068 [Linux] Enable/Disable rendering to GdkWindow when we're mapped/unmapped r=rmader
This patch does:
- Track nsWindow real visibility by widget_map_cb / widget_unrealize_cb callbacks and set mIsMapped attribute properly.
- Clear mGdkWindow attribute when mGdkWindow is not visible and we can't paint into it.
- Implement and use ConfigureGdkWindow() to set up mGdkWindow when it's visible, start compositor, VSync.
- Implement and use ReleaseGdkWindow() to clear up mGdkWindow when it's not visible, stop compositor, Vsync.
- Make sure nsWindow works when mGdkWindow is null.
- Configure Drag popup accordingly.
Differential Revision:
https://phabricator.services.mozilla.com/D126895
334e3d59d932dd2850dec7c582f32f49b504e450: Bug 1737233 - Enable all other Glean metric types on Android. r=chutten
Jan-Erik Rediger <jrediger@mozilla.com> - Mon, 25 Oct 2021 09:28:54 +0000 - rev 596812
Push
38912 by ncsoregi@mozilla.com at Mon, 25 Oct 2021 21:41:06 +0000
Bug 1737233 - Enable all other Glean metric types on Android. r=chutten
This removes the previously Android-only xpcshell tests
and turns the other xpcshell tests on to run on Android.
We can now test FOG across all platforms*!
* using xpcshell. No gtest or others.
Differential Revision:
https://phabricator.services.mozilla.com/D129252
e204587ab6bcc16dbc1655533763816062c441b4: Bug 1734819 [Linux] Make move-to-rect configurable, r=emilio
stransky <stransky@redhat.com> - Mon, 25 Oct 2021 09:28:43 +0000 - rev 596811
Push
38912 by ncsoregi@mozilla.com at Mon, 25 Oct 2021 21:41:06 +0000
Bug 1734819 [Linux] Make move-to-rect configurable, r=emilio
Differential Revision:
https://phabricator.services.mozilla.com/D129250
27ba91f03d6b814d33b3254b8231bea3d0668071: Bug 1708697 - Make sure all pending paints have been done in flushApzRepaintsInPopup. r=tnikkel
Hiroyuki Ikezoe <hikezoe.birchill@mozilla.com> - Mon, 25 Oct 2021 09:08:09 +0000 - rev 596810
Push
38912 by ncsoregi@mozilla.com at Mon, 25 Oct 2021 21:41:06 +0000
Bug 1708697 - Make sure all pending paints have been done in flushApzRepaintsInPopup. r=tnikkel
And rename the function to promiseApzFlushedRepaintsInPopup since now the
funciton does the same thing what promiseApzFlushedRepaints does.
Depends on D129365
Differential Revision:
https://phabricator.services.mozilla.com/D129366
02140dff12b167d196efc2fb35ba161a71f826dc: Bug 1708697 - Make sure a scroll event was fired in the same manner as we did for a mousemove event in the previous commit. r=tnikkel
Hiroyuki Ikezoe <hikezoe.birchill@mozilla.com> - Mon, 25 Oct 2021 09:08:09 +0000 - rev 596809
Push
38912 by ncsoregi@mozilla.com at Mon, 25 Oct 2021 21:41:06 +0000
Bug 1708697 - Make sure a scroll event was fired in the same manner as we did for a mousemove event in the previous commit. r=tnikkel
Depends on D129364
Differential Revision:
https://phabricator.services.mozilla.com/D129365
d62fa53c8c6673d7e3b9103ffffd448829f40efa: Bug 1708697 - Make sure a mousemove event has been received in the popup content before starting autoscrolling. r=tnikkel
Hiroyuki Ikezoe <hikezoe.birchill@mozilla.com> - Mon, 25 Oct 2021 09:08:09 +0000 - rev 596808
Push
38912 by ncsoregi@mozilla.com at Mon, 25 Oct 2021 21:41:06 +0000
Bug 1708697 - Make sure a mousemove event has been received in the popup content before starting autoscrolling. r=tnikkel
If we start autoscrolling without moving the mouse position into the content
area, we do sample with undesirable scroll deltas in
AutoscrollAnimation::DoSample since the initial mouse position is outside of the
popup window.
Note that to make sure an event listener mousemove events is set in the popup
content before causing a mousemove event from the browser parent process we need
to add the event listener in the extension's popup context in the first place.
That's because __not awaiting__ a SpecialPowers.spawn() with an addEventListener
call in the spawned context doesn't ensure the script in the spawned context
runs. We will do the same manner for a scroll event in the next change.
Differential Revision:
https://phabricator.services.mozilla.com/D129364
d911e3a56dce8e54caf6c99ae20a4bfeef998712: Bug 1733535 - Replace OS.File with IOUtils in the attribution code. r=Standard8
Evgenia Kotovich <jenyakotovich@gmail.com> - Mon, 25 Oct 2021 08:38:52 +0000 - rev 596807
Push
38912 by ncsoregi@mozilla.com at Mon, 25 Oct 2021 21:41:06 +0000
Bug 1733535 - Replace OS.File with IOUtils in the attribution code. r=Standard8
Differential Revision:
https://phabricator.services.mozilla.com/D128715
9ba9f1947404c1353afffe62f9875da00ac503c8: Bug 1733422 - SessionStore.getClosedWindowData always returns an object r=Standard8
OnuohaOluebube <onuohaoluebube05@gmail.com> - Mon, 25 Oct 2021 08:18:27 +0000 - rev 596806
Push
38912 by ncsoregi@mozilla.com at Mon, 25 Oct 2021 21:41:06 +0000
Bug 1733422 - SessionStore.getClosedWindowData always returns an object r=Standard8
Differential Revision:
https://phabricator.services.mozilla.com/D129147
8f78ed673519de2dd9d88ef0e6ee7466eeeee667: Bug 1737285 - Use pathlib to retrieve the relative path to the Visual Studio SDK. r=calixte,firefox-build-system-reviewers,mhentges DONTBUILD
Marco Castelluccio <mcastelluccio@mozilla.com> - Mon, 25 Oct 2021 08:17:34 +0000 - rev 596805
Push
38911 by nfay@mozilla.com at Mon, 25 Oct 2021 09:37:29 +0000
Bug 1737285 - Use pathlib to retrieve the relative path to the Visual Studio SDK. r=calixte,firefox-build-system-reviewers,mhentges DONTBUILD
To avoid checking for a relative path using string operations, that can fail on Windows
when the paths have different casing.
Differential Revision:
https://phabricator.services.mozilla.com/D129303
32ab6b8790bb1b329a0995685c09631114a6361f: Bug 1737482 - [devtools] Include properties and prototype when inspecting promise. r=nchevobbe
Oriol Brufau <oriol-bugzilla@hotmail.com> - Mon, 25 Oct 2021 06:54:34 +0000 - rev 596804
Push
38911 by nfay@mozilla.com at Mon, 25 Oct 2021 09:37:29 +0000
Bug 1737482 - [devtools] Include properties and prototype when inspecting promise. r=nchevobbe
Differential Revision:
https://phabricator.services.mozilla.com/D129359
d2cdb8b58a0ccdd82309e853e1fb4773086a1d07: Bug 1734940 - Add checks for switching JSON Viewer tab in tests. r=nchevobbe
Oriol Brufau <oriol-bugzilla@hotmail.com> - Mon, 25 Oct 2021 06:17:32 +0000 - rev 596803
Push
38911 by nfay@mozilla.com at Mon, 25 Oct 2021 09:37:29 +0000
Bug 1734940 - Add checks for switching JSON Viewer tab in tests. r=nchevobbe
Differential Revision:
https://phabricator.services.mozilla.com/D128029
71460231c56e49ffa8b00e47cb941829601c3715: Bug 1737195 - Allow GV artifact build on Windows workstation again. r=nalexander
Makoto Kato <m_kato@ga2.so-net.ne.jp> - Mon, 25 Oct 2021 03:16:58 +0000 - rev 596802
Push
38911 by nfay@mozilla.com at Mon, 25 Oct 2021 09:37:29 +0000
Bug 1737195 - Allow GV artifact build on Windows workstation again. r=nalexander
Differential Revision:
https://phabricator.services.mozilla.com/D129233
0faa2978fe861864bd2fa26936a63b8d04247c5a: no bug - Update dependency autopep8 to v1.6.0 r=linter-reviewers,marco DONTBUILD
Renovate Bot <bot@renovateapp.com> - Sun, 24 Oct 2021 21:33:48 +0000 - rev 596801
Push
38911 by nfay@mozilla.com at Mon, 25 Oct 2021 09:37:29 +0000
no bug - Update dependency autopep8 to v1.6.0 r=linter-reviewers,marco DONTBUILD
Differential Revision:
https://phabricator.services.mozilla.com/D129355
33d6ea7b0aadaa1fcdb03690d82cf9459764a9d7: Bug 1737424 - Markup inline code properly in newtab doc. r=Mardak
Tooru Fujisawa <arai_a@mac.com> - Sun, 24 Oct 2021 16:15:02 +0000 - rev 596800
Push
38910 by abutkovits@mozilla.com at Sun, 24 Oct 2021 21:26:41 +0000
Bug 1737424 - Markup inline code properly in newtab doc. r=Mardak
Differential Revision:
https://phabricator.services.mozilla.com/D129347
91af1d08923435520f34ccf1ecd92c122a548b72: Bug 1737419 - Add note about mach npm test for newtab on Windows. r=Mardak
Tooru Fujisawa <arai_a@mac.com> - Sun, 24 Oct 2021 16:15:01 +0000 - rev 596799
Push
38910 by abutkovits@mozilla.com at Sun, 24 Oct 2021 21:26:41 +0000
Bug 1737419 - Add note about mach npm test for newtab on Windows. r=Mardak
Differential Revision:
https://phabricator.services.mozilla.com/D129343
14e8b7646d9818e2fef0ec2ea9db44959af8ce96: Bug 1736431 - Allowlist URLs containing the string "backgroundtasks". r=Gijs
Bobby Holley <bobbyholley@gmail.com> - Sat, 23 Oct 2021 16:32:00 +0000 - rev 596798
Push
38910 by abutkovits@mozilla.com at Sun, 24 Oct 2021 21:26:41 +0000
Bug 1736431 - Allowlist URLs containing the string "backgroundtasks". r=Gijs
Differential Revision:
https://phabricator.services.mozilla.com/D129327
226ea4af4493332137b513239b5c4506ee14dffe: Bug 1736684 - Part 1: Add test coverage for the search-detection built-in add-on (client side). r=rpl
William Durand <wdurand@mozilla.com> - Sat, 23 Oct 2021 15:10:40 +0000 - rev 596797
Push
38909 by smolnar@mozilla.com at Sat, 23 Oct 2021 21:14:45 +0000
Bug 1736684 - Part 1: Add test coverage for the search-detection built-in add-on (client side). r=rpl
This patch adds a new test file containing a test case to cover the two main client side scenarios.
Differential Revision:
https://phabricator.services.mozilla.com/D129050
0b588effab6c31afe2fa3103661615de6c94d873: Bug 1640779 - [X11][EGL] Implement xrandr-based software vsync, r=stransky,gfx-reviewers,jrmuizel
Robert Mader <robert.mader@posteo.de> - Sat, 23 Oct 2021 11:19:10 +0000 - rev 596796
Push
38909 by smolnar@mozilla.com at Sat, 23 Oct 2021 21:14:45 +0000
Bug 1640779 - [X11][EGL] Implement xrandr-based software vsync, r=stransky,gfx-reviewers,jrmuizel
Current drivers, both Mesa and prop. Nvidia, miss features on X11/EGL
to implement a proper hardware feedback based vsync. Given the focus
on Wayland by everyone involved, it's unlikely that we'll ever get
everything into a decent shape.
As a best effort alternative, subclass the `SoftwareVsyncSource`
to run at the highest refresh rate reported by xrandr. This should
allow us to render at the right refresh rate in most cases.
We recalculate the refresh rate whenever GDK emits the
`monitors-changed` signal - unfortunately there's no exact signal for
refresh rate changes.
Always use this new vsync source on Xwayland or non-Mesa EGL - i.e. only
use the GLX vsync source on Xorg+GLX or Xorg+EGL+Mesa.
Note: tearing prevention on Linux is always left to the system
compositor, also when using the GLX-based `GtkVsyncSource`.
Differential Revision:
https://phabricator.services.mozilla.com/D128607
8e32db0ee9e2b64b0e8586430b6cec29fcfe115a: Backed out 3 changesets (bug 1737068) for causing multiple test failures with thread sanitizer on GtkCompositorWidget.cpp. CLOSED TREE
Iulian Moraru <imoraru@mozilla.com> - Sat, 23 Oct 2021 14:02:13 +0300 - rev 596795
Push
38909 by smolnar@mozilla.com at Sat, 23 Oct 2021 21:14:45 +0000
Backed out 3 changesets (
bug 1737068) for causing multiple test failures with thread sanitizer on GtkCompositorWidget.cpp. CLOSED TREE
Backed out changeset 3de8f260e8b1 (
bug 1737068)
Backed out changeset ac34c4dc4723 (
bug 1737068)
Backed out changeset 26c607095b9b (
bug 1737068)
3de8f260e8b126f66491c73dc8e5ed5cb2075460: Bug 1737068 [Linux] Grab pointer when window is mapped and there's an active request for it, r=rmader
stransky <stransky@redhat.com> - Sat, 23 Oct 2021 09:50:56 +0000 - rev 596794
Push
38909 by smolnar@mozilla.com at Sat, 23 Oct 2021 21:14:45 +0000
Bug 1737068 [Linux] Grab pointer when window is mapped and there's an active request for it, r=rmader
Depends on D127542
Differential Revision:
https://phabricator.services.mozilla.com/D129316