Commit Graph

615854 Commits

Author SHA1 Message Date
Andrew Osmond
4f2d97a823 Bug 1492930 - Part 5. Integrate extra shared surface memory reporting with gfx. r=nical
This patch enables the compositor process memory reporting for both the
dedicated GPU process case, and the integrated with the main process
case. This will simply cause us to list all of the entries in the shared
surfaces cache to show what is presently mapped in.
2018-09-25 09:13:51 -04:00
Andrew Osmond
d70925f00b Bug 1492930 - Part 4. Add ImageMemoryReporter to support extra shared surfaces reporting. r=tnikkel
By delegating responsibility for shared surfaces reporting to imagelib,
we can cross reference the GPU shared surfaces cache with the local
surface cache in a content process (or the main process). This will
allow us to identify entries that are in the GPU cache but not in the
content/main process cache, and aid in debugging memory leaks. This
functionality is pref'd off by default behind image.mem.debug-reporting.

Additionally, we want to report every entry that was mapped into the
compositor process, in the compositor process memory report. This will
give us a sense of how much of our resident memory is consumed by mapped
images in absence of the more detailed cross referencing above.
2018-09-25 09:13:51 -04:00
Andrew Osmond
b6cb944219 Bug 1492930 - Part 3. Expose all frames to image memory reporting. r=tnikkel
At present, surface providers roll up all of their individual surfaces
into a single reporting unit. Specifically this means animated image
frames are all reported as a block. This patch removes that
consolidation and reports every frame as its own SurfaceMemoryReport.
This is important because each frame may have its own external image ID,
and we want to cross reference that with what we expect from the GPU
shared surfaces cache.
2018-09-25 09:13:51 -04:00
Andrew Osmond
64e9e7e583 Bug 1492930 - Part 2. Expose the external image ID for surfaces' memory reporting. r=nical 2018-09-25 09:13:51 -04:00
Andrew Osmond
3aedcdc649 Bug 1492930 - Part 1. Expose composition of shared surfaces cache to allow memory reporting. r=nical
This exposes methods to capture a snapshot of the SharedSurfacesParent
cache for memory reporting purposes. It yields the identifiers, image
properties and references to images mapped in the cache. This will be
used by the compositor process to list everything it has mapped into its
memory space. It will also be used by the content processes / main
process to list images that specific process had mapped into the
compositor process. This will allow us to easily identify what images
remain in the compositor process, but are missing from the surface
cache.
2018-09-25 09:13:51 -04:00
Marco Castelluccio
3a6e26fa6a Bug 1492159 - Use grcov toolchain task in test tasks for Linux, Mac and Android. r=ahal
--HG--
extra : rebase_source : 8cb333bb89d0e3f35b108d4360a24d935cb153a2
2018-09-20 16:03:42 +02:00
Marco Castelluccio
047574b0bd Bug 1492159 - Build Linux and Mac grcov in a toolchain task. r=ahal
--HG--
extra : rebase_source : 922e19f9d2a77fd3dec33c84f3c675ed37ece6b7
2018-09-21 10:56:47 +02:00
Masatoshi Kimura
ff97c2e495 Bug 1493415 - Re-enable warnings as errors on clang-cl in toolkit/system/windowsDHCPClient/tests/gtest/. r=bagder
--HG--
extra : source : 32ea697443f1572c9ffa3a04d3182cbfb5cc2aec
extra : intermediate-source : 7f437912070c106e3dc5a50ab23139e0c45e46e4
2018-09-22 20:34:27 +09:00
Karl Tomlinson
b4ae5484b7 Bug 1492014 add AudioWorkletImpl/PaintWorkletImpl subclasses r=baku
This will be useful for AudioWorklet-specific storage and behavior.

PaintWorkletImpl is in layout/style, because it will be referenced
from CSS.cpp in the same directory.

Depends on D6108

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

--HG--
extra : moz-landing-system : lando
2018-09-20 11:34:01 +00:00
Alexandre Poirot
816dd96825 Bug 1490927 - Stop sharing maps in NetworkMonitor between all instances. r=Honza
When opening a web console and a browser console, we instantiate two NetworkMonitor
instances in the same process and they need independant states.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 23:26:05 +00:00
Gregory Mierzwinski
45b9ce1515 Bug 1493021 - Prevent test-coverage from running on non code coverage builds. r=jmaher
This patch prevents the test-coverage task from running on builds that are not related to code coverage.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:10:15 +00:00
Julian Descottes
17903b38b8 Bug 1492863 - Fix react warnings in aboutdebugging-new;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6400

--HG--
extra : moz-landing-system : lando
2018-09-25 11:04:58 +00:00
Andi-Bogdan Postelnicu
8648acbeb0 Bug 1493922 - [Static-Analysis][Clang-Tidy] Add more return codes to mach static-analysis autotest. r=janx
Differential Revision: https://phabricator.services.mozilla.com/D6759

--HG--
extra : moz-landing-system : lando
2018-09-25 12:37:45 +00:00
Martin Stransky
89822d9f40 Bug 1493145 - [CSD] Enable round corners by default by -moz-gtk-csd-transparent-background media query, r=dao
Replace mozilla.widget.use-argb-visuals pref by -moz-gtk-csd-transparent-background media query at browser.css
to draw transparent background. The media query is set by toolkit code and enabled when compatible
window manager is detected.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 11:53:04 +00:00
Jared Wein
b83ae8cfed Bug 1482385 - Check if tooltipNode is non-null before dereferencing it. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D6708

--HG--
extra : moz-landing-system : lando
2018-09-24 23:14:10 +00:00
Bryce Van Dyk
5e078a0d98 Bug 1491889 - Update ChromiumCDMChild to hold a promise to track CDM init. r=cpearce
This changeset extends the async initialize functionality added in the prior
changeset by wrapping the Initialize resolver in a promise. This allows us to
use familiar promise machinery to handle async init of the CDM. We do this by
creating the promise and setting up handling when we receive the init message on
the ChromiumCDMChild, but resolving the promise in the `OnInitialized` callback
from the CDM to the ChromiumCDMChild.

We still only support CDM9 as of this changeset. As such, we now manually call
`OnInitialized` to make sure the ChromiumCDMParent is notified that the CDM has
initialized. When we implement the CDM10 interface, these manual calls will be
moved to the CDM9 compat layer, and Widevine CDM10+ can perform its own
callback.

This changeset adds a failure path to initialization, as the `OnInitialized`
interface we implement allows for failure. However, since we manually call into
this path for CDM9 we shouldn't get any such failures. Once CDM10 is fully
implemented its possible that the init callback could indicate failure, and the
handling here would be invoked.

Depends on D6061

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

--HG--
extra : moz-landing-system : lando
2018-09-25 13:33:27 +00:00
Bryce Van Dyk
2b1313aa34 Bug 1491889 - Update chromium CDM interface to accommodate async init. r=cpearce
Starting at the Widevine CDM10 interface, the CDM is expected to make a callback
to an `OnInititalized` function to signal initialization has taken place. Prior
to this, it was sufficient to call the init function on the CDM, with no waiting
for a callback.

This changeset puts in place the IPDL to support async init, as well as the
handling for the ChromiumCDMParent and ChromiumCDMProxy. The code is not fully
updated to handle CDM10, so CDM9 is the only compatible CDM. Because CDM9 does
not perform the init callback, we immediately call our IPDL to signal init has
taken place. This also accommodates the clearkey case, which uses the CDM9
interface.

Further changesets will put in place more elaborate handling to accommodate the
possible failure of init, as well as implementing the handling `OnInitialized`
function explicitly.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 13:33:09 +00:00
James Graham
caad927e35 Bug 1493674 - Fix up test resolver with out of tree manifest r=ahal
mach try fuzzy has some stronger requirements compared to mach test.

Depends on D6673

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

--HG--
extra : moz-landing-system : lando
2018-09-25 09:40:56 +00:00
James Graham
654866c995 Bug 1493674 - Use in-tree metadata rather than relying on links in the objdir r=ato
Differential Revision: https://phabricator.services.mozilla.com/D6673

--HG--
extra : moz-landing-system : lando
2018-09-25 12:03:34 +00:00
Mark Banner
295ddc689d Bug 1493967 - Add devtools webconsole's automatically generated stub files to the ESLint ignore list. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D6775

--HG--
extra : moz-landing-system : lando
2018-09-25 14:16:52 +00:00
Alexandre Poirot
e008acf411 Bug 1473513 - Backed out changeset 0e431edddacd for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 1BlQk4H0c1w

Depends on D6812

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6813
2018-09-25 19:35:14 +03:00
Alexandre Poirot
18a737b18d Bug 1473513 - Backed out changeset 27419719402e for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 43tUMmC1Je0

Depends on D6811

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6812
2018-09-25 19:35:00 +03:00
Alexandre Poirot
3695cdf575 Bug 1473513 - Backed out changeset 6fc241b06e0b for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 6dCPXvBYhsJ

Depends on D6810

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6811
2018-09-25 19:34:52 +03:00
Alexandre Poirot
67f96eff34 Bug 1473513 - Backed out changeset e56c70bd2f9a for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 9FIL35Nq726

Depends on D6809

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6810
2018-09-25 19:34:43 +03:00
Alexandre Poirot
bb3ecc7ca4 Bug 1473513 - Backed out changeset c690d2383ca4 for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: KSgxXnGdsJk

Depends on D6808

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6809
2018-09-25 19:34:35 +03:00
Alexandre Poirot
1255c658b2 Bug 1473513 - Backed out changeset d72f6ff37ca6 for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: LKPmFrhaQ5q

Depends on D6807

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6808
2018-09-25 19:34:26 +03:00
Alexandre Poirot
40272ff560 Bug 1473513 - Backed out changeset f9f12b44a3ab for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 8POm9seFrAk

Depends on D6806

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6807
2018-09-25 19:34:18 +03:00
Alexandre Poirot
58167747ab Bug 1473513 - Backed out changeset db43912632fb for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: DbUwQ0NQZcE

Depends on D6805

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6806
2018-09-25 19:34:09 +03:00
Alexandre Poirot
e73ec8adf4 Bug 1473513 - Backed out changeset 80c51a6e896e for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 3TCiKetO6fn

Depends on D6804

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6805
2018-09-25 19:34:01 +03:00
Alexandre Poirot
a3c7499a55 Bug 1473513 - Backed out changeset 174fe98999ea for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: GfSX2wYfLrN

Depends on D6803

Bug #: 1473513

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

--HG--
rename : devtools/server/actors/utils/actor-registry.js => devtools/server/actor-registry.js
2018-09-25 19:33:52 +03:00
Alexandre Poirot
8dac98409f Bug 1473513 - Backed out changeset 950ce58bfb24 for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary: MozReview-Commit-ID: 1HAisV9S6ls

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6803
2018-09-25 19:33:43 +03:00
Alexandre Poirot
62fca91459 Bug 1473513 - Fix merge conflict between bug 1473513 and 1485676 against this test. CLOSED TREE
Summary: MozReview-Commit-ID: KyizI0V5pt5

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6778
2018-09-25 17:24:00 +03:00
Tim Nguyen
47911ab0e8 Bug 1493776 - Update dark theme sidebar background and border color to match specification. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D6693

--HG--
extra : moz-landing-system : lando
2018-09-25 10:30:11 +00:00
Paul Adenot
cc3d47676e Bug 1481152 - Restrict to a single input stream per process on Linux, when using PulseAudio and audio remoting is enabled. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D5543

--HG--
extra : moz-landing-system : lando
2018-09-25 10:04:44 +00:00
Alexandre Poirot
e490a53de2 Bug 1492826 - Better document TabTarget.attach as well as DebuggerClient.attachTarget and attachConsole. r=jdescottes
Depends On D6162

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

--HG--
extra : moz-landing-system : lando
2018-09-24 16:24:07 +00:00
Alex Chronopoulos
f4abf7b8cc Bug 1479840 - Test that enumerateDevices promse remains peding when window navigates away. r=jib
Create a new mochitest that suspends enumerateDevice(). This can happen when the current window navigates away. This is achieved by using an iframe to enumerate devices and clearing the iframe window before the promise is resolved.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 10:18:25 +00:00
Marcos Cáceres
04d3d9b0ed Bug 1493070 - file test_payerDetails.html requests long timeout. r=edenchuang
file test_payerDetails.html requests long timeout. r=edenchuang

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

--HG--
extra : moz-landing-system : lando
2018-09-25 10:21:46 +00:00
Yulia Startsev
9333ba9fec Bug 1473513 - fix faulty path in unit tests. r=fix. CLOSED TREE
--HG--
extra : histedit_source : 8819c914985f6702bc205bc046c142f436568be6
2018-09-25 14:18:36 +03:00
Margareta Eliza Balazs
5ad86cabda Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-25 12:50:02 +03:00
yulia
04d870f203 Bug 1473513 - move ActorRegistry module to server/actors/utils; r=ochameau
Depends on D6477

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

--HG--
rename : devtools/server/actor-registry.js => devtools/server/actors/utils/actor-registry.js
extra : moz-landing-system : lando
2018-09-25 08:47:10 +00:00
yulia
19b4e8fbe6 Bug 1473513 - resolve memory leak r=ochameau
Depends on D6476

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:06:25 +00:00
yulia
a0882d24f7 Bug 1473513 - reduce number of poolFor calls; r=ochameau
MozReview-Commit-ID: 9VqKPauAP9j

Depends on D6475

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:06:17 +00:00
yulia
1ad50b5afe Bug 1473513 - refactor main.js to use protocol.js pools; r=ochameau
MozReview-Commit-ID: FNMK4f553yI

Depends on D6474

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:05:47 +00:00
yulia
e857119004 Bug 1473513 - separate registerModule behavior from DebuggerServer; r=ochameau
MozReview-Commit-ID: 3GsXRxcIKfx

Depends on D6473

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

--HG--
rename : devtools/server/main.js => devtools/server/actor-registry.js
extra : moz-landing-system : lando
2018-09-25 08:05:29 +00:00
yulia
08c887b837 Bug 1473513 - Ensure that actorPools in root are destroyed on destroy; r=ochameau
Depends on D6472

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:04:59 +00:00
yulia
54d3f62aa0 Bug 1473513 - remove other instances of ActorPool from browsingContext and root; r=ochameau
MozReview-Commit-ID: GxkLzvxJgdY

Depends on D6471

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:04:41 +00:00
yulia
de5a5707d6 Bug 1473513 - make log function safer so that tests do not time out; r=ochameau
MozReview-Commit-ID: BIk5pWzxJcx

Depends on D6470

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:04:22 +00:00
yulia
1cea42cdd7 Bug 1473513 - create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor; r=ochameau
create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor;

Depends on D6468

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

--HG--
rename : devtools/server/actors/common.js => devtools/shared/protocol/lazy-pool.js
extra : moz-landing-system : lando
2018-09-25 08:03:42 +00:00
yulia
56e91adaa1 Bug 1473513 - use Protocol.js pools for workerTargetActorPool in Target Actors; r=ochameau
MozReview-Commit-ID: 5uIWwOR7CHp

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:02:11 +00:00
Masatoshi Kimura
209fbc21cd Bug 1493414 - Re-enable warnings as errors on clang-cl in toolkit/xre/. r=froydnj
_CrtSetReportXxxx stuff is dead decause we do not use debug CRT even in debug
builds for a long time. So I removed it to fix -Wunused-function.

--HG--
extra : source : ba00278fc1deee805e7ed13d0dc0658dee13465c
extra : intermediate-source : 5ffdd1f9f2562f9915f3c8805218fa33a908be20
2018-09-18 22:04:28 +09:00