gecko-dev/remote
Andreas Tolfsen 09e148f159 bug 1546945: remote: disable browser_cdp.js browser-chrome test on debug; r=ochameau
As detailed in https://bugzilla.mozilla.org/show_bug.cgi?id=1546945,
there is a memory leak in the remote agent that is triggered by
code paths in the remote/test/browser/browser_cdp.js browser-chrome test.

It is possible the memory leak is related to holding onto a reference
of the XPConnect C++ object nsSocketTransportService, but this has
yet to be confirmed.

This patch disables the test in question on debug builds, where
we run reference counting leakchecks, in order to get the remote
agent enabled in default Firefox Nightly builds.

Thanks-to: Alexandre Poirot <poirot.alex@gmail.com>

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:27:05 +00:00
..
doc bug 1546935: remote: reflect that remote agent is disabled in usage docs; r=me a=doc 2019-04-25 12:01:12 +01:00
domains bug 1546714: remote: map Remote Protocol :: {DOM, Input} bug components; r=ochameau 2019-04-25 14:27:15 +00:00
pref bug 1533831: remote: disable remote agent; r=ochameau 2019-04-24 17:18:37 +00:00
server bug 1543679: remote: remove unused server files; r=ochameau,yulia 2019-04-15 14:06:25 +00:00
sessions bug 1537775: remote: clarify method/domain/command terminology; r=ochameau 2019-04-04 11:35:24 +00:00
targets Bug 1539221 - Register main process target on server start. r=ato 2019-04-04 11:16:27 +00:00
test bug 1546945: remote: disable browser_cdp.js browser-chrome test on debug; r=ochameau 2019-04-25 18:27:05 +00:00
command-line-handler.js bug 1533831: remote: disable remote agent; r=ochameau 2019-04-24 17:18:37 +00:00
Connection.jsm Bug 1536794 - Close httpd's Connection when closing the remote agent's server. r=ato 2019-03-21 14:17:36 +00:00
Error.jsm bug 1546722: remote: print better errors in browser chrome tests; r=yulia 2019-04-25 15:16:46 +00:00
jar.mn bug 1546714: remote: map Remote Protocol :: {DOM, Input} bug components; r=ochameau 2019-04-25 14:27:15 +00:00
JSONHandler.jsm Bug 1533679 - Implement /json/version. r=ato 2019-03-10 12:51:49 +00:00
Log.jsm bug 1543676: remote: avoid Preferences.jsm before first paint; r=yulia 2019-04-15 14:41:21 +00:00
moz.build bug 1546714: remote: map Remote Protocol :: {DOM, Input} bug components; r=ochameau 2019-04-25 14:27:15 +00:00
Observer.jsm bug 1523104: remote: fix eslint by removing unecessary commas; r=ato 2019-03-08 16:26:36 +00:00
Protocol.jsm bug 1523104: remote: drop protocol schema validation; r=ochameau 2019-03-08 16:27:07 +00:00
README bug 1533831: remote: include remote agent in default build; r=firefox-build-system-reviewers,chmanchester 2019-04-24 17:18:22 +00:00
RecommendedPreferences.jsm bug 1523104: remote: rename Prefs.jsm to match its exported symbol; r=ato 2019-03-08 16:27:38 +00:00
RemoteAgent.jsm Bug 1539221 - Register main process target on server start. r=ato 2019-04-04 11:16:27 +00:00
RemoteAgent.manifest Bug 1536888 - Move the remote agent to a JSM. r=ato 2019-03-22 09:46:50 +00:00
Sync.jsm Bug 1539221 - Fix DOMContentLoadedPromise when the document is in a state between DOMContentLoaded and load event. r=ato 2019-04-04 11:16:25 +00:00
WindowManager.jsm Bug 1533682 - Implements more Target/Page methods/events to support puppeteer's browser.newPage. r=ato 2019-03-11 12:50:26 +00:00

The Firefox remote agent is a low-level debugging interface based
on the CDP protocol.

With it, you can inspect the state and control execution of documents
running in web content, instrument Gecko in interesting ways,
simulate user interaction for automation purposes, and debug
JavaScript execution.

This component provides an experimental and partial implementation
of a remote devtools interface using the CDP protocol and transport
layer.

See https://firefox-source-docs.mozilla.org/remote/ for documentation.

The remote agent is disabled by default, but can be enabled by
setting a preference before running it:

	% ./mach run --setpref "remote.enabled=true" --remote-debugger