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

25803 Коммитов

Автор SHA1 Сообщение Дата
Adam Gashlin 40987c7634 Bug 1554490: Don't count popups as visible windows for CanTakeFocus. r=jmathies
I did some cleanup while here: This now uses the callback's lParam
instead of a global, and does the enumeration of all windows only if
the foreground window doesn't already belong to this process (which
was proposed in bug 259816 comment 68 but didn't make it into the patch).

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

--HG--
extra : moz-landing-system : lando
2020-01-06 13:09:15 +00:00
Martin Stransky 2f5ac3876d Bug 1606751 [Wayland] Manage opaque region of mozcontainer internally, r=heftig
nsWindow::UpdateOpaqueRegion() is used from Main thread and it collides with
moz_container_get_wl_surface() where opaque region is used and which is called from Compositor thread.

As a fix don't set opaque region directly for mozcontainer but rather just use a flag to signalize
there's an update needed and calculare/set the opaque region at moz_container_get_wl_surface() or
moz_container_egl_window_set_size().

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

--HG--
extra : moz-landing-system : lando
2020-01-06 20:18:19 +00:00
Arthur Iakab 987a0f5d27 Backed out changeset 5bef477e99ca (bug 1604412) for causing MinGw all bustages on include/ddraw.h CLOSED TREE 2020-01-06 20:12:38 +02:00
Ryan VanderMeulen e01b63ab9f Backed out changeset 83762a3e8989 (bug 1581555) for suspicion of causing bug 1607140.
--HG--
extra : rebase_source : dfbf0316e1b1f65038240264eb14915b2e7557bf
2020-01-06 12:59:04 -05:00
Chris Martin d3e470db13 Bug 1604412 - Duplicate WinCompositorWidget logic into subclasses r=sotaro
This looks like a large change, but it's really just moving stuff
around.

It takes the logic in WinCompositorWidget and duplicates it into
its only 2 subclasses: InProcessWinCompositorWidget and
CompositorWidgetParent.

This is because CompositorWidgetParent is about to change *a lot*, but
InProcessWinCompositorWidget will basically stay the same. This is an
easy way to verify that I don't accidently break
InProcessWinCompositorWidget.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 07:39:42 +00:00
Greg V 97c5686fd7 Bug 1587360 - Add support for idle-inhibit Wayland protocol r=stransky
The idle-inhibit protocol allows idle wake locks on Wayland
without any of the supported D-Bus interfaces running.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 16:11:19 +00:00
Dave Townsend 3f0c6ba8fc Bug 1605997: Unregister notifications that are replaced by a new notification with the same name. r=jmathies
Showing a new notification with the same name of an existing notification
replaces the old notification so we must unregister it from Windows at that
point.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 13:08:14 +00:00
Dave Townsend 2ca21259af Bug 1605997: Send the finished notification when the notification is hidden. r=jmathies
Other platforms send out the finished notification when the notification is
programmatically cancelled. This patch ensures that finished is always sent.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 13:08:16 +00:00
Masatoshi Kimura 08c5488cba Bug 1602615 - Add a support for free-threaded IStream to handle Internet shortcuts. r=jmathies
By making the IStream object free-threaded (or "agile"), IStream::Read will be
called off the main thread. So we can wait until favicon is created.

Depends on D56478

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

--HG--
extra : moz-landing-system : lando
2020-01-06 13:31:47 +00:00
Masatoshi Kimura 95241d2225 Bug 1602615 - Add a callback parameter to ObtainCachedIconFile and use it in GetFileContentsInternetShortcut. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D56478

--HG--
extra : moz-landing-system : lando
2020-01-06 13:31:54 +00:00
Ben Iofel b92dbf5479 Bug 726479 - Use GTK's support for startup notifications, r=karlt
Original author: Ben Iofel <iofelben@gmail.com>

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

--HG--
extra : moz-landing-system : lando
2020-01-06 12:03:38 +00:00
Vlad Zahorodnii 30aa62894e Bug 1497066 - [Linux/HiDPI] Draw header bar buttons at correct scale on HiDPI, r=stransky
Set the style scale in order to be in line with GetStyleContext().

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

--HG--
extra : moz-landing-system : lando
2020-01-05 10:30:36 +00:00
Jonathan Kingston 27ca040dfd Bug 1606774 - Change GetAttribute to GetAttr where possible r=baku
Differential Revision: https://phabricator.services.mozilla.com/D58585

--HG--
extra : moz-landing-system : lando
2020-01-03 23:40:53 +00:00
Harry Twyford 8de8ca3b0c Bug 1581555 - Allow dynamic location switching in the Touch Bar. r=spohl,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D58463

--HG--
extra : moz-landing-system : lando
2020-01-03 18:06:57 +00:00
harry df31f5d57a Bug 1600356 - Part 3 - Streamline Touch Bar image loading. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D55314

--HG--
extra : moz-landing-system : lando
2020-01-03 17:07:25 +00:00
harry 2eee9add65 Bug 1600356 - Part 2 - Introduce TouchBarInputBaseType enum and change signatures on TouchBarInput update methods. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D56590

--HG--
extra : moz-landing-system : lando
2020-01-03 17:07:25 +00:00
harry 02ad23c3cc Bug 1600356 - Part 1 - Split out TouchBarInput into its own files. r=spohl
nsTouchBar.h/.mm were getting a bit unwieldy, particularly after the TouchBarInputBaseType enum from the next part of this patch was added. This part splits out TouchBarInput into its own files. This makes the Touch Bar's file structure similar to that of the menu bar's: nsMenuBarX, nsMenuBarItemX, and nsMenuBarItemIconX contrasted with nsTouchBar, nsTouchBarInput, and nsTouchBarInputIcon.

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

--HG--
extra : moz-landing-system : lando
2019-12-31 20:26:00 +00:00
Martin Stransky ebc6009b2b Bug 1606776 [Wayland] Commit opaque region change to mShell wl_surface r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D58597

--HG--
extra : moz-landing-system : lando
2020-01-03 10:41:55 +00:00
Martin Stransky b579b97bc6 Bug 1606601 - [Linux/HiDPI] Set scale factor to GtkStyleContext when WidgetStyleCache is not used, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D58507

--HG--
extra : moz-landing-system : lando
2020-01-03 07:42:49 +00:00
Greg V cd4b391a87 Bug 1556301 - Wayland-EGL/GLES support in glxtest r=stransky,aosmond
This allows GfxInfoX11 to get GLES3 and Mesa version from Wayland-EGL, which
allows automatic enablement of acceleration to work without Xwayland.

This also fixes bug 1578598 - WebRender did not work correctly
without this GL version information.

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

--HG--
extra : moz-landing-system : lando
2020-01-03 01:02:44 +00:00
Emilio Cobos Álvarez b8b46c17fb Bug 1606036 - Implement high contrast mode in GTK. r=stransky
Over in bug 1604761 I realized that GTK has a high-contrast accessibility
setting, that GTK does not honor the same way as windows does.

There's no good reason for that IMO, and high contrast mode on windows is
getting some love.

This hooks the relevant parts of the GTK widget code so that we also avoid
websites overriding high contrast colors (via PreferenceStyleSheet and co).

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

--HG--
extra : moz-landing-system : lando
2020-01-02 13:59:05 +00:00
Martin Stransky 0f1c8a2adc Bug 1605120 [Wayland] Calculate and set opaque region for all wayland surfaces, r=heftig
Calculate and set correct opaque regions for all wl_surfaces, which are:

- mShell - toplevel window with CSD decorations, opaque mask needs to be shifted by titlebar/CSD size and subtracted transparent corners.
- mContainer - child window with subtracted transparent corners.

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

--HG--
extra : moz-landing-system : lando
2020-01-02 13:35:26 +00:00
Paul Warner 7fec362cac Bug 1591230 - On macOS use MediaPlayer library for media keys when available. r=spohl,alwu
On macOS 10.12.1+, we use `MediaPlayer` library, which has better media key integration, to replace the implementation of `CG EventLoop`.

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

--HG--
extra : moz-landing-system : lando
2019-12-31 01:41:33 +00:00
Markus Stange 239125933c Bug 1592026 - Move NativeLayerRoot::CommitToScreen call from PostRender into the compositors. r=jrmuizel
This makes it more similar to how SwapBuffers was used.
This patch also makes us call glFlush directly when using native layers, rather than going through the misleadingly-named GLContext::SwapBuffers method.

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

--HG--
extra : moz-landing-system : lando
2019-12-29 12:41:04 +00:00
Markus Stange c96a136f94 Bug 1592026 - Move AsyncCATransaction suspension into NativeLayerRootCA. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D57061

--HG--
extra : moz-landing-system : lando
2019-12-29 12:18:32 +00:00
Masayuki Nakano 0a74bf0038 Bug 1605918 - Get rid of synthesizeDragStart() in EventUtils.js r=smaug
All usage of `synthesizeDragStart()` is, starting drag, cancel `dragstart`,
and finally compares `dataTransfer` items and given expected data.  So,
we can make the users use `synthesizePlainDragAndDrop()` instead.  It's
better API because it computes position of mouse operations at runtime and
checks whether the drag start was succeeded with optional logging feature
(i.e., it's easier to debug of intermittent failures).

This patch creates `synthesizePlainDragAndCancel()` for convenience.  It
handles `dragstart` instead of the callers.

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

--HG--
extra : moz-landing-system : lando
2019-12-27 16:25:24 +00:00
Masayuki Nakano 3abbdc38ed Bug 1605855 - Make `window_composition_text_querycontent.xhtml` high DPI aware r=m_kato
The failures which you see running the tests on high DPI display are caused by
`synthesizeQuery*` returns device pixels, but some of the failures
calculating/comparing with CSS pixels, or the other of them caused just
rounding error.  This patch makes they refer `window.devicePixelRatio` and/or
use `isfuzzy` to compare.

The patched tests pass on 100%, 125%, 150%, 175%, 200% and 225% on Win10-ja.

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

--HG--
extra : moz-landing-system : lando
2019-12-25 10:44:36 +00:00
Emilio Cobos Álvarez 0c1f14102b Bug 1031662 - Use more const in gtk3drawing. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D58132

--HG--
extra : moz-landing-system : lando
2019-12-24 02:02:09 +00:00
Emilio Cobos Álvarez bc8b0b4aae Bug 1031662 - correct outset positioning of GTK auto-style outline. r=karlt
The x and y tweaks weren't getting used, because they were not being copied to
the local `x` and `y` variables too. With that fixed, this seems to work
nicely.

I want to enable outline-style: auto both for parity with other browsers but
also because it unblocks stuff like bug 1583381 / bug 1311444.

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

--HG--
extra : moz-landing-system : lando
2019-12-24 02:03:32 +00:00
Gurzau Raul 28b5d5b3af Backed out changeset ad7cc9457eb1 (bug 1605120) for failing at nsWindow.cpp on a CLOSED TREE. 2019-12-23 23:10:43 +02:00
Martin Stransky 9d3726a816 Bug 1605120 [Wayland] Calculate and set opaque region for all wayland surfaces, r=heftig
Calculate and set correct opaque regions for all wl_surfaces, which are:

- mShell - toplevel window with CSD decorations, opaque mask needs to be shifted by titlebar/CSD size and subtracted transparent corners.
- mContainer - child window with subtracted transparent corners.

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

--HG--
extra : moz-landing-system : lando
2019-12-23 19:50:14 +00:00
Jonathan Watt e8d7284c52 Bug 1605412. Remove the Mac widget NS_PAPER_ORIENTATION_* defines. r=spohl
The oldest Mac that we support is 10.9, so we no longer need these defines.

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

--HG--
extra : moz-landing-system : lando
2019-12-21 20:23:20 +00:00
Masayuki Nakano 87ca855ece Bug 1603074 - part 1: Make `synthesizePlainDragAndDrop()` synthesize drag events without `DataTransfer` object r=smaug
`synthesizePlainDragAndDrop()` synthesizes drag events with `DataTransfer`
object which is set to `DragEvent.dataTransfer` of `dragstart` after starting
drag session explicitly.  However, this causes
`EventStateManager::DoDefaltDragStart()` does not initialize `nsIDragService`
instance.  Therefore, synthesized drag events cannot work with editor because
`DragEvent::GetMozSourceNode()` returns `nullptr` due to
`nsIDragSession::GetSourceNode()` returning `nullptr`.

On the other hand, synthesized drag events cannot use
`nsIDragService::InvodeDragSession()` normally because of hitting an assertion.
https://searchfox.org/mozilla-central/rev/690e903ef689a4eca335b96bd903580394864a1c/widget/nsBaseDragService.cpp#230-233

This patch does:
- mark drag events caused by synthesized mouse events as "synthesized for tests"
- make `synthesizePlainDragAndDrop()` stop using
  `nsIDragService.startDragSession()`
- make `nsBaseDragService` initialize and start session even for synthesized
  `dragstart` event
- make `synthesizePlainDragAndDrop()` stop synthesizing drag events with
  `DataTransfer` object since it's normal behavior and it'll be initialized
  with `nsIDragService::GetDataTransfer()`
- make `nsBaseDragService` store `effectAllowed` for the session only when
  it's synthesized session because it's required at initializing synthesized
  default `dropEffect` value of `dragenter`, `dragover`, `dragexit` and `drop`
  events' `dataTransfer`
- make all tests which use `nsIDragService.startDragSession()` use new
  API, `nsIDragService.startDragSessionForTests()` to initialize session's
  `effectAllowed` value
- make `EventStateManager::PostHandleEvent()` set drag end point of the test
  session to `eDrop` event's screen point
- make `synthesizePlainDragAndDrop()` set drag end point of the session if
  it does not synthesize `drop` event because following `endDragSession()`
  use it at dispatching `dragend` event on the source element

Additionally, this adds `dumpFunc` new param to `synthesizePlainDragAndDrop()`
because it's really useful to investigate the reason why requesting DnD isn't
performed as expected.

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

--HG--
extra : moz-landing-system : lando
2019-12-21 12:27:06 +00:00
alwu 6c23e730f2 Bug 1604962 - use NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING to support refcounting for abstrach classes. r=chunmin
Inheriting from `nsISupports` is too complicated if we just want to support refcounting. Instead, we can use `NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING` to declare `Add/RemoveRef()` as pure virtual functions in order to create ref-counted abstract classes.

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

--HG--
extra : moz-landing-system : lando
2019-12-21 00:05:53 +00:00
Dave Townsend f7332b479f Bug 1605405: Break the MSCOM <-> XPCOM cycle in the alerts service during shutdown. r=jmathies
While windows toast notifications are active there is a reference cycle between
MSCOM and XPCOM objects that the cycle collector cannot break. Fix this by
breaking the reference cycle at any point where we expect the toast notification
to be destroyed.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 19:05:46 +00:00
Chris Peterson 406763af7f Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.

Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:

* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 07:16:43 +00:00
Thinker Li 238a08c7d3 Bug 1604001 - Add the missing process type of the fork server for tests. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D57218

--HG--
extra : moz-landing-system : lando
2019-12-19 15:50:03 +00:00
Martin Stransky e899b000d0 Bug 1489463 [Linux] Invalidate mBounds by state event changes, r=jhorak
- Invalidate mBounds when window state is changed. That ensures we get new window size from configure event.
- Join Resize() routines and use ResizeInt() for the actual resize work.
- Add more logging to nsWindow file.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 14:45:17 +00:00
Martin Stransky b2d700542e Bug 1504021 [Linux/Gtk] Update ClientOffset by gdk_window_get_position(), r=jhorak
Don't use CSD decoration size to get ClientOffset at UpdateClientOffsetFromCSDWindow()
but rather get it from gdk_window_get_position() which is more universal and it's available on Gtk < 3.20.

As we can't call gdk_window_get_position() right after titlebar on/off switch (mContainer is not positioned yet),
use mClientOffsetCSDNeedsUpdate flag to delay it.

Also request ClientOffset update on scale change which is missing now.

Rename UpdateClientOffset() to UpdateClientOffsetFromFrameExtents() to explicitly
state its function and make it similar to UpdateClientOffsetFromCSDWindow().

It depends on https://phabricator.services.mozilla.com/D57763 which needs to be checked first.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 14:45:39 +00:00
Hiroyuki Ikezoe 11f2716492 Bug 1596317 - Implement SetPrefersReducedMotionOverrideForTest backend for GTK. r=emilio
On GTK changing gtk-enable-animation in a process doesn't affect in different
processes for some reasons.  So we take the same approach as what we did for
OSX[1] that is when SetPrefersReducedMotionOverrideForTest is called we set the
given value as a cache in the parent process and send a notification to system
as if the value changed thus the notification kicks PBroser.ThemeChanged to
update the cache in the content process, thus we can use the cache value on
querying the corresponding value in the content process.

[1] https://hg.mozilla.org/mozilla-central/rev/67a5acf7363d

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

--HG--
extra : moz-landing-system : lando
2019-12-19 09:04:58 +00:00
Bogdan Tara a96ffb25c5 Backed out 7 changesets (bug 1596317) for causing build bustages CLOSED TREE
Backed out changeset 0d3208fcb948 (bug 1596317)
Backed out changeset fe5554dc4115 (bug 1596317)
Backed out changeset 019de59cbc93 (bug 1596317)
Backed out changeset f4851472b087 (bug 1596317)
Backed out changeset a984cf515db8 (bug 1596317)
Backed out changeset d0da5bf9b4d4 (bug 1596317)
Backed out changeset abe5f2030dd9 (bug 1596317)
2019-12-19 06:49:39 +02:00
Hiroyuki Ikezoe 3b2739a1da Bug 1596317 - Implement SetPrefersReducedMotionOverrideForTest backend for GTK. r=emilio
On GTK changing gtk-enable-animation in a process doesn't affect in different
processes for some reasons.  So we take the same approach as what we did for
OSX[1] that is when SetPrefersReducedMotionOverrideForTest is called we set the
given value as a cache in the parent process and send a notification to system
as if the value changed thus the notification kicks PBroser.ThemeChanged to
update the cache in the content process, thus we can use the cache value on
querying the corresponding value in the content process.

[1] https://hg.mozilla.org/mozilla-central/rev/67a5acf7363d

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

--HG--
extra : moz-landing-system : lando
2019-12-19 04:15:44 +00:00
Bogdan Tara 475dd19c3d Backed out 2 changesets (bug 1602195) for toolkit/components/alerts/test/test_alerts.html failures CLOSED TREE
Backed out changeset 399d66c91450 (bug 1602195)
Backed out changeset c007b95a362c (bug 1602195)
2019-12-19 03:50:16 +02:00
Dave Townsend fe6729cee6 Bug 1602195: Attempt to always set a default app user model id for the application and make sure that jump lists and recent documents are associated with it. r=mhowell
Once we start supporting different model IDs for different windows of the same
application we need to make sure that the normal windows have a model ID and
the jump lists and recent documents are tagged with the same ID. We do this by
always having an app default model ID, when no window specific model ID is set
the app default is used.

At some point we may want to extend the jump list stuff to support using a
different model ID but that isn't needed right now.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 22:07:18 +00:00
Markus Stange 0f70058b6f Bug 1592044 - Reduce the frequency of IOSurface and framebuffer creation and destruction with the help of a surface pool. r=jgilbert
There are multiple SurfacePools: Main thread painting and the non-WebRender compositors create a new pool per window, and WebRender creates one shared pool across all windows. The non-WebRender users set the pool size limit to zero, i.e. no recycling across paints. This preserves the pre-existing behavior.
WebRender's pool size is configurable with the gfx.webrender.compositor.surface-pool-size pref.
Every window holds on to a SurfacePoolHandle. A SurfacePoolHandle has an owning reference to the pool, via a surface pool wrapper. Once all handles are gone, the surface pool goes away, too.
The SurfacePool holds on to IOSurfaces and MozFramebuffers. Both are created on demand, independently, but are associated with each other.
A given NativeLayer uses only one surface pool handle during its lifetime. The native layer no longer influences which GLContext its framebuffers are created for; the GL context is now managed by the surface pool handle.
As a result, a NativeLayer can no longer change which GLContext its framebuffers are created by.
So in the future, if we ever need to migrate a window frome one GLContext to another, we will need to recreate the NativeLayers inside it. I think that's ok.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 21:01:51 +00:00
James Willcox 9d6b63b818 Bug 1595176 - Don't wait for a window to finish GeckoView startup r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D57543

--HG--
extra : moz-landing-system : lando
2019-12-18 20:22:22 +00:00
James Willcox 847cf8c8d7 Bug 1603114 - Ensure Gecko channel is closed with `WebResponse` body stream. r=geckoview-reviewers,agi
This also fixes a lifetime issue where we may have been leaking the
native instance of `WebResponse.Support`.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 20:22:18 +00:00
Gurzau Raul d93f5daf2f Backed out 2 changesets (bug 1602195) for assertion failures at ServoUtils.h on a CLOSED TREE.
Backed out changeset 1ed20a4511bf (bug 1602195)
Backed out changeset db0d6cb87c2a (bug 1602195)
2019-12-18 21:13:02 +02:00
Dave Townsend d805852122 Bug 1602195: Attempt to always set a default app user model id for the application and make sure that jump lists and recent documents are associated with it. r=mhowell
Once we start supporting different model IDs for different windows of the same
application we need to make sure that the normal windows have a model ID and
the jump lists and recent documents are tagged with the same ID. We do this by
always having an app default model ID, when no window specific model ID is set
the app default is used.

At some point we may want to extend the jump list stuff to support using a
different model ID but that isn't needed right now.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 16:38:36 +00:00
Dave Townsend 69a7e12d9a Bug 1602194: Use the site's icons for the SSB UI window. r=mhowell,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D56634

--HG--
extra : moz-landing-system : lando
2019-12-18 16:37:55 +00:00
Noemi Erli 00a57ab6c7 Backed out 3 changesets (bug 1603452, bug 1603114, bug 1577596) for causing lint failure in GeckoSession.java CLOSED TREE
Backed out changeset 1a9be6d049a7 (bug 1577596)
Backed out changeset 11e1f382ea77 (bug 1603114)
Backed out changeset d63c194d1c6c (bug 1603452)
2019-12-18 01:12:37 +02:00
James Willcox 3f1c533a24 Bug 1603114 - Ensure Gecko channel is closed with `WebResponse` body stream. r=geckoview-reviewers,agi
This also fixes a lifetime issue where we may have been leaking the
native instance of `WebResponse.Support`.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 20:59:31 +00:00
Aaron Klotz 3a1768d46b Bug 1604589: Fix default param in AutoVirtualProtect constructor; r=mhowell
We should be using `GetCurrentProcess` as the default, not `nullptr`.
`VirtualProtectEx` fails with a `nullptr` process handle.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 19:03:56 +00:00
Martin Stransky 978b02969c Bug 1604480 [Linux/Gtk] Add mDrawToContainer to explicitly state we draw to mozcontainer, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D57457

--HG--
extra : moz-landing-system : lando
2019-12-17 13:52:21 +00:00
Martin Stransky a684c2e36e Bug 1489463 - [Linux/Gtk] Call OnSizeAllocate() explicitly also from OnConfigureEvent(), r=jhorak
Usually we update mBounds from OnSizeAllocate() which is called
by Gtk when mContainer changes its actual size.

However we need to set mBounds in advance at Resize() as JS
code expect immediate window size change. When Resize() is called between
SetSizeMode() calls (which maximize/unmaximize the window) we can miss
OnSizeAllocate() Gtk call as actual mContainer size may not change
from Gtk perspective and we end up with incorrect mBounds.

To compensate it call OnSizeAllocate() explicitly also
from OnConfigureEvent() after size mode change.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 06:40:07 +00:00
Narcis Beleuzu 85cef2e9ab Backed out 3 changesets (bug 1602191, bug 1602194, bug 1602196) for Windows MinGW bustages on WindowsUIUtils.cpp. CLOSED TREE
Backed out changeset 73c93dc0c790 (bug 1602196)
Backed out changeset ab3c0af1ec40 (bug 1602194)
Backed out changeset f1b308c595c8 (bug 1602191)
2019-12-17 05:41:41 +02:00
Dave Townsend 4c915f1aa5 Bug 1602194: Use the site's icons for the SSB UI window. r=mhowell,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D56634

--HG--
extra : moz-landing-system : lando
2019-12-16 20:14:43 +00:00
Emma Malysz ebaa98b111 Bug 1601113, replace URIs ending in vnd.mozilla.xul+xml with xhtml+xml r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57148

--HG--
extra : moz-landing-system : lando
2019-12-17 00:33:16 +00:00
Oana Pop Rus 661db3a39f Backed out 7 changesets (bug 1432856) for build bustages failures in nsWindow.h on a CLOSED TREE
Backed out changeset 3d08c3cce533 (bug 1432856)
Backed out changeset 49d03dd89b17 (bug 1432856)
Backed out changeset 62fc84c8ce99 (bug 1432856)
Backed out changeset a8a4fa63f5b2 (bug 1432856)
Backed out changeset c81f3d5b9bf3 (bug 1432856)
Backed out changeset 8351a8b1d96a (bug 1432856)
Backed out changeset a303b775a51b (bug 1432856)
2019-12-16 23:53:35 +02:00
pbz e03ecc2171 Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55811

--HG--
extra : moz-landing-system : lando
2019-12-16 21:06:11 +00:00
Csoregi Natalia f79d5374e0 Backed out changeset c9c256a84d8d (bug 1489463) for failures on browser_roundedWindow_windowSetting_max_inner.js. CLOSED TREE 2019-12-16 15:45:33 +02:00
Martin Stransky 2df2f216c3 Bug 1489463 - [Linux/Gtk] Call OnSizeAllocate() explicitly also from OnConfigureEvent(), r=jhorak
Usually we update mBounds from OnSizeAllocate() which is called
by Gtk when mContainer changes its actual size.

However we need to set mBounds in advance at Resize() as JS
code expect immediate window size change. When Resize() is called between
SetSizeMode() calls (which maximize/unmaximize the window) we can miss
OnSizeAllocate() Gtk call as actual mContainer size may not change
from Gtk perspective and we end up with incorrect mBounds.

To compensate it call OnSizeAllocate() explicitly also
from OnConfigureEvent().

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

--HG--
extra : moz-landing-system : lando
2019-12-16 09:52:27 +00:00
sotaro f03139d167 Bug 1603927 - Do not try to pause compositor when nsWindow is destroyed r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D57197

--HG--
extra : moz-landing-system : lando
2019-12-16 07:31:57 +00:00
Alex Henrie 28f8449c88 Bug 1604071 - Remove dead assignment from nsPrintDialogServiceGTK::Show. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D57256

--HG--
extra : moz-landing-system : lando
2019-12-16 07:03:52 +00:00
sotaro ddcd5d3d38 Bug 1603515 - Extend Blacklist of webrender compositor on Intel HD 520 r=gw
Differential Revision: https://phabricator.services.mozilla.com/D57100

--HG--
extra : moz-landing-system : lando
2019-12-15 19:47:04 +00:00
Ciure Andrei 4a058d35be Backed out changeset fd383a15ed4e (bug 1552966) for causing browser_printpreview.js to permafail CLOSED TREE 2019-12-14 17:45:23 +02:00
Jonathan Watt 5096a4a025 Bug 1552966. Convert the printing code to stop using DocShellTree* classes. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56830

--HG--
extra : moz-landing-system : lando
2019-12-13 14:16:15 +00:00
Kris Maglione 39d7eb39ed Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:48 +00:00
Kris Maglione 9853440599 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione 94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Kris Taeleman a5db590a3a Bug 1602597 - Enable Webrender for Adreno 5xx and 6xx in Nightly. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D56829

--HG--
extra : moz-landing-system : lando
2019-12-13 16:14:40 +00:00
Martin Stransky 4916cb6978 Bug 1603565 [Linux/HiDPI] Use scale factor to calculate window offset on X11, r=jhorak
This patch depends on https://phabricator.services.mozilla.com/D56915 which needs to be applied first.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 08:46:52 +00:00
Martin Stransky 9a2b0f2ed2 Bug 1603579 [Linux] Use DevicePixelsToGdkCoordRoundUp() to calculate un-scaled coordinates, r=jhorak
this one depends on https://phabricator.services.mozilla.com/D56999 which needs to be landed first.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 07:48:59 +00:00
Martin Stransky be17f712d1 Bug 1603577 [Linux] Remove logging from ApplySizeConstraints/UpdateOpaqueRegion, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D56999

--HG--
extra : moz-landing-system : lando
2019-12-13 07:49:16 +00:00
Martin Stransky 9d06e4311a Bug 1603419 [Linux] Cache GetCSDDecorationSize() results, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D56915

--HG--
extra : moz-landing-system : lando
2019-12-13 07:44:48 +00:00
Masayuki Nakano d586d5dc73 Bug 1543315 - part 19: Mark `PresShell::ReconstructFrames()` as `MOZ_CAN_RUN_SCRIPT` r=smaug
It calls `Document::FlushPendingNotification()` so that we should mark it
as `MOZ_CAN_RUN_SCRIPT`.

And the method calls it of `mDocument` and `mDocument` is never modified
after it's initialized.  Therefore, we can move the initializer to the
constructor and make `RefPtr<Document>` to `RefPtr<Document> const`.  Thus,
we can avoid unnecessary auto `RefPtr`.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 12:18:00 +00:00
Alastor Wu a20a9e1065 Bug 1603527 - part2 : extend 'MediaControlKeysEvent'. r=MeFisto94
Extend `MediaControlKeysEvent` to support more buttons.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 00:52:00 +00:00
Alastor Wu d562501d6c Bug 1603527 - part1 : remove 'MediaControlKeysEvent::eNone'. r=MeFisto94
`MediaControlKeysEvent` should represent possible control key events, so adding a non-existing `eNone` in this class is not good.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 00:31:22 +00:00
sotaro 4dfa97eb9f Bug 1603015 - Backout r=gw
Backout a patch since it disables WR compositor usage during try tests.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 00:46:18 +00:00
Brian Grinstead 02d5d82b74 Bug 1603491 - Rename geckoview.xul to geckoview.xhtml r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D56969

--HG--
rename : mobile/android/chrome/geckoview/geckoview.xul => mobile/android/chrome/geckoview/geckoview.xhtml
extra : moz-landing-system : lando
2019-12-13 00:16:26 +00:00
Noemi Erli e6341c6f8c Backed out changeset d72ce5d90b7c (bug 1602565) for causing Android mochites failures CLOSED TREE 2019-12-12 20:20:02 +02:00
Brendan Dahl 581016b570 Bug 1599957 - Fix intermittent test WebExecutorTest.testFetchStreamError r=snorp
Currently, it's possible for testFetchStreamError to finish receiving data
before the error is received and throws.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 15:29:36 +00:00
Agi Sferro b064d2695b Bug 1602565 - Mark GeckoView windows with chrome flag CHROME_GECKOVIEW. r=snorp
This will allow us to know whether a certain window is controlled GeckoView or
not in the content process.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 16:33:09 +00:00
Tom Ritter 37f89d5a1d Bug 1590624 - mingw-clang cannot use _xgetbv without -mavx, work around it r=lsalzman,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54531

--HG--
extra : moz-landing-system : lando
2019-12-12 06:38:39 +00:00
Andreea Pavel a533b175dd Backed out 4 changesets (bug 1590624) for breaking gecko decision task on a CLOSED TREE
Backed out changeset 2ac8dd1d709d (bug 1590624)
Backed out changeset 8432398c212a (bug 1590624)
Backed out changeset 2b28154aacdb (bug 1590624)
Backed out changeset d305e4160ee4 (bug 1590624)

--HG--
rename : build/build-clang/clang-9-mingw.json => build/build-clang/clang-8-mingw.json
rename : taskcluster/scripts/misc/build-clang-mingw.sh => taskcluster/scripts/misc/build-clang-8-mingw.sh
2019-12-12 08:35:11 +02:00
Tom Ritter d536ec53bb Bug 1590624 - mingw-clang cannot use _xgetbv without -mavx, work around it r=lsalzman,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54531

--HG--
extra : moz-landing-system : lando
2019-12-10 18:41:41 +00:00
Emma Malysz 75ea156d47 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:44:54 +00:00
Gurzau Raul 824bc2bf90 Backed out changeset dd809e835f2a (bug 1601093) for eslint failures at alert.xhtml and commonDialog.xhtml on a CLOSED TREE.
--HG--
rename : toolkit/components/alerts/resources/content/alert.xhtml => toolkit/components/alerts/resources/content/alert.xul
rename : toolkit/components/apppicker/content/appPicker.xhtml => toolkit/components/apppicker/content/appPicker.xul
rename : toolkit/components/extensions/dummy.xhtml => toolkit/components/extensions/dummy.xul
rename : toolkit/components/passwordmgr/content/passwordManager.xhtml => toolkit/components/passwordmgr/content/passwordManager.xul
rename : toolkit/components/printing/content/printPageSetup.xhtml => toolkit/components/printing/content/printPageSetup.xul
rename : toolkit/components/printing/content/printPreviewProgress.xhtml => toolkit/components/printing/content/printPreviewProgress.xul
rename : toolkit/components/printing/content/printProgress.xhtml => toolkit/components/printing/content/printProgress.xul
rename : toolkit/components/prompts/content/commonDialog.xhtml => toolkit/components/prompts/content/commonDialog.xul
rename : toolkit/components/prompts/content/selectDialog.xhtml => toolkit/components/prompts/content/selectDialog.xul
rename : toolkit/components/viewconfig/content/config.xhtml => toolkit/components/viewconfig/content/config.xul
rename : toolkit/content/editMenuKeys.inc.xhtml => toolkit/content/editMenuKeys.inc.xul
rename : toolkit/content/resetProfile.xhtml => toolkit/content/resetProfile.xul
rename : toolkit/content/resetProfileProgress.xhtml => toolkit/content/resetProfileProgress.xul
rename : toolkit/modules/win.xhtml => toolkit/modules/win.xul
rename : toolkit/profile/content/createProfileWizard.xhtml => toolkit/profile/content/createProfileWizard.xul
rename : toolkit/profile/content/profileDowngrade.xhtml => toolkit/profile/content/profileDowngrade.xul
rename : toolkit/profile/content/profileSelection.xhtml => toolkit/profile/content/profileSelection.xul
2019-12-11 19:27:28 +02:00
Emma Malysz 106f09dd53 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:02:20 +00:00
Martin Stransky fbf6218371 Bug 1599393 [Wayland] Use dmabuf for basic compositor under preference, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D54692

--HG--
extra : moz-landing-system : lando
2019-12-11 15:37:44 +00:00
Martin Stransky dbf1215e63 Bug 1573742 [Linux] Don't draw round corners in tiled mode, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D56601

--HG--
extra : moz-landing-system : lando
2019-12-11 15:44:16 +00:00
Masayuki Nakano df7807e1a4 Bug 1598619 - Make `TextInputHandler::HandleFlagsChanged()` not dispatch same key event twice r=m_kato
`TextInputHandler::HandleFlagsChanged()` dispatches `keydown` and `keyup`
events even if the native key code is not set properly because web apps
and our internal component like EventStateManager may cache modifier
state with listening to `keydown` and `keyup` events.

If native event does not have proper key code value, it computes key code
from recorded key code value for each flag, but one modifier key may
set 2 or more flags.  Therefore, it should check whether the computed
key code's event has already been dispatched or not.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 10:15:29 +00:00
Martin Stransky 7c668f73cb Bug 1602309 [Wayland] Set opaque region directly to mShell wl_surface to bypass Gtk opaque region cache, r=heftig
Differential Revision: https://phabricator.services.mozilla.com/D56554

--HG--
extra : moz-landing-system : lando
2019-12-11 09:26:43 +00:00
sotaro b6830af239 Bug 1603015 - Block WebRender compositor on all Intel devices with <= 6293 driver r=gw
Differential Revision: https://phabricator.services.mozilla.com/D56673

--HG--
extra : moz-landing-system : lando
2019-12-11 06:19:48 +00:00
Jeff Walden 62a130ba0a Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56595

--HG--
extra : moz-landing-system : lando
2019-12-11 06:17:44 +00:00
Makoto Kato 5d374a9099 Bug 1598782 - Don't destroy GeckoEditableSupport when getting focus. r=geckoview-reviewers,rbarker
NOTIFY_IME_OF_FOCUS performs lazy initialization for text dispatcher. When
GeckoViewSupport attaches GeckoEditable during initialization,
GeckoEditableSupport destroys myself.

If GeckoEditable already has focus, don't destroy GeckoEditable child.

Also, I want to add debug warning to debug like this issue.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 20:16:16 +00:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione cee320b5fb Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:41 +00:00
Kris Maglione 3ca78ce8e3 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00