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
This commit is contained in:
Andreas Tolfsen 2019-04-25 18:27:05 +00:00
parent db7bfb0117
commit 09e148f159

View File

@ -6,6 +6,7 @@ support-files =
head.js
[browser_cdp.js]
skip-if = debug # bug 1546945
[browser_main_target.js]
[browser_tabs.js]
[browser_target.js]