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

25449 Коммитов

Автор SHA1 Сообщение Дата
Dzmitry Malyshau 2db3c22a35 Bug 1570736 - Blocklist WR swizzling on HD3000 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50813

--HG--
extra : moz-landing-system : lando
2019-10-28 21:38:11 +00:00
Ting-Yu Lin cfa677a4cc Bug 1591546 Part 2 - Add WritingMode::IsPhysicalRTL(). r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D50772

--HG--
extra : moz-landing-system : lando
2019-10-28 18:22:05 +00:00
Toshihito Kikuchi 99c8b1c9ac Bug 1572788 - Make nsXULAppInfo::GetUserCanElevate reuse GetElevationType. r=aklotz
`nsXULAppInfo::GetUserCanElevate` can reuse `GetElevationType` and we can remove
`VistaTokenElevationType` definition.

Differential Revision: https://phabricator.services.mozilla.com/D49691

--HG--
extra : moz-landing-system : lando
2019-10-28 14:53:42 +00:00
Alex Henrie 74cc0f4dce Bug 1591490 - Use the NS_IS_SURROGATE_PAIR macro everywhere. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D50697

--HG--
extra : moz-landing-system : lando
2019-10-27 05:05:51 +00:00
Andreea Pavel dd6c574455 Backed out changeset 10e1c85b13b0 (bug 1583575) for android geckoview failures on a CLOSED TREE 2019-10-26 01:11:23 +03:00
Ting-Yu Lin 03c5d676c0 Bug 1587645 Part 2 - Add WritingMode::IsPhysicalLTR(). r=jfkthame
I discovered this while improving `ScrollFrameHelper::IsPhysicalLTR()`
in Part 1. Our code base needs a notion of physical direction. Let's add
it to WritingMode.

Differential Revision: https://phabricator.services.mozilla.com/D49818

--HG--
extra : moz-landing-system : lando
2019-10-25 20:01:46 +00:00
Aaron Klotz 4d0bd40e2e Bug 1583575: Retain window size between instances and use it to set the size when opening a new window; r=snorp
This obviously only improves the situation when a subsequent window is the
same size as the last window that was opened.

Differential Revision: https://phabricator.services.mozilla.com/D50527

--HG--
extra : moz-landing-system : lando
2019-10-25 20:27:46 +00:00
Daosheng Mu 3512e86bbb Bug 1590911 - Forwarding fullscreen events to VR host API. r=thomasmo,kip,smaug,PhilipLamb
We wanna forward fullscreen enter/exit events to VR host.

Differential Revision: https://phabricator.services.mozilla.com/D50371

--HG--
extra : moz-landing-system : lando
2019-10-25 07:43:27 +00:00
Mike Conley 1d8a58f2fb Bug 1590822 - Add lockAspectRatio support to windows for macOS. r=mstange
Depends on D50275

Differential Revision: https://phabricator.services.mozilla.com/D50277

--HG--
extra : moz-landing-system : lando
2019-10-24 17:41:18 +00:00
Xidorn Quan 82cc547ab8 Bug 1578377 - Render dark scrollbars for element with dark background on Windows. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D48289

--HG--
extra : moz-landing-system : lando
2019-10-23 21:00:28 +00:00
Mike Conley 6d2e7437f0 Bug 1531226 - Add support for alwaysontop windows for macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D50275

--HG--
extra : moz-landing-system : lando
2019-10-23 18:25:10 +00:00
Thomas Nguyen cf2f2ec008 Bug 1580462 - Store iframe's FeaturePolicy in browsingContext to inherit cross origin document. r=baku,farre
Differential Revision: https://phabricator.services.mozilla.com/D48825

--HG--
extra : moz-landing-system : lando
2019-10-23 19:39:00 +00:00
Razvan Maries 7fb625f8cf Backed out changeset ae33b9c001e5 (bug 1580462) for build bustages on nsWindow.cpp. CLOSED TREE 2019-10-23 11:07:00 +03:00
Thomas Nguyen a220530f6b Bug 1580462 - Store iframe's FeaturePolicy in browsingContext to inherit cross origin document. r=baku,farre
Differential Revision: https://phabricator.services.mozilla.com/D48825

--HG--
extra : moz-landing-system : lando
2019-10-22 14:36:00 +00:00
sotaro e2fc848fee Bug 1584511 - Backout r=stransky
Backout because of regression  Bug 1590498 .

Differential Revision: https://phabricator.services.mozilla.com/D49380

--HG--
extra : moz-landing-system : lando
2019-10-23 01:41:27 +00:00
sotaro 26e474c3f9 Bug 1584511 - Handle Compositor session recreation when egl_window is re-created r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D49380

--HG--
extra : moz-landing-system : lando
2019-10-18 08:20:30 +00:00
Narcis Beleuzu 9e344448d6 Merge mozilla-central to autoland. CLOSED TREE 2019-10-22 01:36:17 +03:00
Narcis Beleuzu 2b0d2dd8e7 Merge autoland to mozilla-central. a=merge 2019-10-22 00:50:23 +03:00
Sylvestre Ledru 7c309095ea Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Please note that it is the first reformat with clang-format 9
I only saw a fix in the .mm file

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D49056

--HG--
extra : moz-landing-system : lando
2019-10-21 14:13:44 +00:00
Andrea Marchesini 410cb724a7 Bug 1585284 - Force global in Blob CTOR, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49629

--HG--
extra : moz-landing-system : lando
2019-10-21 05:33:19 +00:00
Andrea Marchesini 6797e45278 Bug 1585284 - Use nsIGlobalObject in any Blob/File CTOR, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49392

--HG--
extra : moz-landing-system : lando
2019-10-21 05:33:33 +00:00
harry c0eeb589dd Bug 1588921 - Fix nsTouchBar build errors. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D49434

--HG--
extra : moz-landing-system : lando
2019-10-21 02:10:36 +00:00
Emilio Cobos Álvarez 2614699797 Bug 1589327 - Remove more dead code conditional on jni::IsFennec() or similar. r=snorp
Didn't want to remove all the WebAuthn and dynamic toolbar code so I left it
there in case it's useful in the future.

Differential Revision: https://phabricator.services.mozilla.com/D49588

--HG--
extra : moz-landing-system : lando
2019-10-18 18:49:51 +00:00
Jan Horak 5c3ec14301 Bug 1589541 Don't consider headless display as wayland; r=stransky
This fixes the related test failures.

Differential Revision: https://phabricator.services.mozilla.com/D49744

--HG--
extra : moz-landing-system : lando
2019-10-18 13:56:44 +00:00
Alexis Beingessner d244997cc9 Bug 1573710 - make window resizing more robust to races. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D49634

--HG--
extra : moz-landing-system : lando
2019-10-18 02:10:20 +00:00
Kris Taeleman f3a08029ed Bug 1589218 - Add Pixel 2 XL to webrender allowed devices. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D49495

--HG--
extra : moz-landing-system : lando
2019-10-17 12:59:37 +00:00
Daosheng Mu 183d99c002 Bug 1587942 - Forwarding keyboard show/hide events to VR host API. r=thomasmo,PhilipLamb,masayuki,imanol
Forwarding keyboard focus/blur events to VR browser that runs at another process. We will need to set these events in VR shmem, then VR host can receive these states from other process.

Differential Revision: https://phabricator.services.mozilla.com/D48903

--HG--
extra : moz-landing-system : lando
2019-10-18 01:24:56 +00:00
Martin Stransky 5f9cda5fb5 Bug 1583731 - [Wayland] Assert when EGLImage is already created at WaylandDMABufSurface::CreateEGLImage, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49263

--HG--
extra : moz-landing-system : lando
2019-10-15 10:46:08 +00:00
Jan Horak 4d0cec02a5 Bug 1565401 - return valid screen size on multimonitor setup under Wayland; r=stransky,NeilDeakin
By getting the right screen size we can shrink the popup menus which overflows
the screen size under Wayland. The ScreenManager does not help us, because we
can't get absolute window position, but we can use gdk_display_get_monitor_at_window
and gdk_monitor_get_workarea to get the correct screen rectangle.

Differential Revision: https://phabricator.services.mozilla.com/D49289

--HG--
extra : moz-landing-system : lando
2019-10-17 11:27:08 +00:00
Martin Stransky 6cbbed9b4e Bug 1588907 [Wayland] Remove misleading comment about DMA_BUF_IOCTL_SYNC, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49390

--HG--
extra : moz-landing-system : lando
2019-10-17 10:38:12 +00:00
David Parks b044993630 Bug 1384260: Part 4 - Remove SystemParametersInfo from Windows content proc plugin code r=jmathies
We use SystemParametersInfo to get the current system scroll wheel settings when we process scrollwheel movement in the content process.  We need to remove SystemParametersInfo for sandboxing the content process so this code changes the plugin behavior to cache the system wheel settings.  We do this by 1) sending wheel settings to the plugin whenever a plugin takes focus and 2) forwarding wheel settings update messages from Windows to the currently focused plugin.

Differential Revision: https://phabricator.services.mozilla.com/D47938

--HG--
extra : moz-landing-system : lando
2019-10-16 21:24:48 +00:00
Brendan Dahl 64335a9857 Bug 1583314 - Fix macOS builds with XBL disabled. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D49340

--HG--
extra : moz-landing-system : lando
2019-10-21 20:21:13 +00:00
arthur.iakab 55aa171100 Merge autoland to mozilla-central. a=merge 2019-10-21 12:55:26 +03:00
Gurzau Raul 5fb4897bbc Backed out changeset f6ca531ca5b2 (bug 1573710) requested by alice0775. a=backout 2019-10-20 12:02:39 +03:00
Cosmin Sabou e1278bb139 Backed out changeset 23e9fe8a919b (bug 1565401) for causing build bustages on nsWindow.h. CLOSED TREE 2019-10-16 18:45:09 +03:00
Jan Horak e2b9bdb35e Bug 1565401 - return valid screen size on multimonitor setup under Wayland; r=stransky,NeilDeakin
By getting the right screen size we can shrink the popup menus which overflows
the screen size under Wayland. The ScreenManager does not help us, because we
can't get absolute window position, but we can use gdk_display_get_monitor_at_window
and gdk_monitor_get_workarea to get the correct screen rectangle.

Differential Revision: https://phabricator.services.mozilla.com/D49289

--HG--
extra : moz-landing-system : lando
2019-10-16 13:03:43 +00:00
Marcos Cáceres caed406d12 Bug 1588420 - Add init() to SharePicker.idl, which provides a means to get to browser parent r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D49215

--HG--
extra : moz-landing-system : lando
2019-10-15 00:52:09 +00:00
Geoff Brown c906073cd5 Bug 1585119 - Re-enable many mochitests on android; r=geckoview-reviewers,snorp
Most of these tests have been disabled for a long time; they run well
in the current test environment.
With the additional tests running, task times increase; I have added one
more test chunk for android mochitest-plain.
These tests were identified from a random sampling of mochitest manifests;
I intend to enable more mochitests in future patches.

Differential Revision: https://phabricator.services.mozilla.com/D48912

--HG--
extra : moz-landing-system : lando
2019-10-15 15:07:09 +00:00
Markus Stange ac77a58192 Bug 1588747 - Always insert the TitlebarGradientView underneath its siblings. r=spohl
Usually it covers a different area than the window's ChildView. But in some cases
it can overlap with the ChildView, and in those cases, it's better if the
ChildView is on top.

Differential Revision: https://phabricator.services.mozilla.com/D49332

--HG--
extra : moz-landing-system : lando
2019-10-15 20:45:01 +00:00
Martin Stransky 0595546bfc Bug 1587008 - [Wayland] Get wl_egl_window size from compositor by nsWindow::SetEGLNativeWindowSize, r=jhorak
We can't set wl_egl_window from widget code as it must match GL rendering pipeline,
so let compositor to set the egl window size.

Depends on D49136

Differential Revision: https://phabricator.services.mozilla.com/D49137

--HG--
extra : moz-landing-system : lando
2019-10-15 19:25:47 +00:00
Martin Stransky 5a403b0cdd Bug 1587008 - [Wayland] Set EGL window size at CompositorOGL::BeginFrame, r=sotaro
wl_egl_window size must exactly march GL rendering pipeline setting.

Compositor and widget can have different window sizes during window resize when widget
is resized faster than layout can render. Firefox window is rendered misplaced then
and it's "jumping" as layout size is behind toolkit size.

Differential Revision: https://phabricator.services.mozilla.com/D49136

--HG--
extra : moz-landing-system : lando
2019-10-15 19:25:28 +00:00
Dorel Luca 518c1a81eb Backed out 2 changesets (bug 1587008) for build bustage on src/widget/gtk/GtkCompositorWidget.cpp. CLOSED TREE
Backed out changeset 9e610c4628e1 (bug 1587008)
Backed out changeset afc6499c8f1f (bug 1587008)

--HG--
extra : rebase_source : 3c3cc17ada4079f279809cae1ece2e226fde5acf
extra : histedit_source : c7f61dbede0eda8ea3b0a1dfa5c67f8650f4ca81
2019-10-15 19:10:32 +03:00
Martin Stransky 11e2fafd1f Bug 1587008 - [Wayland] Get wl_egl_window size from compositor by nsWindow::SetEGLNativeWindowSize, r=jhorak
We can't set wl_egl_window from widget code as it must match GL rendering pipeline,
so let compositor to set the egl window size.

Depends on D49136

Differential Revision: https://phabricator.services.mozilla.com/D49137

--HG--
extra : moz-landing-system : lando
2019-10-15 13:12:25 +00:00
Martin Stransky bfddf50156 Bug 1587008 - [Wayland] Set EGL window size at CompositorOGL::BeginFrame, r=sotaro
wl_egl_window size must exactly march GL rendering pipeline setting.

Compositor and widget can have different window sizes during window resize when widget
is resized faster than layout can render. Firefox window is rendered misplaced then
and it's "jumping" as layout size is behind toolkit size.

Differential Revision: https://phabricator.services.mozilla.com/D49136

--HG--
extra : moz-landing-system : lando
2019-10-15 13:12:13 +00:00
Martin Stransky d45caa1d42 Bug 1588579 [Wayland] Use explicit names for surface release methods, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49192

--HG--
extra : moz-landing-system : lando
2019-10-15 08:24:17 +00:00
Martin Stransky 6cbfee645f Bug 1588448 - [Wayland] Check mozcontainer wl_surface before we use it, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49189

--HG--
extra : moz-landing-system : lando
2019-10-15 08:28:56 +00:00
Martin Stransky 6bafd20d69 Bug 1587731 - [Wayland] Don't throw missing GdkDisplay warning in headless mode r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49155

--HG--
extra : moz-landing-system : lando
2019-10-14 13:37:44 +00:00
Oana Pop Rus 8a7bc2ad4e Backed out changeset 77357e0aa88e (bug 1584859) for wpt and mochitest failures. on a CLOSED TREE 2019-10-13 14:06:44 +03:00
Emilio Cobos Álvarez 8657ceea27 Bug 1584859 - Make smooth scrolling conditional on reduced motion settings. r=dbaron
We could put this change itself behind a pref too, if we considered that worth
it. But probably not so.

Differential Revision: https://phabricator.services.mozilla.com/D48010

--HG--
extra : moz-landing-system : lando
2019-10-13 09:16:26 +00:00
harry 9b2a6d81ce Bug 1588084 - Add null-checking to isUrlbarFocused to avoid crashes on window shutdown. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D48966

--HG--
extra : moz-landing-system : lando
2019-10-11 13:35:04 +00:00