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

691255 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano a25e33d6f2 Bug 1588688 - part 5: Make `HTMLEditor::HandleDeleteNonCollapsedSelection()` use array of `nsIContent` instead of `nsINode` r=m_kato
Same as the previous patch, the content iterator won't return non-`nsIContent`
node.  Therefore, `HTMLEditor::HandleDeleteNonCollapsedSelection()` can treat
it with array of `nsIContent`.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 05:56:32 +00:00
Timothy Nikkel f9339c12e6 Bug 1614233. Properly clip nsDisplayRemote. r=mattwoodrow
The existing code just clipped to a rect. We need to do the same clipping that the non-remote code path does which also handles border radius.

The existing code is the from initial implementation of nsDisplayRemote in https://hg.mozilla.org/mozilla-central/rev/85d06279c8358a8e1c883aa670a20212b1039a90 so I suspect that clipping to the inner view bounds instead of the frame content box is not an important difference.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 07:17:43 +00:00
Csoregi Natalia 45b586ece5 Backed out changeset 4cfe2ced3cce (bug 1614233) for reftest failures on border-radius/iframe-1-ref.html. CLOSED TREE 2020-02-13 09:05:53 +02:00
Harry Twyford 48f6690182 Bug 1614656 - Set Search Tips shownCount prefs correctly. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D62438

--HG--
extra : moz-landing-system : lando
2020-02-12 02:02:35 +00:00
Chris Martin 90a7dd97e9 Bug 1604412 - Enable remote backbuffer GDI compositing r=jmathies,jld
This change adds new "remote backbuffer" logic when compositing without
HW acceleration on Windows (IE compositing through Cairo using the Win32
GDI)

A new piece of shared memory is created between the GPU process and the UI
process, and the GPU process sends requests to the UI process to first "borrow"
a properly-sized buffer to draw into, and then sends a "present" request to
tell the UI process to actually blit the buffer to the Win32 window.

This is needed for the GPU sandbox to work, since Windows rightly doesn't
allow the untrusted GPU process to directly draw the contents of a window
owned by the trusted UI process.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 03:59:13 +00:00
Andreea Pavel 94249cc894 Backed out 5 changesets (bug 1536728) for failing browser_context_menu_iframe.js on a CLOSED TREE
Backed out changeset 3c6419676ae1 (bug 1536728)
Backed out changeset dc86932a5454 (bug 1536728)
Backed out changeset 155ff3fe94c7 (bug 1536728)
Backed out changeset fe18718bfeb3 (bug 1536728)
Backed out changeset 80ffc576da4a (bug 1536728)

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_LoginManagerContent_passwordEditedOrGenerated.html => toolkit/components/passwordmgr/test/mochitest/test_LoginManagerContent_generatedPasswordFilledOrEdited.html
rename : toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onPasswordEditedOrGenerated.js => toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onGeneratedPasswordFilledOrEdited.js
2020-02-13 07:13:50 +02:00
Masayuki Nakano 1fb4eedd2a Bug 1588688 - part 4: Make `HTMLEditor::RemoveEmptyNodesIn()` use array of `nsIContent` rather than `nsINode` r=m_kato
The content iterators always return `nsIContent` even though the result of
`GetCurrentNode()` is `nsINode*`.  Therefore, we can make
`HTMLEditor::RemoveEmptyNodesIn()` use array of `nsIContent` instead of
array of `nsINode`.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 05:53:34 +00:00
Hiroyuki Ikezoe bd45d3d3af Bug 1613294 - Drop IntersectionObserver.callback. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62678

--HG--
extra : moz-landing-system : lando
2020-02-13 02:43:25 +00:00
Razvan Maries 5cac8057e3 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2020-02-13 06:00:47 +02:00
Razvan Maries a4be2fbe9b Merge autoland to mozilla-central a=merge 2020-02-13 05:29:59 +02:00
Razvan Maries 5a459accc8 Backed out changeset 9819d9e38727 (bug 1547111) for causing bug 1614852. a=backout CLOSED TREE 2020-02-13 02:36:57 +02:00
Justin Wood f6ea7a63cf Bug 1614998 - Move nightly named transform to a shippable name. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D62641

--HG--
rename : taskcluster/taskgraph/transforms/nightly_l10n_signing.py => taskcluster/taskgraph/transforms/shippable_l10n_signing.py
extra : moz-landing-system : lando
2020-02-12 22:30:01 +00:00
Justin Wood 0780501613 Bug 1614998 - Change treeherder representation for L10n to be 'B' and 'Bs' instead of 'N' and 'Ns' r=aki
Differential Revision: https://phabricator.services.mozilla.com/D62640

--HG--
extra : moz-landing-system : lando
2020-02-12 22:59:13 +00:00
Justin Wood 41fceb0658 Bug 1614998 - Move nightly-l10n to shippable-l10n. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D62639

--HG--
rename : taskcluster/ci/nightly-l10n/kind.yml => taskcluster/ci/shippable-l10n/kind.yml
extra : moz-landing-system : lando
2020-02-12 22:29:02 +00:00
Justin Wood 01ccfa4e07 Bug 1614998 - Rename nightly-l10n-signing to shippable-l10n-signing. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D62638

--HG--
rename : taskcluster/ci/nightly-l10n-signing/kind.yml => taskcluster/ci/shippable-l10n-signing/kind.yml
extra : moz-landing-system : lando
2020-02-12 22:28:31 +00:00
Justin Wood ef154407eb Bug 1614998 - Allow copy attributes in taskgraph to have a denylist. r=aki
Provides denylisted attributes to copy over in the fusing of chunked portions of the taskgraph. Without
denylisting these we have changes on these related kinds in json, due simply to ordering of total tasks.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 22:39:53 +00:00
Martin Stransky 1160be6413 Bug 1613364 [Wayland] Clean up WaylandDMABufSurface class, r=jhorak
- Include va_drmcommon.h file to build without libva headers
- Clean up WaylandDMABufSurface/WaylandDMABufSurfaceRGBA/WaylandDMABufSurfaceNV12 classes

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

--HG--
extra : moz-landing-system : lando
2020-02-12 22:35:09 +00:00
Martin Stransky 0c0169aabe Bug 1613364 [Wayland] Update gfx code to derived WaylandDMABufSurfaceRGBA class, r=sotaro
WaylandDMABufSurface/WaylandDMABufSurfaceRGBA uses textures interface instead of EGLImages so we need
to update gfx code accordingly:

- rename CreateEGLImage() -> CreateTexture()
- rename ReleaseEGLImage() -> ReleaseTextures()
- rename GetGLTexture() -> GetTexture()
- rename WaylandDMABufSurface::CreateDMABufSurface() to WaylandDMABufSurfaceRGBA::CreateDMABufSurface()

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

--HG--
extra : moz-landing-system : lando
2020-02-12 22:35:02 +00:00
Martin Stransky 5cef4a77a7 Bug 1613364 [Wayland] Update WaylandDMABUFTextureHostOGL and WaylandDMABUFTextureClientOGL to work with NV12 format, r=sotaro
- Update WaylandDMABUFTextureClientOGL to work with WaylandDMABufSurfaceRGBA which is used for GL/WebRender compositor
  with dmabuf texture backend.
- Update WaylandDMABUFTextureHostOGL to work with both RGBA and NV12 surface formats.
- Use GLTextureSource instead of EGLImageTextureSource as we need to store more than one texture there with NV12
  and pass the textures there by CreateTextureSourceForPlane().
- Implement NV12 related function by WaylandDMABUFTextureHostOGL (color space, color range, sub-textures num).
- Add NV12 implementation to PushResourceUpdates()/PushDisplayItems() for WebRender.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 22:34:59 +00:00
Martin Stransky d0648020ef Bug 1613364 [Wayland] Update RenderWaylandDMABUFTextureHostOGL to work with NV12 texture format, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D62003

--HG--
extra : moz-landing-system : lando
2020-02-12 22:34:42 +00:00
Martin Stransky 3067970775 Bug 1613364 [Wayland] Implement WaylandDMABufSurfaceNV12 to hold HW decoded video frames, r=jhorak
WaylandDMABufSurfaceNV12 holds HW decoded video frames from VA-API in NV12 format and it's implemented
as specialization of WaylandDMABufSurface base class.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 22:34:35 +00:00
Martin Stransky ff552649ea Bug 1613364 [Wayland] Derive WaylandDMABufSurfaceRGBA from WaylandDMABufSurface, r=jhorak
We need WaylandDMABufSurface to hold both RGBA and YUV surfaces co create WaylandDMABufSurface as a base
class and derive WaylandDMABufSurfaceRGBA from it.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 22:34:27 +00:00
Martin Stransky 66d3858441 Bug 1613364 [Wayland] Update SurfaceDescriptorDMABuf to export YUV surfaces, r=sotaro
We need to export more planes in SurfaceDescriptorDMABuf and also YUV color space.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 22:34:20 +00:00
Greg Tatum f656d38f91 Bug 1614712 - Add a requestId to the profiler's WebChannel messages; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D62459

--HG--
extra : moz-landing-system : lando
2020-02-12 22:30:51 +00:00
Matthew Gregan 07f5f0bc92 Bug 1614547 - Ensure AudioIPC client threads call PROFILER_UNREGISTER_THREAD. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D62402

--HG--
extra : moz-landing-system : lando
2020-02-12 22:20:11 +00:00
Matthew Gregan 63b801f787 Bug 1614533 - Generate AudioIPC FFI bindings with cbindgen. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D62388

--HG--
extra : moz-landing-system : lando
2020-02-12 22:15:39 +00:00
Scott 5aef391647 Bug 1567271 - Newtab Pocket collections r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D61741

--HG--
extra : moz-landing-system : lando
2020-02-12 21:14:01 +00:00
Michael Kaply c151c6bcac Bug 1608240 - Add a policy to control user messaging. r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D61639

--HG--
extra : moz-landing-system : lando
2020-02-12 21:28:38 +00:00
Hiroyuki Ikezoe 860215afa7 Bug 1542784 - Add a wpt when the deferred image element moves into script disabled document. r=emilio
Depends on D61440

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:30:37 +00:00
Hiroyuki Ikezoe 7eb948b912 Bug 1542784 - Add a wpt to make sure loading="lazy" is not honored in script disable iframe. r=emilio
Depends on D61439

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:30:22 +00:00
Hiroyuki Ikezoe 88072f162f Bug 1542784 - Add tests for lazy-load images in cross origin iframes. r=emilio
There are two variation of the tests.

1) The image element gets visible by scrolling the iframe's scrollport.
2) The image element gets visible by scrolling the parent scroll container of the iframe

Depends on D61438

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:30:07 +00:00
Hiroyuki Ikezoe 8398acfafe Bug 1542784 - Implement lazy loading for images. r=emilio,hsivonen
Though with this initial implementation, we do create an IntersectionObserver
only for the root document in each processes, once we found issues on this
model, we can create an IntersectionObserver in each _document_.

Depends on D61437

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:31:48 +00:00
Hiroyuki Ikezoe c7a330c3a1 Bug 1542784 - Use nsIRequest::LOAD_BACKGROUND for lazy-load image elements. r=hsivonen
Depends on D61436

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:29:32 +00:00
Hiroyuki Ikezoe 878e272a90 Bug 1542784 - Make DOMIntersectionObserver::mCallback Variant. r=emilio,bzbarsky
So that it can accept a callback function implemented in C++ for lazy-loading.

Depends on D61435

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:29:19 +00:00
Hiroyuki Ikezoe 157511a8d7 Bug 1542784 - Stop speculative image load for lazy load images. r=hsivonen
Depends on D61434

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:29:10 +00:00
Hiroyuki Ikezoe 3ef2b1843e Bug 1542784 - Add loading attribute to the HTML parser. r=hsivonen
Depends on D61433

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:29:07 +00:00
Hiroyuki Ikezoe 62e1c54908 Bug 1542784 - Annotate bug number for tests affected by an open issue [1] for lazy-loading. r=emilio
[1] https://github.com/whatwg/html/issues/5236

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:29:05 +00:00
Andreea Pavel 83026e9e9b Backed out changeset a2bf92004940 (bug 1614674) for failing frame-ancestors-from-serviceworker.https.html on a CLOSED TREE 2020-02-12 23:46:59 +02:00
Sylvestre Ledru 186dd63672 Bug 1578058 - Add clippy in the mozlint docker image r=ahal
Depends on D58250

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:11:38 +00:00
Brendan Dahl 011b986e6d Bug 1611133 - Fix print preview close handler. r=bgrins
For HTML documents the onclose event is not dispatched to the root <html>
element.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 18:48:46 +00:00
Mark Banner 556504ff93 Bug 1614822 - Enable ESLint for testing/mochitest/tests/Harness_sanity/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D62512

--HG--
extra : moz-landing-system : lando
2020-02-12 19:38:40 +00:00
Scott 8dc9ea96b7 Bug 1612984 - Enable regions that get stories via a pref r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D61510

--HG--
extra : moz-landing-system : lando
2020-02-12 17:42:52 +00:00
Bob Clary 05c4d91a51 Bug 1614954 - [mozdevice] Do not attempt to grant android.permission.FOREGROUND_SERVICE, r=gbrown,snorp
Depends on D62593

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

--HG--
extra : moz-landing-system : lando
2020-02-12 17:42:34 +00:00
Bob Clary d6d0b3b1b8 Bug 1614954 - [mozdevice] Do not terminate ADBDevice.grant_runtime_permissions on error, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D62593

--HG--
extra : moz-landing-system : lando
2020-02-12 17:13:52 +00:00
shindli cdd059e2c2 Backed out 2 changesets (bug 1607505) for causing xpcshell permafailures in netwerk/test/unit/test_alt-data_simple.js CLOSED TREE
Backed out changeset d79f1d283acd (bug 1607505)
Backed out changeset 7b7b147b6955 (bug 1607505)
2020-02-12 22:37:08 +02:00
Christian Holler 3ec290bd27 Bug 1615045 - Add temporary TSan suppression for StartupCache. r=froydnj CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D62647

--HG--
extra : amend_source : 36b0f1625051fc190a0238908917138d229f07bf
2020-02-12 22:19:04 +02:00
Emilio Cobos Álvarez 4fb3a8f1ae Bug 1615028 - Make nsNativeBasicTheme honor custom scrollbar styles. r=spohl
By falling back to the generic code like nsNativeThemeGTK does.

We may want to be more nuanced in other platforms? I don't know.

This is very noticeable on Riot and other apps that override the scrollbar width
/ scrollbar colors.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 19:38:35 +00:00
Honza Bambas 97684579f8 Bug 1610371 - Test, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D62584

--HG--
extra : moz-landing-system : lando
2020-02-12 19:29:39 +00:00
Honza Bambas 17c1c7024a Bug 1610371 - Use ChannelURIPrincipal instead of ChannelResultPrincipal for first-party-storage allowance decision, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D62424

--HG--
extra : moz-landing-system : lando
2020-02-12 19:30:21 +00:00
Christian Holler 782c1333ca Bug 1612711 - Update TSan suppressions for Mochitests/XPCShell tests. r=froydnj
Depends on D62628

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

--HG--
extra : moz-landing-system : lando
2020-02-12 19:15:16 +00:00