gecko-dev/dom/xhr
Andrew McCreight d755ee2dc7 Bug 1588618 - Make browser_xhr_onchange_leak.js Fission-compatible. r=smaug
The way this test works is, it loads a page, then it navigates to
another page and exits. The mochitest browser-chrome leak detector
will report a leak if the first page isn't freed by the end of the
test.

To make this Fission-compatible, I first changed the page we navigate
to to be same-origin. This means that we won't tear down the original
process immediately when we navigate, which will break the various
test harness stuff.

Secondly, I enable the dom.ipc.keepProcessesAlive.webIsolated
preference, which means that the content process won't be torn down
immediately. If this pref is not set, then the usual process reuse
ends up destroying the window before the test ends, whether or not it
leaks.

I verified that this test fails when the patch from bug 1336811 is
backed out, both with and without Fission.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 23:14:19 +00:00
..
tests Bug 1588618 - Make browser_xhr_onchange_leak.js Fission-compatible. r=smaug 2019-11-06 23:14:19 +00:00
XMLHttpRequest.cpp
XMLHttpRequest.h
XMLHttpRequestEventTarget.cpp
XMLHttpRequestEventTarget.h
XMLHttpRequestMainThread.cpp bug 1550686 - remove nsIBadCertListener2 r=dragana,smaug 2019-11-06 00:19:14 +00:00
XMLHttpRequestMainThread.h Bug 1591579 - Retrieve the XHR response values only when needed, r=smaug 2019-11-04 17:46:23 +00:00
XMLHttpRequestString.cpp
XMLHttpRequestString.h
XMLHttpRequestUpload.cpp
XMLHttpRequestUpload.h
XMLHttpRequestWorker.cpp Bug 1591579 - Move ResponseData JS objects and Blob from XMLHttpRequestWorker::ResponseData to XMLHttpRequestWorker, r=smaug 2019-11-04 17:46:23 +00:00
XMLHttpRequestWorker.h Bug 1591579 - Move ResponseData JS objects and Blob from XMLHttpRequestWorker::ResponseData to XMLHttpRequestWorker, r=smaug 2019-11-04 17:46:23 +00:00
moz.build